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

Unimus support forum
Post Reply
jbruce
Posts: 4
Joined: Tue Mar 14, 2017 3:27 pm

Tue Mar 14, 2017 3:31 pm

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#
User avatar
Tomas
Posts: 1206
Joined: Sat Jun 25, 2016 12:33 pm

Tue Mar 14, 2017 3:55 pm

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.
jbruce
Posts: 4
Joined: Tue Mar 14, 2017 3:27 pm

Tue Mar 14, 2017 4:04 pm

It's instant
User avatar
Tomas
Posts: 1206
Joined: Sat Jun 25, 2016 12:33 pm

Tue Mar 14, 2017 4:07 pm

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!
jbruce
Posts: 4
Joined: Tue Mar 14, 2017 3:27 pm

Tue Mar 14, 2017 4:26 pm

Sent, thank you
jbruce
Posts: 4
Joined: Tue Mar 14, 2017 3:27 pm

Thu Mar 23, 2017 12:20 pm

This has been fixed in today's release. Thank you!
Post Reply