Is there a WiFi bug with the PicoW w/ the 20241025 build? #16288
GM-Script-Writer-62850
started this conversation in
General
Replies: 1 comment 7 replies
-
You might be interested in these observations on maintaining a long term WiFi socket connection. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a fairy simple script running on this PICO, i just switched it over to aiohttp from a modded urequest and updated to the 20241025 release and now i am getting error no 103 connection aborted when i make a http request to my local server (in 0-6 hours), last night this happened before 3AM, my server logs show it detected it was offline at 4AM and the pico checks every 5 min, in spite of it reconnecting the same error was still happening, before i make a aiohttp request i do check isconnected()
if someone wants to see the source code: Archive.zip (there is a bug with the buzzer activation when called from the http server, but this code was never executed)
this is where i am getting the error, this is part of a fn starting on line 35, wifi connection is managed by the fn starting on line 68
every time i have seen it go down it was running the main loop (fn is line 293, loop starts on line 314) aside from that all other stuff it idle waiting on input, this is the only thing trying to happen on the wifi chip
Note that i have another picoW doing way more complex stuff on the 20240602 release and it has been fine using aiohttp for months now
EDIT:
here is a screenshot from thonny: https://i.imgur.com/xdiVQ5j.png
note that nothing happened in my logs on my access point
Beta Was this translation helpful? Give feedback.
All reactions