-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node-red-node-email unhelpful connect error #1065
Comments
Adding a console.log here yields me this thing:
What the eff is an |
Stack trace by console.logging the
There appears to be a zero seconds timeout somewhere, which cannot be controlled through the Node-RED interface. |
Weird. Logging the
That should be plenty milliseconds for the connect to work. I would like to leave constance of the fact that my e-mail server is not logging any connections from the machine running Node-RED, and that TCP connections work fine:
|
Think I figured it out. My server recently (a few months ago) gained an IPv6 address, but the client machine does not have IPv6 connectivity. For some reason, Node-RED times out connecting to the IPv4 address and still attempts to connect (immediately) to the IPv6 address (perhaps in parallel?). As a result of that, the aggregate error contains two errors:
Please either fix handling of IPv6 (a good fix would be to ensure if either of the two connection modes works, ignore the other error) or provide an option to force only IPv4 or IPv6 here. I think this defect must be on the Thanks. Upstreamed here: mscdex/node-imap#918 |
Which node are you reporting an issue on?
node-red-node-email 2.2.1
What are the steps to reproduce?
Connect to IMAP server, SSL port 993 basic authentication.
What happens?
This used to work fine and now it only gives me "connect error". The error object says this unhelpful thing:
What do you expect to happen?
Get email out as it used to work.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: