Netduino Tutorial giving back 408 errors | Netduino | Forum

  • Twitter
  • Facebook
  • Google Bookmarks
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Digg
  • Add to favorites

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

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

Topic RSS
Netduino Tutorial giving back 408 errors
February 5, 2012
3:19 pm
H07R0D
Member
Forum Posts: 8
Member Since:
April 22, 2011
Offline

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?

  • Twitter
  • Facebook
  • Google Bookmarks
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Digg
  • Add to favorites
February 5, 2012
4:52 pm
Hans
Admin
Forum Posts: 167
Member Since:
January 18, 2011
Offline

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?

  • Twitter
  • Facebook
  • Google Bookmarks
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Digg
  • Add to favorites
February 5, 2012
9:38 pm
H07R0D
Member
Forum Posts: 8
Member Since:
April 22, 2011
Offline

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.

  • Twitter
  • Facebook
  • Google Bookmarks
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Digg
  • Add to favorites
Forum Timezone: UTC -5

Most Users Ever Online: 38

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

JChristensen: 26

vespapierre: 19

CorBee: 18

bgardner: 12

harrisandrew73: 10

Eng_michel: 10

Member Stats:

Guest Posters: 0

Members: 3497

Moderators: 0

Admins: 3

Forum Stats:

Groups: 4

Forums: 15

Topics: 179

Posts: 584

Newest Members: oleronas, lirtwelljero, swomensboots, turgo, kg4jam, lfragalemaur

Administrators: Hans (167), lee (41), akinsgre (9)