[34415056][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 49, errno: 128, "Socket is not connected" #570
Replies: 9 comments 12 replies
-
You should allow the idle time for stream to be connected. You should use different There is no memory limit after v4 which you can define more For async function, I'm not sure you understand what is it designed for. The async function is not actually asynchronous operation unless the server response was ignored then, no changes in data stored in I'm not recommend using async function. The next version (v5) almost functions removed and changed and will allow you to use the library without using |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I didnt write the whole code: Loop section contains 100 lines of code, so i wrote the sample code, if (!Firebase.ready()) if (!Firebase.RTDB.readStream(&stream)) if (stream.streamTimeout()) if (stream.streamAvailable()) { |
Beta Was this translation helpful? Give feedback.
-
at that time
I just want to solve this |
Beta Was this translation helpful? Give feedback.
-
If network connection drops causing the problem, Then, How does stream operation working well with no problem? |
Beta Was this translation helpful? Give feedback.
-
Previous version of the library had no issue, after updating the latest version I found this |
Beta Was this translation helpful? Give feedback.
-
Please help me |
Beta Was this translation helpful? Give feedback.
-
You accept it or not, I have no issue with v4.3.20. Loving it, and using it currently. But, with v4.4.x versions, even uploading the exact "no callback" example (ino file is untouched),
v4.3.20 auto reconnect successfully in all possible situations. Can you explain why v4.3.20 has no issue but v4.4.x failed in some situations and never auto reconnect itself? (exact "no callback" example used in both situations) |
Beta Was this translation helpful? Give feedback.
-
Hi, i am facing the same issue as well when i use |
Beta Was this translation helpful? Give feedback.
-
Chip used ESP32 :
Problem 1 :
After starting ESP32, all worked well, left overnight and then I found this error at the morning
[34415056][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 49, errno: 128, "Socket is not connected"
setString()
method right after getting stream datastream.httpConnected()
returns true.Problem 2 :
setStringAsync()
writes the previous operation to the server, and saves the current operation for the next call.How to solve these problem?
Beta Was this translation helpful? Give feedback.
All reactions