-
Notifications
You must be signed in to change notification settings - Fork 181
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
Meaning and Handling of connection reset by peer
Error
#547
Comments
I am also getting this happening. I'm running an internal package server using PkgServer.jl behind a corporate proxy, and almost every time a user makes a request to my container I get this connection reset error. I see in the following line: Line 261 in 34fccfa
It is attempting to capture this event and throw a warning instead, but my error code is -104, not -54, and the original issue above has a code of -4077. I guess this error can come with many different codes. Are these codes really all the same error? And are they not actually errors, simply warnings of a benign connection reset? It'd be nice to resolve this, but I'm also curious if anyone knows why this happens. And maybe in the code above you can check for the existence of Click to see full error message
|
Windows uses -4077 SPAC and ALPHA on linux use -54 Generic on linux uses -104 PARSIC on linux uses -232 MIPS on linux uses -131 I'm guessing MacOS uses -54 too, as this was one code that already worked for a large group of people. Fixes JuliaWeb#763 JuliaWeb#547
I am using https://github.com/wookay/Bukdu.jl for creating a REST web server.
The application is running without problems but from time to time I get a
Base.IOError("read: connection reset by peer (ECONNRESET)", -4077)
error message which was generated atHTTP.jl/src/Servers.jl
Line 264 in b9b42c3
I have posted already an issue https://github.com/wookay/Bukdu.jl/issues/105 in the
Bukdu
repo and also read this post on discourse https://discourse.julialang.org/t/econnreset-error-with-http-jl/11228 but I didn't understand the scope of the problem entirely since my understanding of web protocol is basic at best.Even though the application runs, I do feel uneasy to use it in production just like this. Do you have any more resources on why this error happens (apart from the source code 😅). Do I need to refactor the webserver or is it safe to use with this message occurring?
The versions are:
and the full error message is
The text was updated successfully, but these errors were encountered: