.net - WCF client times out but only when using Windows Authentication -


i have client server application uses wcf nettcpbinding. server may told use windows authentication using default security.mode "transport". or may told use "none" means applicaiton uses own internal security

when user starts client application connects server passing user's current credentials. depending on response/exception receives know if (a) server using windows authentication , passed credentials have been accepted (b) server using windows authentication , passed credentials invalid (c) server not using windows authentication

this works on 1 customer installation have problem when client connects server no response received , times out. if windows authentication selected. if not (and internal security selected) works reliably.

the customer has clients , server in different security domains , expected behaviour in instance client call server, server reject credentials , exception returned client. (the client ask users credentials , remake call)

i have enabled wcf tracing on both client , server. on server can see request being received , can see securitynegotiationexception "the server has rejected client credentials." generated.

however client not receive response. instead, after timeout period expires system.timeoutexception "the open operation did not complete within allotted timeout of 00:00:10. time allotted operation may have been portion of longer timeout." generated (i have tried longer timeout no avail).

so reason response not getting client.

i cannot work out how diagnose further. have never seen before , wcf works reliably. issue networks or firewall? can't understand why works if security.mode set none.

it works if client installed on server , not crossing security domains.

i appreciate ideas , assistance

update:

i have done network tracing using netsh , chance in trace session managed catch occasion call worked , occasion call failed (timed out). analysing messages looks 2 tcp messages sent server have not been received client. server thinks have been acknowledged. trying network specialists @ traces


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -