Closed claonic closed 1 year ago
The error occurs after the proxy tries to initiate the secure connection to the O365 server (and well before it actually proxies the OAuth 2.0 part). I'd check that you're able to connect to the server directly without issue. Perhaps your Python certificates or SSL configuration are not up-to-date?
Does this help? Seems like a SSL problem, maybe? Could also be a firewall one?
I also did: python3 -m pip install git+https://github.com/certifi/python-certifi
I am not sure what to look for.
What do you see if you run the following script?
import poplib
pop3 = poplib.POP3_SSL('outlook.office365.com', 995)
print(pop3.capa())
pop3.close()
Traceback (most recent call last):
File "test.py", line 2, in
Ok - this is definitely an issue with your Python setup, and not really something I can help with I'm afraid. If you can get that test script working without error the proxy should work too.
Hi,
I configured email-oauth2-proxy on a vm, successfully obtained the token and transferred everything on another vm. On the new machine I get this error:
Do you have any ideea why? I can't figure it out.
Thank you.