Description
CircuitPython version and board name
Adafruit Circuit Python 9.2.8 dated 07/02/2025 on PicoW
Code/REPL
I have a wireshark dump I can upload to a private location if you would like. I'm pretty sure the issue is in the network stack, and not the code.
Behavior
[07/02/2025 21:18:22] ERROR InfluxWriter._send_request(body=tempmon,sensor=otext temp=68.30) Exception: [Errno 113] ECONNABORTED <class 'OSError'>
Description
So I have a device that I'm using. It has a LCD display, and a TMP102 thermometer.
It continuously polls the thermometer and once per minute makes an HTTPS POST request to place the data on a server.
I frequently get:
[Errno 113] ECONNABORTED <class 'OSError'>
[Errno 113] ECONNABORTED <class 'OSError'> socket_resolve_host() returned -2
[Errno 104] ECONNRESET <class 'OSError'>
For example, 20:12:39 failed, 20:13,and 20:14 succeeded, and 20:15:40 failed.
This was happening with 9.2.6 as well. Also, the issue happens in two different environments with quite different AP's, networks, etc.
I don't have the error message, but at one point I had a crash message where the kernel itself crashed, and the pico was locked up.
I have another one running an ancient micropython version, and it just works. Is there any hope for this ever working?
Additional information
When it starts failing, I see a lot of SYN, SYN/ACK retransmits between the two hosts. I'm also seeing ARP requests for the Pico's address from the router, but there aren't any corresponding replies.
I can provide you with the tcpdump capture file if you would like. It has both successful, and failing connection cycles.