When i call wcf service locally, it works fine.
when i call my wcf service hositing it on IIS i get error 502. It happens exactly after 90 secs. So i thing it is some timeout issue...
I tried to change following setting on IIS on mywebsite and default website settings.
In website - connectiontimeout - set to 600 instead of 120
in application pool Ping maximum respond time - 600 instead of 90, ShoutDownTimeLimit = 600 instead of 90 and start uptime limit, instead of 90
I consume WCF through win 8 app client, setting are following:
client.Endpoint.Binding.ReceiveTimeout = new TimeSpan(0, 3, 0);
client.Endpoint.Binding.CloseTimeout = new TimeSpan(0, 3, 0);
client.Endpoint.Binding.OpenTimeout = new TimeSpan(0, 3, 0);
client.Endpoint.Binding.SendTimeout = new TimeSpan(1, 0, 0);
As i said, it works locally
WCF works through http
What else it can be?