Rest client throw timeout exception

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shandu
    New Member
    • Jan 2011
    • 1

    Rest client throw timeout exception

    Hi,

    I have create REST client in C# using example on this page: http://msdn.microsoft. com/en-us/library/aa395208(v=vs.9 0).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.953125 0. 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?
Working...