4:57 am


Silver
June 28, 2019

I am having the same problem. I have an ESP8266 device (Wemos D1 mini) that reads the temperature from my account that has been working for over 2 years but suddenly stopped working a few days ago returning status -303. Another ESP8266 device is still successfully uploading data. Both devices use the Arduino header file ThingSpeak.h.
5:56 am

June 28, 2019

Intentionally or not, they removed the "content-length" header from the http response. The thingspeak library expects this header to correctly parse the response,
therefore they managed to break their library.
@ Thingpeak, was that an intentional change or a bug that will be fixed?
If it was intentional, are you going to update the official arduino thingspeak library accordingly?
Thanks.
10:25 am


Moderators
March 7, 2017

11:23 am


Moderators
March 7, 2017

6:04 pm


Moderators
March 7, 2017

6:04 am


Silver
June 28, 2019

cstapels said
You may be able to temporarily fix the issue by backing up to the previous version of the ThingSpeak communication library. It is only the latest version that uses the "content-length" header. We will continue to report on the issue here and let you know when it is resolved.
I have tried all the version 1.4.x libraries and although there was now no error in retrieving data, the data itself was wrong - value is always 8 instead of the current 22 degrees here in the north east of England.
11:20 am


Moderators
March 7, 2017

Most Users Ever Online: 166
Currently Online:
28 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:
Advantagetreeexperts, laundrydaddyuk, techhhelp5, ken, tran, huldacormierModerators: cstapels: 460
Administrators: Hans: 405, lee: 457