Page 1 of 1

[Fixed in 0.3.2] No data received on the TELNET session

Posted: Tue Mar 14, 2017 3:31 pm
by jbruce
Unimus logs show:

2017-03-14 11:30:21.939 INFO 426 --- [http-nio-8085-exec-9] net.unimus.service.DeviceService : Attempt to run 1 discover(y/ies)
2017-03-14 11:30:21.942 INFO 426 --- [http-nio-8085-exec-9] net.unimus.business.core.Core : Performing discovery on 1 device(s)
2017-03-14 11:30:32.325 WARN 426 --- [discovery-13] n.u.c.service.cli.CliDiscoveryService : No data received on the TELNET session during discovery. Waited for 10000 ms

However, when I telnet from the Unimus server to the device:

root@unimus:~# telnet xx.xx.xx.xx
Trying xx.xx.xx.xx...
Connected to xx.xx.xx.xx.
Escape character is '^]'.


User Access Verification

Username: xxx
Password: xxx
switchname#

Re: No data received on the TELNET session

Posted: Tue Mar 14, 2017 3:55 pm
by Tomas
How long after getting 'Connected to xx.xx.xx.xx.' in Telnet do you get the 'Username:' prompt?

Unimus waits for 10 seconds for data on the Telnet session, if no data at all is received after 10 seconds after connecting, it assumes the session as dead.

Re: No data received on the TELNET session

Posted: Tue Mar 14, 2017 4:04 pm
by jbruce
It's instant

Re: No data received on the TELNET session

Posted: Tue Mar 14, 2017 4:07 pm
by Tomas
Below is a link for a dev-build of 0.3.2 with full debugging enabled.
This will log A LOT of data into the log file (including the full device communication).
It can be downloaded here.

Can you please send me logs from the failed discovery attempt into a PM?
(please strip any sensitive data from the logs)

Thanks!

Re: No data received on the TELNET session

Posted: Tue Mar 14, 2017 4:26 pm
by jbruce
Sent, thank you

[SOLVED] Re: No data received on the TELNET session

Posted: Thu Mar 23, 2017 12:20 pm
by jbruce
This has been fixed in today's release. Thank you!