Search found 3 matches

by davealexis
Sun Apr 24, 2022 6:58 pm
Forum: ESP32 boards
Topic: ESP32-S2 MQTT subscriber "OSError: [Errno 113] ECONNABORTED"
Replies: 17
Views: 15721

Re: ESP32-S2 MQTT subscriber "OSError: [Errno 113] ECONNABORTED"

Found a solution! Hopefully this works for you also. It turns out that access point mode was also enabled! My code definitely didn't activate it, so maybe it gets activated by default? In any case, I just added this line near the top of my program so ensure that access point mode is disabled: networ...
by davealexis
Sun Apr 24, 2022 4:14 pm
Forum: ESP32 boards
Topic: ESP32-S2 MQTT subscriber "OSError: [Errno 113] ECONNABORTED"
Replies: 17
Views: 15721

Re: ESP32-S2 MQTT subscriber "OSError: [Errno 113] ECONNABORTED"

I'm getting the ECONNABORTED issue also, but noticed that it works once then stops working. Here's what I'm seeing... 1) ESP8266 freshly flashed with MicroPython 1.18. Connects to the Mosquitto broker and sends messages normally. 2) Reboot the ESP8266 and rerun the code - I get ECONNABORTED. 3) Re-f...
by davealexis
Thu Feb 24, 2022 12:26 am
Forum: ESP8266 boards
Topic: HTTP 1.1+ support
Replies: 0
Views: 10506

HTTP 1.1+ support

I get an HTTP 426 ("Upgrade Required") error when trying to call a REST service over SSL. The API seems to require an HTTP version newer than 1.0, but from what I can see from the urequests source code, it only does HTTP 1.0. Does anyone know of a way to get around this? Is there another HTTP librar...