Windows Slave exception on handshaking

44 views
Skip to first unread message

DannyT

unread,
Mar 8, 2011, 12:35:28 PM3/8/11
to jenkins...@googlegroups.com
I've had to change the port slaves run on to accommodate external security rules and now I can't get my previously working slaves going again:

Checking the logs I see:

Mar 8, 2011 5:21:07 PM hudson.TcpSlaveAgentListener
WARNING: Connection #10 failed
java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:168)
	at java.net.SocketInputStream.read(SocketInputStream.java:182)
	at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:320)
	at java.io.DataInputStream.readUTF(DataInputStream.java:572)
	at java.io.DataInputStream.readUTF(DataInputStream.java:547)
	at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:162)

Which unfortunately means nothing to me, this is Hudson v1.377 hosted in glassfish on Win 2k8

Any help much appreciated and apologies if this isn't the useful information needed, I've inherited this setup and only just getting to grips with Hudson/Jenkins.

Dan

DannyT

unread,
Mar 8, 2011, 5:05:34 PM3/8/11
to jenkins...@googlegroups.com
After much digging I believe there is something on the slave machine killing the connection, this however is largely guess work. I've installed the latest version of Jenkins but still have the exact same issue.

I have another slave that connects without problem. Can anyone suggest any way I can debug this? I'm running the slave by launching it from the web interface. Any help much appreciated.


Atilla Ozgur

unread,
Mar 9, 2011, 8:02:08 AM3/9/11
to jenkins...@googlegroups.com, DannyT
Microsoft: Sysinternals have a tool called TcpView

You can use this tool monitor port to see if any applications is killing your connections. It has exclude/Include features and very easy to use tool. Wireshark and other professional applications may be better but for you I think this is more suitable.
Reply all
Reply to author
Forward
0 new messages