WCF service throwing authentication error on 1 server
We have a WCF Service thats deployed on 4 servers with load balancer. Out of this 4, 1 of the server if its online throws below error.
The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was ''
If that server is removed, rest 3 work fine but just 1 server has this issue. Considering that the file and config is the same on all 4 servers, the only difference will be server or IIS setup.
Does anyone have any idea what could be the possible reason for this?
Its basicHttpBinding with Server config:
<security mode="Transport"> <transport clientCredentialType="None" proxyCredentialType="None"/> </security>
<security mode="Transport"> <transport clientCredentialType="None" proxyCredentialType="None" realm="" /> <message clientCredentialType="UserName" algorithmSuite="Default" /> </security>
The specific authentication support depends on your project authentication mode. https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831496(v=ws.11)#Impersonation
Feel free to let me know if there is anything I can help with.