This is completely different. Here the Node is failing to send back the
reply, this has nothing to do with threads or race conditions.
I still don't know why this is happening, of course. I would have a much
better chance to if you used threshold debugging and verbosity 5.
On Sat, Aug 19, 2000 at 10:58:16AM +0100, Ian Clarke wrote:
>
> > This could be a race conditions, so I'm pretty sure it's all synchronized
> > correctly. I will have a look.
>
> Hmmmm, I am even experiencing this with the test5.sh script!
>
> here is the client log:
>
> [ian at technic scripts]$ java Freenet.client.BInsert -logging debugging
> -serverAddress tcp/localhost:50000 test2 build.sh
> No value specified for parameter 'tickerTime'
> No value specified for parameter 'connectTimeout'
> No value specified for parameter 'connectionTimeout'
> No value specified for parameter 'handshakeTimeout'
> No value specified for parameter 'handshakeLife'
> No value specified for parameter 'hopTimeExpected'
> No value specified for parameter 'hopTimeDeviation'
> No value specified for parameter 'maximumConnectionThreads'
> No value specified for parameter 'bufferSize'
> No value specified for parameter 'keyTypes'
> not throttling local connection
> Connection between: tcp/127.0.0.1:1230 and tcp/127.0.0.1:50000
> New connectionhandler with tcp/127.0.0.1:50000
> Sending a message
> 52a5ed21b84c8eea - HandshakeRequest -> tcp/127.0.0.1:50000
> Reading message
> Rawmessage:
> HandshakeReply
> {Source=tcp/127.0.0.1:50000,KeepAlive=true,DataLength=0,{Depth=1,Build=142,Revision=1.48,UniqueID=52a5ed21b84c8eea,Version=1.29,HopsToLive=1,}}
> 52a5ed21b84c8eea - HandshakeReply <- tcp/127.0.0.1:50000
> Message:
> Src:null htl:1 depth:1 id:52a5ed21b84c8eea type:Freenet.message.HandshakeReply
> Got on tcp/127.0.0.1:1231 from tcp/127.0.0.1:50000
> Handled: Src:tcp/127.0.0.1:50000 htl:1 depth:1 id:52a5ed21b84c8eea
> type:Freenet.message.HandshakeReply
> Setting handshake from tcp/127.0.0.1:50000
> Done waiting for handshake, returning true
> State "PREPARED" reached.
> Finished with message
> Sending a message
> a412e5e8c2dd1444 - InsertRequest -> tcp/127.0.0.1:50000
> A message was sent to tcp/127.0.0.1:50000.
> State "REQUESTING" reached.
> Finished with connection - closing
> <<<<<<<<<<<<LONG DELAY HERE>>>>>>>>>>>>>>
> State "FAILED" reached.
> Inserted Key : freenet:KSK at test2
>
> ------------------------
>
> And here is the server log:
>
> Aug 19, 2000 9:54:51
> AM:Freenet.ConnectionHandler:144788690:Normal:52a5ed21b84c8eea -
> HandshakeRequest <- tcp/127.0.0.1:1231
> Aug 19, 2000 9:54:51
> AM:Freenet.ConnectionHandler:144788690:Normal:52a5ed21b84c8eea -
> HandshakeReply -> tcp/127.0.0.1:1231
> Aug 19, 2000 9:54:51
> AM:Freenet.ConnectionHandler:144788690:Normal:a412e5e8c2dd1444 -
> InsertRequest <- tcp/127.0.0.1:1231
> Aug 19, 2000 9:54:51
> AM:Freenet.ConnectionHandler:-355906350:Normal:a412e5e8c2dd1444 -
> InsertRequest -> tcp/127.0.0.1:50001
> Aug 19, 2000 9:54:52
> AM:Freenet.ConnectionHandler:-318681902:Normal:a412e5e8c2dd1444 -
> InsertRequest <- tcp/127.0.0.1:1234
> Aug 19, 2000 9:54:52
> AM:Freenet.ConnectionHandler:-318681902:Normal:a412e5e8c2dd1444 -
> RequestFailed -> tcp/127.0.0.1:1234
> Aug 19, 2000 9:54:53
> AM:Freenet.ConnectionHandler:-355906350:Normal:a412e5e8c2dd1444 - InsertReply
> <- tcp/127.0.0.1:50001
> Aug 19, 2000 9:54:53
> AM:Freenet.ConnectionHandler:144788690:Normal:a412e5e8c2dd1444 - InsertReply
> -> tcp/127.0.0.1:1231
> Aug 19, 2000 9:54:53 AM:Freenet.message.InsertReply:-157725486:Normal:Send
> failed on return to tcp/127.0.0.1:1231
>
--
\oskar
_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev