WiFiClient.ino
Posted: Sun Feb 05, 2017 3:57 am
Hi,
I have had similar issues with thingspeak.
With the sparkfun example, I connect once successfully, then cannot connect.
Debug Output:
My own firewall on the access point does not have any rules.
Could my service provider be filtering my traffic?
Other ideas?
Many thanks,
Nic
I have had similar issues with thingspeak.
With the sparkfun example, I connect once successfully, then cannot connect.
Debug Output:
Code: Select all
Connecting to Virgin Mobile 4G_38AB4B
.....
WiFi connected
IP address:
192.168.0.134
connecting to data.sparkfun.com
Requesting URL: /input/MGXg6JxO47cj1OKAJoZr?private_key=xxx&rh=1&apssid=IOT123+tu-gro+133&temp=85.4&z1lighton=true&z2lighton=false&z1soilmoisture=50&z2soilmoisture=50&z1waterdoses=1&z2waterdoses=1
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET,POST,DELETE
Access-Control-Allow-Headers: X-Requested-With, Phant-Private-Key
Content-Type: text/plain
X-Rate-Limit-Limit: 300
X-Rate-Limit-Remaining: 298
X-Rate-Limit-Reset: 1486283571.346
Date: Sun, 05 Feb 2017 08:24:20 GMT
Connection: close
Transfer-Encoding: chunked
Set-Cookie: SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
Cache-control: private
a
1 success
0
// I changed the delay in loop() to 1 minute.
closing connection
connecting to data.sparkfun.com
connection failed
connecting to data.sparkfun.com
connection failed
connecting to data.sparkfun.com
connection failed
connecting to data.sparkfun.com
connection failed
connecting to data.sparkfun.com
My own firewall on the access point does not have any rules.
Could my service provider be filtering my traffic?
Other ideas?
Many thanks,
Nic