- Netduino Forums
- → Viewing Profile: Posts: DracoRSA
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.
Community Stats
- Group Members
- Active Posts 9
- Profile Views 5498
- Member Title New Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
Posts I've Made
In Topic: Web Request Error
30 March 2011 - 09:02 AM
Chris,
Attached is a small test application I created that will simulate the problem. The URL it is connecting to is my test environment and you can test again against it as well.
Thank you for your help
Johan
In Topic: Web Request Error
24 March 2011 - 07:09 PM
Chris,
Thanks for the response
1. I have used both Versions 4.1.0.6 and Version 4.1.1 Alpha 7 with the same results
2. I can take the same URL and paste it into a browser and it will work every time I post it to the hosted web page without any errors.
The problem seems to be intermittant and totally random. The fact is though that it will fail 95% of the time. It will work once and then not for quite a few times, then it will work for another 4 times and then start to fail again.
In Topic: Web Request Error
24 March 2011 - 08:59 AM
An update on this issue:
I have managed to connect to the server, but the connectivity is very intermittant and very unreliable ... I manage to connect once and then the connections will fail quite a few times with the error below. It will work once more and then fail again ...
I also had to change the way the QueryString is sent. The moment I add a second parameter with an ampersand (&) it fails every time ... I now add one parameter and then split the parameter into the different actual parameters I wanted to send.
Here is the error being generated:
Connecting to server ...
Sending reading to the server ...
Device Network Address: 192.168.0.108
Server URI: "http://192.168.0.133...robeReading=20"
#### Exception System.Net.Sockets.SocketException - CLR_E_FAIL (1) ####
#### Message:
#### Microsoft.SPOT.Net.SocketNative::recv [IP: 0000] ####
#### System.Net.Sockets.Socket::Receive [IP: 0018] ####
#### System.Net.Sockets.NetworkStream::Read [IP: 0062] ####
#### System.Net.InputNetworkStreamWrapper::RefillInternalBuffer [IP: 0038] ####
#### System.Net.InputNetworkStreamWrapper::Read_HTTP_Line [IP: 004b] ####
#### System.Net.HttpWebRequest::ParseHTTPResponse [IP: 002e] ####
#### System.Net.HttpWebRequest::GetResponse [IP: 0035] ####
#### CSIR.WaterMonitoring.Netduino.WMServerComms::SendReading [IP: 00d9] ####
#### CSIR.WaterMonitoring.Netduino.WMProbeData::UpdateReading [IP: 0035] ####
#### CSIR.WaterMonitoring.Netduino.WMStart::Main [IP: 0120] ####
#### SocketException ErrorCode = -1728053248
#### Exception System.Net.WebException - 0x00000000 (1) ####
#### Message:
#### System.Net.HttpWebRequest::GetResponse [IP: 00c8] ####
#### CSIR.WaterMonitoring.Netduino.WMServerComms::SendReading [IP: 00d9] ####
#### CSIR.WaterMonitoring.Netduino.WMProbeData::UpdateReading [IP: 0035] ####
#### CSIR.WaterMonitoring.Netduino.WMStart::Main [IP: 0120] ####
[WMServerComms.SendReading] System.Net.WebException
In Topic: Web Request Error
23 March 2011 - 10:01 AM
I see DNS mentioned in the errors above. Have you tried using the IP address of DEVSERVER to rule out DNS issues? DNS should work from the Netduino if configured correctly (using MFDeploy I think) but that should rule it out.
I have used both the DNS resolved name as well as the IP Address with the same result.
In Topic: Analog Read
27 January 2011 - 07:15 AM
Could you post a link to the specific sensor?
The product information can be found at Hanna Instruments
http://www.hannainst...8931A&id=017006
- Netduino Forums
- → Viewing Profile: Posts: DracoRSA
- Privacy Policy