Netduino Tutorial giving back 408 errors | Other | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
Netduino Tutorial giving back 408 errors
Avatar
H07R0D

Silver
Forum Posts: 8
sp_UserOfflineSmall Offline
1
February 5, 2012 - 3:19 pm
sp_Permalink sp_Print

I'm playing around with the Netduino tutorial, and I'm so close, but I can't see what I'm doing wrong.

I form up the POST and then send it off:

POST /update HTTP/1.1
Host: api.thingspeak.com
Connection: close
X-THINGSPEAKAPIKEY: <my write key>
Content-Type: application/x-www-form-urlencoded
Content-Length: 14

field1=300.627 

And I always get back:

HTTP/1.0 408 Request Time-out
Cache-Control: no-cache
Connection: close
Content-Type: text/html

<html><body><h1>408 Request Time-out</h1>
Your browser didn't send a complete request in time.
</body></html>

I really can't see what's going wrong. I'm using the tutorial cut & paste and I get the response back from the API well before the timeout.

What am I missing?

Avatar
Hans
Natick, MA

Forum Posts: 390
sp_UserOfflineSmall Offline
2
February 5, 2012 - 4:52 pm
sp_Permalink sp_Print

Can you ping "api.thingspeak.com" on the same network and let us know what IP address that you are getting back?

We don't issue a 408 error code. I am wondering if you are pointing to a different IP address?

Avatar
H07R0D

Silver
Forum Posts: 8
sp_UserOfflineSmall Offline
3
February 5, 2012 - 9:38 pm
sp_Permalink sp_Print

Turns out I'm just a newb....I was using http://www.thingspeak.com as the DNS lookup instead of the API IP address, so I think I was sending an API POST header to the main web server, hence the weird responses.

Sorry about that, I'm able to post data now.

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
27 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

candacele1

WilliamBer

roxieob18

Metawatch

ozayagw

ubabeutiti

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee