Triode wrote: 
> Can you include more of the debug and the test methodology?  I get those
> messages but it does recover when the network connection is restored.

Here is a longer sequence of the debug log.  Basically, I'm using a
Pogoplug client and a Pogoplug server, both with static IP addresses.  I
started the client and it connected to the server fine.  I logged into
the server, changed the static IP address and rebooted the server.  I
got tons of broken pipe msgs as soon as I rebooted the server, which is
the start of the log I'm posting here.  Then the client did go into the
timeout loop (unable to connect to server 0, 1, etc).  But when the
server was started, it did connect to it and then failed with a broken
pipe later.  Once in this state, it'll just loop forever in it.

Also note that the timeout between "unable to connect to server n" is 10
secs apart as seen in the log, not 5 secs.  I see that you have sleep(5)
in the code, so I'm not sure why the timeout between two "unable to
connect to server n" is 10 secs apart.

[23:19:53.834840] sendHELO:116 cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=384000,aac,ogg,flc,aif,pcm,mp3
[23:19:53.835137] send_packet:92 failed writing to socket: Broken pipe
[23:19:53.835249] send_packet:92 failed writing to socket: Broken pipe
[23:19:53.835533] send_packet:92 failed writing to socket: Broken pipe
[23:19:53.835821] slimproto_run:481 error reading from socket: closed
[23:19:53.936204] slimproto:754 connected
[23:19:53.936867] sendHELO:114 mac: 00:25:31:02:c4:14
[23:19:53.936985] sendHELO:116 cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=384000,aac,ogg,flc,aif,pcm,mp3
[23:19:53.937284] send_packet:92 failed writing to socket: Broken pipe
[23:19:53.937425] send_packet:92 failed writing to socket: Broken pipe
[23:19:53.937716] send_packet:92 failed writing to socket: Broken pipe
[23:19:53.937835] slimproto_run:481 error reading from socket: closed
[23:19:54.038407] slimproto:754 connected
[23:19:54.038756] sendHELO:114 mac: 00:25:31:02:c4:14
[23:19:54.038862] sendHELO:116 cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=384000,aac,ogg,flc,aif,pcm,mp3
[23:19:54.039193] send_packet:92 failed writing to socket: Broken pipe
[23:19:54.039477] send_packet:92 failed writing to socket: Broken pipe
[23:19:54.039591] send_packet:92 failed writing to socket: Broken pipe
[23:19:54.039882] slimproto_run:481 error reading from socket: closed
[23:19:59.145191] slimproto:744 unable to connect to server 0
[23:20:09.147389] slimproto:744 unable to connect to server 1
[23:20:19.153155] slimproto:744 unable to connect to server 2
[23:20:26.187504] slimproto:754 connected
[23:20:26.188214] sendHELO:114 mac: 00:25:31:02:c4:14
[23:20:26.188652] sendHELO:116 cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=384000,aac,ogg,flc,aif,pcm,mp3
[23:20:26.189086] send_packet:92 failed writing to socket: Broken pipe
[23:20:26.189517] send_packet:92 failed writing to socket: Broken pipe
[23:20:26.189941] send_packet:92 failed writing to socket: Broken pipe
[23:20:26.190320] slimproto_run:481 error reading from socket: closed
[23:20:29.297533] slimproto:754 connected
[23:20:29.298069] sendHELO:114 mac: 00:25:31:02:c4:14
[23:20:29.298507] sendHELO:116 cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=384000,aac,ogg,flc,aif,pcm,mp3
[23:20:29.298945] send_packet:92 failed writing to socket: Broken pipe
[23:20:29.299379] send_packet:92 failed writing to socket: Broken pipe
[23:20:29.299797] send_packet:92 failed writing to socket: Broken pipe
[23:20:29.300172] slimproto_run:481 error reading from socket: closed
[23:20:32.307495] slimproto:754 connected
[23:20:32.308036] sendHELO:114 mac: 00:25:31:02:c4:14
[23:20:32.308470] sendHELO:116 cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=384000,aac,ogg,flc,aif,pcm,mp3
[23:20:32.308906] send_packet:92 failed writing to socket: Broken pipe
[23:20:32.309338] send_packet:92 failed writing to socket: Broken pipe
[23:20:32.309756] send_packet:92 failed writing to socket: Broken pipe
[23:20:32.310130] slimproto_run:481 error reading from socket: closed
[23:20:35.417534] slimproto:754 connected
[23:20:35.418070] sendHELO:114 mac: 00:25:31:02:c4:14
[23:20:35.418497] sendHELO:116 cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=384000,aac,ogg,flc,aif,pcm,mp3
[23:20:35.418933] send_packet:92 failed writing to socket: Broken pipe
[23:20:35.419359] send_packet:92 failed writing to socket: Broken pipe
[23:20:35.419777] send_packet:92 failed writing to socket: Broken pipe
[23:20:35.420151] slimproto_run:481 error reading from socket: closed


------------------------------------------------------------------------
Kuro's Profile: http://forums.slimdevices.com/member.php?userid=16701
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to