sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] Descriptive error meesages


From: Hendrik Visage
Subject: Re: [Sks-devel] Descriptive error meesages
Date: Mon, 29 Jan 2018 20:52:38 +0200

Hi Gabor,

On 29 Jan. 2018, at 20:25 , Gabor Kiss <address@hidden> wrote:

2018-01-29 18:05:16 <recon as client> 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
address@hidden



Attachment: signature.asc
Description: Message signed with OpenPGP


reply via email to

[Prev in Thread] Current Thread [Next in Thread]