Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

office-365-authentication not working and getting error for GetCookies() #199

Open
rahul111985 opened this issue Dec 28, 2022 · 1 comment

Comments

@rahul111985
Copy link

Hello Team,

Getting error when I tried to use below code.
authcookie = Office365('https://mycomapy.sharepoint.com', username='[email protected]', password='mypassword').GetCookies()

I am getting below error when executing above code. Kindly suggest solution. Thanks

Message=Shareplum HTTP Post Failed : HTTPSConnectionPool(host='login.microsoftonline.com', port=443): Max retries exceeded with url: /extSTS.srf (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:997)')))

StackTrace:

During handling of the above exception, another exception occurred:

During handling of the above exception, another exception occurred:

During handling of the above exception, another exception occurred:

@Dilson1502
Copy link

Hi rahul, did you fix that? i am facing the same issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants