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

the specified credentials were rejected by the server #347

Open
wedsall opened this issue May 18, 2022 · 0 comments
Open

the specified credentials were rejected by the server #347

wedsall opened this issue May 18, 2022 · 0 comments

Comments

@wedsall
Copy link

wedsall commented May 18, 2022

Hi,
Just looking for a place to share a potential fix for the error: the specified credentials were rejected by the server. If your account is properly set as administrator but nothing seems to make sense, this may be the fix for you..

In my case, this error happened due to DNS mismatching. If your server (testserver for example) from itself resolves to testserver.domain.com, but the system which you use pywinrm resolves testserver to testserver.something.else, this is a problem.

One fix is to hack your hostfile on the pywinrm hosting server so that testserver resolution matches in both locations.

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

1 participant