If you see a socket error while reading econnreset, the following guide may help.
Approved: Fortect
ECONNRESET means that many other parties to the TCP conversation have abruptly closed their connection. Most likely, this could be due to one or more errors in the application protocol. You can simply look at the API server logs to see when it is complaining about something.
Is this related to this? This seems to be a long-standing problem.
I will probably confirm that it has been around for a long time, following it from V7. I experience this at least once a day and so far I have had problems detecting it outside of process.on ('uncaughtException', ..)
because our own backtrace has no meaning
Error
: Read ECONNRESET With TLSWrap.onStreamRead (internal / stream_base_commons.js: 171: 27) errno: 'ECONNRESET', code: 'ECONNRESET', system call: 'read' 1: 0x95bd00 node :: Abort () [node] 2: 0x9c7b99 [node] or even: 0xbc6d2a [node] 4: 0xbc78d9 v8 :: internal :: Builtin_HandleApiCall (int, v8 :: internal :: Object **, v8 :: internal :: Isolate *) [node] 5: 0x88ad594fc5d
Do you have any questions about this project? Create a free GitHub account to unblock the issue and connect with the issue manager and therefore the community. By simply clicking “Sign up on GitHub”, you agree to our terms of use and Non-disclosure statement. From time to time, we will send you emails associated with your account. Fortect is the world's most popular and effective PC repair tool. It is trusted by millions of people to keep their systems running fast, smooth, and error-free. With its simple user interface and powerful scanning engine, Fortect quickly finds and fixes a broad range of Windows problems - from system instability and security issues to memory management and performance bottlenecks. Already on GitHub? Subscribe to your account Are you somehow connected with this project? Sign up for a free GitHub account to open the sale and connect with its managers and the nature of the community. Approved: Fortect
By clicking Subscribe to GitHub, you agree to all of our terms of use and Data protection. From time to time, we will send you emails associated with your account.
Already on GitHub? Subscribe to your account
I am creating an API that monitors binary log files to successfully notify users of certain changes found in the database.
My max_binlog_size
is set to 1048895 (1M), but after a while the terminal shows a read error:
Error
: ECONNRESETexamine in TCP.onStreamRead (internal / stream_base_commons.js: 205: 27)--------------------in Protocol._enqueue (C: Users edils Documents DEV Updata mk-auth-support-app-backend node_modules mysql lib protocol Protocol.js: 144: 48)in Connection.query (C: Users edils Documents DEV Updata mk-auth-support-app-backend node_modules mysql lib Connection.js: 198: 25)in ZongJi._fetchTableInfo (C: Users edils Documents DEV Updata mk-auth-support-app-backend node_modules @rodrigogs zongji index.js: 203: 23)in Binlog._callback (C: Users edils Documents DEV Updata mk-auth-support-app-backend node_modules @rodrigogs zongji index.js: 251: 18)in Binlog.BinlogHeader (C: Users edils Documents DEV Updata mk-auth-support-app-backend node_modules @rodrigogs zongji lib sequence binlog.js: 43:22)in Protocol._parsePacket (C: Users edils Documents DEV Updata mk-auth-support-app-backend node_modules mysql lib protocol Protocol.js: 291: 23)Under Parser._parsePacket (C: Users edils Documents DEV Updata mk-auth-support-app-backend node_modules mysql lib protocol Parser.js: 433: 10)Under Parser.write (C: Users edils Documents DEV Updata mk-auth-support-app-backend node_modules mysql lib protocol Parser.js: 43: 10)in Protocol.write (C: Users edils Documents DEV Updata mk-auth-support-app-backend node_modules mysql lib protocol Protocol.js: 38: 16)on Socket. (C: Users edils Documents DEV Updata mk-auth-support-app-backend node_modules mysql lib Connection.js: 88: 28)on Socket. (C: Users edils Documents DEV Updata mk-auth-support-app-backend node_modules mysql lib Connection.js: 526: 10)in Socket.emit (events.js: 315: 20)in addChunk (_stream_readable.js: 297: 12)at readableAddChunk (_stream_readable.js: 273: 9)at Socket.Readable.push (_stream_readable.js: 214: 10)at TCP.onStreamRead (internal / stream_base_commons.js: 186: 23) {Oerror: -4077, Code: 'ECONNRESET', System call: "read", fatal: true
I found everything was working in high quality until the fifth binlog file was generated. This is when the sum of all old binary log files is greater than 4, which theoretically exceeds the value of max_allowed_packet
.
So why is this happening? How can i solve this problem?
requested September 10, 20 at 18:10
Speed up your computer's performance now with this simple download.