oxidized: D-Link DES-1210-28/ME: timed out while waiting for more data

Doesn’t work with DES-1210-28/ME, while other switch models does work. But I see in the logs of the switch that oxidized is connected to the switch and sends the command disable clipaging

W, [2018-09-12T11:58:56.394296 #645]  WARN -- : 192.168.249.17 raised Net::ReadTimeout (rescued Timeout::Error) with msg "timed out while waiting for more data"
W, [2018-09-12T11:58:56.917507 #645]  WARN -- : ololo status no_connection, retry attempt 1
W, [2018-09-12T11:59:17.411140 #645]  WARN -- : 192.168.249.17 raised Net::ReadTimeout (rescued Timeout::Error) with msg "timed out while waiting for more data"
W, [2018-09-12T11:59:17.952693 #645]  WARN -- : ololo status no_connection, retry attempt 2
W, [2018-09-12T11:59:38.438458 #645]  WARN -- : 192.168.249.17 raised Net::ReadTimeout (rescued Timeout::Error) with msg "timed out while waiting for more data"
W, [2018-09-12T11:59:39.028510 #645]  WARN -- : ololo status no_connection, retry attempt 3
W, [2018-09-12T11:59:59.545813 #645]  WARN -- : 192.168.249.17 raised Net::ReadTimeout (rescued Timeout::Error) with msg "timed out while waiting for more data"
W, [2018-09-12T12:00:00.056363 #645]  WARN -- : ololo status no_connection, retries exhausted, giving up

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (5 by maintainers)

Most upvoted comments

Hi. For DGS-1210-10/ME i have this tcpdump:

0000   00 00 00 00 00 00 00 00 00 00 00 00 08 00 45 00   ..............E.
0010   00 36 a8 ce 00 00 3a 06 dd a1 0a 31 85 04 0a 40   .6....:....1...@
0020   60 dd 00 17 dd 72 6e ca aa 7b cf c0 38 a2 80 18   `....rn..{..8...
0030   23 ff 13 76 00 00 01 01 08 0a 11 49 a2 1f e5 35   #..v.......I...5
0040   a0 10 0d 0a                                       ....
0000   00 00 00 00 00 00 00 00 00 00 00 00 08 00 45 00   ..............E.
0010   00 52 a8 cf 00 00 3a 06 dd 84 0a 31 85 04 0a 40   .R....:....1...@
0020   60 dd 00 17 dd 72 6e ca aa 7d cf c0 38 a2 80 18   `....rn..}..8...
0030   23 ff e4 53 00 00 01 01 08 0a 11 49 a2 1f e5 35   #..S.......I...5
0040   a0 10 1b 5b 32 37 6d 0d 20 20 20 20 20 20 20 20   ...[27m.        
0050   20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d                  .
0000   00 00 00 00 00 00 00 00 00 00 00 00 08 00 45 00   ..............E.
0010   00 47 a8 d0 00 00 3a 06 dd 8e 0a 31 85 04 0a 40   .G....:....1...@
0020   60 dd 00 17 dd 72 6e ca aa 9b cf c0 38 a2 80 18   `....rn.....8...
0030   23 ff 41 4d 00 00 01 01 08 0a 11 49 a2 1f e5 35   #.AM.......I...5
0040   a0 10 0d 44 47 53 2d 31 32 31 30 2d 31 30 2f 4d   ...DGS-1210-10/M
0050   45 3a 35 23 20                                    E:5# 

And this regexp work for me now:

^(\e\[27m)?(\r*[\w\s.@()\/:-]+[#>]\s?)$

So, please edit prompt in dlink.rb to this and test

  prompt /^(\e\[27m)?(\r*[\w\s.@()\/:-]+[#>]\s?)$/