Timed out while authenticating with server
See original GitHub issueHello,
Very Rarely, I come across the error “Timed out while authenticating with server”. Is there a way to handle this error gracefully? Connection event imap.once('error', function(err) {})
does not help. I am on node 0.8.27 with node-imap 0.8.14. Error details are below.
Error: Timed out while authenticating with server
at Object._onTimeout (/app/node_modules/imap/lib/Connection.js:137:17)
at Timer.list.ontimeout (timers.js:101:19)
Issue Analytics
- State:
- Created 9 years ago
- Comments:25 (14 by maintainers)
Top Results From Across the Web
TimeOut Error while authenticating with server using node ...
I read somwhere, that TimeOut for authenticating with server is default 5s, but I don't how it is related in connectiong with Google...
Read more >Timed out-IMAP Email - Questions - n8n community
Hi Team, I got the error “Timed out while connecting to server” ... The authentication timeout is set to 20 seconds (defaults is...
Read more >Session has timed out response when authenticating to AM ...
The purpose of this article is to provide assistance if you receive a "Session has timed out" response when authenticating to AM.
Read more >The connection to your mail server timed out error in Outlook ...
Outlook can't connect to a server by an RPC or HTTPS connection - Outlook. Describes an issue where you receive a There is...
Read more >"authentication error while connecting to server" imap.gmail.com
Authentication error while connecting to gmail and connection to imap.gmail.com timed out... 4 replies; 1 has this problem; 131 views ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I am getting same error:
Error: Timed out while authenticating with server
at Object._onTimeout (/app/node_modules/imap/lib/Connection.js:137:17)
at Timer.list.ontimeout (timers.js:101:19)
If you’re re-using the same
imap
instance like that, you need to changeimap.once('error', ...)
toimap.on('error', ...)
because otherwise. Same withimap.once('ready', ...)
.However if you are seeing a
ready
event and it’s not authenticated, that’s a bug.