Rest client throw timeout exception

Posted by shandu on Server Fault See other posts from Server Fault or by shandu
Published on 2011-01-17T13:00:24Z Indexed on 2011/01/17 13:54 UTC
Read the original article Hit count: 265

Filed under:
|

Hi,

I have create REST client in C# using example on this page: http://msdn.microsoft.com/en-us/library/aa395208(v=vs.90).aspx. Server is built in PHP.

When I send request to some urls I have this exception:

The request channel timed out while waiting for a reply after 00:00:59.9531250. 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.

But, sometimes, when I debug code, I get response.

How to solve this?

© Server Fault or respective owner

Rest client throw timeout exception

Posted by shandu on Super User See other posts from Super User or by shandu
Published on 2011-01-17T13:20:17Z Indexed on 2011/01/17 13:55 UTC
Read the original article Hit count: 265

Filed under:

Hi,

I have create REST client in C# using example on this page: http://msdn.microsoft.com/en-us/library/aa395208(v=vs.90).aspx. Server is built in PHP.

When I send request to some urls I have this exception:

The request channel timed out while waiting for a reply after 00:00:59.9531250. 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.

But, sometimes, when I debug code, I get response.

How to solve this?

© Super User or respective owner

Related posts about c#

Related posts about rest