WCF service timeout over internet

263 Views Asked by At

When consuming WCF in a local environment, everything is working just fine.

But when consuming WCF hosted on some external location (Azure etc.), for request process that lasts longer than 1 minute, I get the error:

System.TimeoutException: 'The request channel timed out while waiting for a reply after 01:01:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.'

WebException: The remote server returned an error: (504) Gateway Timeout.

This error is showing after 1 minute, not after 1 hour as it says.

The service is using wsHttpBinding.

Any idea what could be a problem here?

0

There are 0 best solutions below