[Spread-users] "Connected closed by Spread" on receiving

Lisa Vitolo syn.shainer at gmail.com
Fri Apr 20 15:10:03 EDT 2012


Yes, after the sender sends the first message it waits for input from the
user, while SP_disconnect is called only when it terminates.
By the way, after SP_multicast returns with success isn't the sender able
to close the connection without problems anyway?

About the receiving mailbox, it's closed only when a SIGINT signal arrives.

Thanks for your patience :)

Il giorno 20 aprile 2012 20:56, John Schultz
<jschultz at spreadconcepts.com>ha scritto:

> That is strange.  The daemon's OS is claiming that the receiving client's
> socket was closed abruptly for some reason.
>
> Are you 100% sure that the mailbox you are receiving on couldn't be closed
> somehow (e.g. - by the sender calling SP_disconnect)?
>
> Cheers!
>
> -----
> John Lane Schultz
> Spread Concepts LLC
> Phn: 301 830 8100
> Cell: 443 838 2200
>
> On Apr 20, 2012, at 2:35 PM, Lisa Vitolo wrote:
>
> Sorry! Gmail failed me and sent the message privately :D I'll repeat it
> here.
>
> Thanks for the suggestion. It prints more useful debug messages now, but I
> still can't figure out what they really mean.
>
> - The receiver connects:
> Sess_accept: set sndbuf/rcvbuf to 204800
> Setting TCP_NODELAY on socket 9
> Sess_recv_client_auth: Client requested NULL type authentication
> Sess_session_authorized: Accepting from 127.0.0.1 with private name get on
> mailbox 9
> Sess_read: Message has type field 0x80010080
> Sess_read: queueing message of type 8 with len 0 to the protocol <-- is
> "len 0" here the issue?
>
> - The sender connects:
> Sess_accept: set sndbuf/rcvbuf to 204800
> Setting TCP_NODELAY on socket 10
> Sess_recv_client_auth: Client requested NULL type authentication
> Sess_session_authorized: Accepting from 127.0.0.1 with private name send
> on mailbox 10
>
> - The sender sends the message:
> Sess_read: Message has type field 0x80000081
> Sess_read: queueing message of type 2 with len 0 to the protocol
> Sess_read: Message has type field 0x800000a0
> Sess_read: queueing message of type 16 with len 0 to the protocol
> Sess_read: failed receiving header on session 9: ret -1: error: Connection
> reset by peer
> Sess_kill: killing session get ( mailbox 9 )
>
> Cheers,
> Lisa
>
> Il giorno 20 aprile 2012 20:17, John Schultz <jschultz at spreadconcepts.com>
> ha scritto:
>
> What does the daemon output around the time your receiver is disconnected?
>
> If nothing, then I would add the SESSION flag to your daemon's DebugFlags
> in its configuration file and re-run to try to see why the daemon is
> closing your receiver.
>
> Cheers!
>
> -----
> John Lane Schultz
> Spread Concepts LLC
> Phn: 301 830 8100
> Cell: 443 838 2200
>
>
> --
> They say a little knowledge is a dangerous thing, but it's not one half so
> bad as a lot of ignorance.
>
> _______________________________________________
> Spread-users mailing list
> Spread-users at lists.spread.org
> http://lists.spread.org/mailman/listinfo/spread-users
>
>
> _______________________________________________
> Spread-users mailing list
> Spread-users at lists.spread.org
> http://lists.spread.org/mailman/listinfo/spread-users
>
>


-- 
They say a little knowledge is a dangerous thing, but it's not one half so
bad as a lot of ignorance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.spread.org/pipermail/spread-users/attachments/20120420/703f9520/attachment.html 


More information about the Spread-users mailing list