-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Weird problems with tcp #5806
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
Try latest git. Issues were found in SDK pre3 which is included in 2.5.0, so the SDK has been reverted to 2.2.1 after 2.5.0 release, ref #5784, see pinned issue. |
Latest git fails at SPIFFS.
I have of course error checking in my code. SPIFFS worked properly in 2.5.0. |
Your logs show 2.5.0. Either you're still using the release, or you installed git in a non-supported way. |
I just checked latest git into 2.5.0 directory. |
That's not a supported installation method. Please read the docs. |
I've found, that this crash was caused by PROGMEM specifier on my filename variable. |
I've found that my router antenna was not original one. Antenna has been connected using wrong SMA socket pair (female-to-female), which obviously didn't work. That was possible cause for all of my problems. Now (after adding an adapter) I have very stable and excellent signal (~ -30dBm). My module is up for 41 hours now, without disconnection. However, I'd like to wait some more time, to definitely confirm that was caused by antenna. |
Moved to another router firmware Changed network operator to another one. No problems, tcp connection is alive for 6 days now. Conclusion: Never trust "conection time" status on router's configuration panel. Please close this issue. |
Hello,
I'm fighting an issue in my mqtt client for last three weeks. I'm using PubSubClient library. It all runs on esp12f module with 2.5.0 release.
The behaviour is strange, my mqtt connection timeouts and it depends on lwip version. No error, no crash, just socket timeout. I'm not using delays, except one 10ms in loop, to allow cpu to sleep at idle task (light sleep).
I've tried lwip2 higher bandwidth/lower memory/ipv6 and it does not matter, connection timeouts few times per hour.
When switched to lwip 1.4 higher bandwidth, it timeouts only once a day, but still.
WiFi connection is not being lost. Router seems to be connected without interruptions.
Tried earlier releases, same results.
The text was updated successfully, but these errors were encountered: