Resolving Socket Timeout Exception in Typesense
TLDR Vasudev was getting a timeout error when batching data to Typesense. Kishore Nallan suggested increasing the client timeout, which Vasudev successfully did.
Oct 06, 2022 (12 months ago)
Vasudev
08:01 AMjakarta.ws.rs.ProcessingException: java.net.SocketTimeoutException: Read timed out
Kishore Nallan
08:02 AMVasudev
08:03 AMnodes.add(new Node("http", "localhost", "8081"));
Configuration configuration = new Configuration(nodes, Duration.ofSeconds(2), "ABC");
Duration.ofSeconds(2) is client timeout ?
Kishore Nallan
08:04 AMVasudev
08:04 AMVasudev
08:50 AMTypesense
Indexed 2776 threads (79% resolved)
Similar Threads
Solving Timeout Error with Typesense in Ruby on Rails
Loic was encountering a timeout error while implementing Typesense with Ruby and Rails. Jason advised to increase the client side connection time. Loic confirmed the solution worked.
Troubleshooting SocketTimeoutException Error during Import
Atul was experiencing multiple SocketTimeoutException errors. Jason recommended increasing the client side timeout due to the size of the import.
Troubleshooting Write Timeouts in Typesense with Large CSVs
Agustin had issues with Typesense getting write timeouts while loading large CSV files. Kishore Nallan suggested chunking data or converting to JSONL before loading. Through troubleshooting, they identified a possible network problem at AWS and found a workaround.