Netduino Tutorial giving back 408 errors | Other | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





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

sp_Feed sp_TopicIcon
Netduino Tutorial giving back 408 errors
No permission to create posts
February 5, 2012
3:19 pm
Avatar
H07R0D

Silver
Members
Forum Posts: 8
Member Since:
April 22, 2011
sp_UserOfflineSmall 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?

February 5, 2012
4:52 pm
Avatar
Hans
Natick, MA

Admin
Forum Posts: 411
Member Since:
January 18, 2011
sp_UserOfflineSmall 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?

February 5, 2012
9:38 pm
Avatar
H07R0D

Silver
Members
Forum Posts: 8
Member Since:
April 22, 2011
sp_UserOfflineSmall 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.

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
25 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

Sahil Nair, ahancity, samexpert, Senseworks, h-kasiri, kleifimmakly

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457