Resharper Teamcity Visual Studio Plugin "Failed to Connect - Failed in all authentication modules"
Completed
Hello,
Last Friday I updated our Teamcity server to use 64bit java because we migrated to using Git and the fetch process was failing because of OutOfMemery errors. That Git fetch error has been resolved, however ever since we have not been able to login using the Visual Studio TeamCity plugin. The error message returned is:
Failed to connect to the server http://<TeamCityServer>/: Login failed in all authentication modules with messages:
There are no messages printed in the error window.
Any help would be greatly appreciated.
Cheers,
Tim
Please sign in to leave a comment.
I have been doing some more investigation and have found this in the teamcity-auth.log:
Is it possible that some component doesn't support 64bit Java?
I had a response through youtrack and they pointed me to this fix: https://youtrack.jetbrains.com/issue/TW-30234?_ga=2.200889002.587786727.1578885557-250081018.1568180641
The resolution is to remove the ntlm.compatibilityMode=true from "C:\ProgramData\Jetbrains\TeamCity\config\ntlm-config.properties".
After this the plugin started working, didn't require any restart of service or server.
Tim
The cause of this problem is using legacy Windows domain authentication mode. Please check if your ntlm-config.properties file contains an obsolete option "ntlm.compatibilityMode=true" and remove it.
View the appropriate comment in an issue https://youtrack.jetbrains.com/issue/TW-30234.