mathworks / thingspeak-arduino

ThingSpeak Communication Library for Arduino, ESP8266 and ESP32
https://thingspeak.com
430 stars 231 forks source link

Error -301 if using WiFi.config() #84

Open dabu667 opened 1 year ago

dabu667 commented 1 year ago

ThingSpeak fails to connect to server if there's a WiFi.config(IPA, GATE, MASK); in the code. It works fine if the line is commented. It took a long time to isolate the problem but this is it. Error is -301.

marcelstoer commented 1 year ago

I am seeing this intermittently even without WiFi.config(). Haven't figured out what the root cause is yet.

Therefore commented 1 year ago

I'm getting the same issue. "Problem reading channel. HTTP error code -301"

This is with the example code in the library and only changing the SSID and password. I'm on a TTGO TBeam v1.1