-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Seems like 3.3.2 SDK caused more wifi network issues #5984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Have you tried 4.0? It seems unlikely to me that Espressif will spend time fixing 3.x at this point... |
4.0 causing bcn timeout same as 3.3.1 (tested before when testing 4.0 in considering 3.3.2). Maybe I can try 4.0 with my 'memory hack' Good point. |
Tested now with 4.0 so I remember well it does same bcn timeout error as 3.3.1 Let;s try memory hack
|
Yes with -2048 memory "hack" that 4.0 seems to work (atleast with this AP, some other AP needs -4096 and with BLE even -8kB)
diff
|
In your log I see:
what is that? It's not std... Are you perhaps calling upip and this is the same as #5543 (comment), i.e. out of memory? |
Yes it is out of mem issue, that is why 'memory hack' will help. Here it happening on upip too, but i tried also urrequests.. actually any TLS connection will do that. Maybe most of users will not notice that as many of them not using TLS at all and follow stupid tutorials which still use HTTP or MQTT instead HTTPS (MQTTS respectively). Your linked comment is exactly same. Actually In 3.3.2 it it ok (until you enable BLE) but new bug with that stop communication after 1 hour. My guess is it would be something with WPA rekey period. Unfortunately I can not see rekey period at this router, so it's only guess. |
But still i'm for go with 3.3.2 and not revert 3.3.1, because this 'bug' can be fixed by try/except anf reconnect (sta.disconnect,connect) from Python. That bcn error need to be 'workarounded' by change in main.c and recompile binary, so for most of users is better reconnect than reconpile way. And 4.0 act same as 3.3.1, but 4.1 (or 4.2) are still under development. |
Switched to 4.x sdk |
Correcting order of sideset parameters in function call
Uh oh!
There was an error while loading. Please reload this page.
First sorry about 3.3.2 at #5554
seems like at 3.3.2 they introduced some bug regarding stability. It does not have problems with 'bcn timeouts' anymore. But it will stop communication after while... Regards testing seems every hours or so...
At 3.3.1 (with memory hack to support other AP than from UPC) seems to be fine.
See
https://parallelgarden.surikata.info/d/WfPV1n6Wk/octopuslab-influxdemo?orgId=1&refresh=30s
Graphs "influx demo".
Do not know exactly what to report to ESP-IDF team. Because that would be more for them than uPy team.
EDIT:
this is that program which produces grafana's result:
https://github.com/octopusengine/octopuslab/blob/master/esp32-micropython/examples/database/influxdb.py
The text was updated successfully, but these errors were encountered: