Re: [Sks-devel] Descriptive error meesages
Hi Gabor, > On 29 Jan. 2018, at 20:25 , Gabor Kiss wrote: > >> 2018-01-29 18:05:16 error in callback.: >> Sys_error("Connection reset by peer") >> >> I?m seeing these type of error messages, which is great to know that it >> happened, but it begs the question: Who/what was the peer that reset the >> connection? >> The reverse side (As I?m having the two separate servers talking) is then >> also: ?Which client did I refuse, and ?cause of what reasons?? >> >> So let?s ask it this way: (1) advised OCAML reference & tutorial guides? >> (2) Where should I start looking for these errors messages to help enhance >> them? > > This is a kernel error code. It is not related to any programming language. > > $ errno 104 > ECONNRESET 104 Connection reset by peer > $ > > I guess a TCP connection was terminated by the remote side. > It is absolute legal. :-) Right and wrong as you’ve missed my issue etc. > If you need more information look around socket programming on the web. Programmed that myself a bunch of times, but based on the messages seen, the (pseudo code) of what happened look like this in the current codebase: socket=connect(remote_addr,port) if socket <= then print systemError() else send_data(socket) fi Instead what I would liked to see: print “Attempted to connect to {remote_addr) on {port} and received the following error: “ systemError() --- Hendrik Visage HeViS.Co Systems Pty Ltd T/A Envisage Systems / Envisage Cloud Solutions +27-84-612-5345 or +27-21-945-1192 hvis...@envisage.co.za signature.asc Description: Message signed with OpenPGP ___ Sks-devel mailing list Sks-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/sks-devel
Re: [Sks-devel] Descriptive error meesages
Hendrik Visage wrote: > ==> recon.log <== > 2018-01-29 18:05:16 error in callback.: > Sys_error("Connection reset by peer") > > I’m seeing these type of error messages, which is great to know that it > happened, but it begs the question: Who/what was the peer that reset the > connection? > The reverse side (As I’m having the two separate servers talking) is then > also: “Which client did I refuse, and ‘cause of what reasons?” Increase the verbosity, it will show the IP addresses. As for the reason, it is often a peer that is already reconning with somebody else. -- Kim Minh. ___ Sks-devel mailing list Sks-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/sks-devel
Re: [Sks-devel] Descriptive error meesages
> 2018-01-29 18:05:16 error in callback.: > Sys_error("Connection reset by peer") > > I?m seeing these type of error messages, which is great to know that it > happened, but it begs the question: Who/what was the peer that reset the > connection? > The reverse side (As I?m having the two separate servers talking) is then > also: ?Which client did I refuse, and ?cause of what reasons?? > > So let?s ask it this way: (1) advised OCAML reference & tutorial guides? > (2) Where should I start looking for these errors messages to help enhance > them? This is a kernel error code. It is not related to any programming language. $ errno 104 ECONNRESET 104 Connection reset by peer $ I guess a TCP connection was terminated by the remote side. It is absolute legal. :-) If you need more information look around socket programming on the web. Regards Gabor ___ Sks-devel mailing list Sks-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/sks-devel