When I try to use the node Microsoft Outlook I’ve got this issue :
{“code”:0,“message”:“Unable to connect to login.microsoftonline.com:443”,“hint”:“”,“stack”:“ConnectionError: Unable to connect to login.microsoftonline.com:443\n at TLSSocket.onError (/usr/local/lib/node_modules/n8n/node_modules/popsicle-transport-http/dist/index.js:627:35)\n at Object.onceWrapper (node:events:642:26)\n at TLSSocket.emit (node:events:539:35)\n at TLSSocket.emit (node:domain:475:12)\n at emitErrorNT (node:internal/streams/destroy:157:8)\n at emitErrorCloseNT (node:internal/streams/destroy:122:3)\n at processTicksAndRejections (node:internal/process/task_queues:83:21)”}
I use NGINX in front of n8n and I’ve got this error :
I’ve got this issue during the callback part of the authentication; Maybe I’ve miss something in my NGINX conf to allow this callback but I don’t know what it could be. My organisation use it’s own CA Authority maybe the problem comes from by point ?
After some invest I think the problem is that the node don’t use my company proxy.
In my env I’ve set up http_proxy and https_proxy but the node seems to not use them :
Hey @Kent1, I don’t think we currently have plans to implement proxy support for OAuth2 token requests specifically and unfortunately I can’t think of a great workaround for this one I am afraid
I’ll convert this question into a feature request for now which means you and other users will be able to vote on having this implemented going forward.
Does anyone can help me to connect to O365 Outlook via a proxy please ?
I can make HTTP request or whatever I just need to access to a mailbox via Graph API