Answer the question
In order to leave comments, you need to log in
Telegram bot crashes with FetchError: request to url: connect ETIMEDOUT, what's the problem?
Bot crashes with an error
FetchError: request to https://domain.ru/api/get/token failed, reason: connect ETIMEDOUT here IP(Cloudflare):443
at ClientRequest. (/home/user/bot/node_modules/node-fetch/lib/index.js:1461:11)
at ClientRequest.emit (events.js:315:20)
at TLSSocket.socketErrorListener (_http_client.js:426:9)
at TLSSocket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/ task_queues.js:84:21) {
type: 'system',
errno: 'ETIMEDOUT',
code: 'ETIMEDOUT'
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question