I have looked thru the code and I see that this occurs if the timeout passed into connect() is exceeded while negotiating... but what it confounding to me is that this message sometimes occurs immediately. My timeout is a static value in the same class and so cannot be null and it is set to 20000.
2014-06-06 19:59:13 DEBUG SSHTunnel$Tunnel:125 - starting connection @ 1402109953613
2014-06-06 19:59:13 ERROR SSHTunnel$Tunnel:341 - timeout in wating for rekeying process.
2014-06-06 19:59:13 INFO SSHTunnel$Tunnel:197 - tunnel will remain open for 180 seconds
2014-06-06 19:59:13 INFO SSHTunnel$Tunnel:197 - Exiting SSH Tunnel thread - Thread[Thread-29,7,main]
... line 3 is never reached after the exception and the logoutput from line 1 is in the same second as the log output just before the connection attempt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have looked thru the code and I see that this occurs if the timeout passed into connect() is exceeded while negotiating... but what it confounding to me is that this message sometimes occurs immediately. My timeout is a static value in the same class and so cannot be null and it is set to 20000.
Last edit: Jon Gorrono 2014-05-21
More supporting information....
code:
... line 3 is never reached after the exception and the logoutput from line 1 is in the same second as the log output just before the connection attempt