Arduino Forum

Using Arduino => Programming Questions => Topic started by: dropkinn on Feb 02, 2013, 04:51 am

Title: Problem using Google Docs server?
Post by: dropkinn on Feb 02, 2013, 04:51 am
First off here's the code: http://pastebin.com/2wLFLqvR
i'm taking code from a couple different places:
Mainly: http://www.open-electronics.org/how-send-data-from-arduino-to-google-docs-spreadsheet/


Here's the form i need to enter data into: https://docs.google.com/spreadsheet/viewform?formkey=dEMyVVE3dGNzbF8yVXNiNXh3R21JMnc6MQ

The arduino is never able to connect to the server, is there any alternative? I honestly dont know what ip i need, google docs? google? Any help would be greatly appreciated, Noah.
Title: Re: Problem using Google Docs server?
Post by: MikMo on Feb 02, 2013, 08:10 am
Are you sure your arduinos ethernet shield and the associated protocol stack can make HTTPS connections ?

As far a i know that i not possible.

Mikael
Title: Re: Problem using Google Docs server?
Post by: dropkinn on Feb 02, 2013, 03:16 pm
The code i found used https but that does make a lot of sense. Any workaround? Drop the s?
Thanks, Noah.
Title: Re: Problem using Google Docs server?
Post by: PaulS on Feb 02, 2013, 03:58 pm
Quote
Drop the s?

If you don't mind failure, that's a good idea.

You need to host your data on a server that lets you use http to access it, not one that requires https.
Title: Re: Problem using Google Docs server?
Post by: dropkinn on Feb 02, 2013, 04:30 pm
Every example script I've seen and everyone else using gdocs with arduino haven't reported any problems using https.
Title: Re: Problem using Google Docs server?
Post by: MikMo on Feb 02, 2013, 05:16 pm
Do they use the same ethernet shield as yours?
Title: Re: Problem using Google Docs server?
Post by: PaulS on Feb 02, 2013, 05:22 pm
Are you able to connect to ANY server? You need to narrow down the problem.