Skip to content
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

Cannot open connection: Auth error. Token request failed. Invalid server response #65

Open
dside99 opened this issue Apr 6, 2022 · 1 comment

Comments

@dside99
Copy link

dside99 commented Apr 6, 2022

Hello, just the fisrt step.

import sharepy
sharepy.connect('sharepoint.example.gr', 'user@example.gr', password='xaaxax')

I also have tried with 'https://sharepoint.example.gr'.
The error message is : "ConnectionError: HTTPSConnectionPool(host='login.microsoftonline.com', port=443): Max retries exceeded with url: /GetUserRealm.srf?login=user@example.gr&xml=1 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fe7803f1940>: Failed to establish a new connection: [Errno -2] Name or service not known'))
"
I tried with different accounts, wrong pass but the issue remain the same.
Any idea?

@JonathanHolvey
Copy link
Owner

'Name or service not known' suggest an issue in DNS resolution for the domain you're using. Are you sure you've typed it correctly, and that you can access it in a web browser?

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

No branches or pull requests

2 participants