ECONNABORTED Timeout Error in Typesense Import
TLDR Babin encountered a timeout error while importing items. Kishore Nallan suggested increasing the client timeout.

Apr 11, 2023 (5 months ago)
Babin
08:59 PMAnybody encountered 🔴 ECONNABORTED timeout of 5000ms exceeded 🔴
ERROR Error: timeout of 5000ms exceeded
at createError (/opt/nodejs/node_modules/typesense/node_modules/axios/lib/core/createError.js:16:15)
at RedirectableRequest.handleRequestTimeout (/opt/nodejs/node_modules/typesense/node_modules/axios/lib/adapters/http.js:369:16)
at RedirectableRequest.emit (node:events:513:28)
at Timeout.<anonymous> (/opt/nodejs/node_modules/follow-redirects/index.js:169:12)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7) {
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [Function: httpAdapter],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function (anonymous)] ],
timeout: 5000,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: Infinity,
maxBodyLength: Infinity,
validateStatus: [Function: validateStatus],
headers: {
Accept: 'application/json, text/plain, */*',
'Content-Type': 'text/plain',
'X-TYPESENSE-API-KEY': 'GK8FgBQGPZ8HGu7wCQAZ2pJZ0qwZvmQC',
'User-Agent': 'axios/0.26.1',
'Content-Length': 1206199
},
method: 'post',
url: '',
params: { action: 'upsert' }
Apr 12, 2023 (5 months ago)
Kishore Nallan
02:18 AMBabin
02:19 AMKishore Nallan
02:25 AMBabin
02:34 AM
Typesense
Indexed 2764 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.

Debugging "ECONNABORTED Timeout" Issue in Typesense Configuration
GM encountered an "ECONNABORTED timeout" error using their company account with their typesense configuration. Jason is assisting in troubleshooting, suspecting that environment variables might not be set correctly.


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.

