electronicsguy / ESP8266

ESP8266 Projects
242 stars 183 forks source link

How to get new fingerprint? #34

Closed awaisnajam closed 7 years ago

awaisnajam commented 7 years ago

Hello Sujay,

I am trying to use your library to post data to google spreedsheet. But I am getting the following error.

Connecting to script.google.com Connection Status: 1 Certificate mis-match

Please, let us know how to get a new matching fingerprint.

Regards, Awais

electronicsguy commented 7 years ago

As mentioned in the readme, the fingerprint check is not mandatory. Dis-regard the fingerprint check for now and see if you're able to successfully read/write to Google Sheets. This message is a warning, not a error.

To get a new fingerprint, please follow the procedure listed in the Readme. You must run openssl from the same network location where your device will be (since Google servers serve requests from different servers internally, based on geo-location). Comment out the certificate check code and let me know if you're able to read/write successfully. In case of errors, please report the exact error here.

awaisnajam commented 7 years ago

Hello Sujay, Thank you for your guidance. Now, I am able to read /write the Google Sheet "ESP8266 Logging" using version 2.1 of HTTPSRedirect. Fingerprint issue is still there which I will follow later. Regards, Awais

electronicsguy commented 7 years ago

great. all the best.