https://github.com/esp8266/Arduino/blob/master/libraries/ESP

Everything pertaining to the data.sparkfun.com service, the phant project which powers it, and user projects which talk to the service.

Moderators: phalanx, toddtreece, Brennen@SparkFun

Post Reply
nicu
Posts: 2
Joined: Mon Feb 06, 2017 9:10 pm

https://github.com/esp8266/Arduino/blob/master/libraries/ESP

Post by nicu » Mon Feb 06, 2017 9:19 pm

Hi,

Using the above code, using my usual WiFi I get:

Code: Select all



Connecting to Virgin Mobile 4G_38AB4B
.............
WiFi connected
IP address: 
192.168.0.132
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: 288
X-Rate-Limit-Reset: 1486440206.494
Date: Tue, 07 Feb 2017 03:59:37 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

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
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
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
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
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
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
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
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
connection failed

No as it fails directly after the first successful GET, I I tried my mobile hotspot instead:

Code: Select all

missing...



Connecting to XT1068 5847
....
WiFi connected
IP address: 
192.168.43.11
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: 299
X-Rate-Limit-Reset: 1486437072.963
Date: Tue, 07 Feb 2017 02:56:13 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

closing connection

connecting to data.sparkfun.com
Requesting URL: /input/MGXg6JxO47cj1OKAJoZr?private_key=xxx&rh=2&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: 1486437072.963
Date: Tue, 07 Feb 2017 02:57:17 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

closing connection

connecting to data.sparkfun.com
Requesting URL: /input/MGXg6JxO47cj1OKAJoZr?private_key=xxx&rh=3&apssid=IOT123+tu-gro+133&temp=85.4&z1lighton=true&z2lighton=false&z1soilmoisture=50&z2soilmoisture=50&z1waterdoses=1&z2waterdoses=1
>>> Client Timeout !
connecting to data.sparkfun.com
Requesting URL: /input/MGXg6JxO47cj1OKAJoZr?private_key=xxx&rh=4&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: 297
X-Rate-Limit-Reset: 1486437072.963
Date: Tue, 07 Feb 2017 02:58:29 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

closing connection

connecting to data.sparkfun.com
Requesting URL: /input/MGXg6JxO47cj1OKAJoZr?private_key=xxx&rh=5&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: 296
X-Rate-Limit-Reset: 1486437072.963
Date: Tue, 07 Feb 2017 02:59:33 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

closing connection

connecting to data.sparkfun.com
Requesting URL: /input/MGXg6JxO47cj1OKAJoZr?private_key=xxx&rh=6&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: 295
X-Rate-Limit-Reset: 1486437072.963
Date: Tue, 07 Feb 2017 03:00:36 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

closing connection

connecting to data.sparkfun.com
Requesting URL: /input/MGXg6JxO47cj1OKAJoZr?private_key=xxx&rh=7&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: 1486437203.398
Date: Tue, 07 Feb 2017 03:01:40 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

closing connection
So it looks like I am being blocked by IP.

I turned my firewall off on the failed connection, to no avail.

Any ideas?

Thanks,
nicu

nicu
Posts: 2
Joined: Mon Feb 06, 2017 9:10 pm

Re: https://github.com/esp8266/Arduino/blob/master/libraries

Post by nicu » Tue Feb 07, 2017 3:57 pm

The url was truncated in the subject:
https://github.com/esp8266/Arduino/blob ... Client.ino

Post Reply