Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

HttpWebRequest GetResponse Error


  • Please log in to reply
22 replies to this topic

#21 whitecap

whitecap

    Member

  • Members
  • PipPip
  • 11 posts

Posted 13 August 2014 - 11:27 PM

Is there any way to use the netmf_toolbox_http_client with a timeout (like httpWebRequest)? If the site does not respond the client appears to wait indefinitely.  

 

Thanks

Mike



#22 siqueira_jean

siqueira_jean

    New Member

  • Members
  • Pip
  • 6 posts

Posted 26 August 2014 - 01:28 PM

In search of a solution to this problem could check two things that can be helpful.

 

The first:

 

Was found that in my query "(HttpWebResponse) request.GetResponse ();" the server where I was staying did not provide support for socket. But with the url "www.google.com.br" the error did not appear.

 

The second:

 

Established a timeout the request and normalize it. So far in my testing the error was not generated again.

 

Hope this can help. And I appreciate the assistance I got here.



#23 jur

jur

    New Member

  • Members
  • Pip
  • 4 posts

Posted 22 September 2014 - 06:33 PM

I would also join to whitecap's question:

Is there any way to use the netmf_toolbox_http_client with a timeout (like httpWebRequest)? If the site does not respond the client appears to wait indefinitely.  

 

Thanks

 

JUR






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.