skywire icon indicating copy to clipboard operation
skywire copied to clipboard

trouble when attempting to re-establish the same connection when restarting the visor

Open 0pcom opened this issue 2 years ago • 0 comments

Perhaps symptomatic of an unclean exit, or perhaps the transport was not closed properly

my attempt was to (re)use this feature:

https://github.com/skycoin/skywire/wiki/SSH-over-SOCKS5-Proxy

after having initially used it and stopped it, possibly restarting the visor between the first and second attempt, possibly interrupting the first successful attempt by restarting the visor. I'm certain the visor was allowed to gracefully exit instead of having a violent death, but it seems things get stuck on subsequent attempts here:

Jan 25 11:05:34 node skywire[570425]: [2023-01-25T11:05:34-06:00] DEBUG [router]: Established transport exist. Type: sudph
Jan 25 11:05:34 node skywire[570425]: [2023-01-25T11:05:34-06:00] DEBUG [router]: Requesting new routes from 024b774d2115af59051cde18ed2ef9206fbb9cee572c3660e4445e21f4cf6cf906 to 03c758a0daabab4b4bbd524cf46306212818b051b9d92949bd8acdf6226aad32e6
Jan 25 11:05:35 node skywire[570425]: [2023-01-25T11:05:35-06:00] DEBUG (STDOUT) [proc:skysocks-client:c30eb0add33a4ac19c4047fea21026d3]: func = retrier, current_backoff = 1s Retrying...
Jan 25 11:05:35 node skywire[570425]: [2023-01-25T11:05:35-06:00] DEBUG [router]: Established transport exist. Type: sudph
Jan 25 11:05:35 node skywire[570425]: [2023-01-25T11:05:35-06:00] DEBUG [router]: Requesting new routes from 024b774d2115af59051cde18ed2ef9206fbb9cee572c3660e4445e21f4cf6cf906 to 03c758a0daabab4b4bbd524cf46306212818b051b9d92949bd8acdf6226aad32e6
Jan 25 11:05:37 node skywire[570425]: [2023-01-25T11:05:37-06:00] DEBUG (STDOUT) [proc:skysocks-client:c30eb0add33a4ac19c4047fea21026d3]: func = retrier, current_backoff = 1s Retrying...
Jan 25 11:05:37 node skywire[570425]: [2023-01-25T11:05:37-06:00] DEBUG [router]: Established transport exist. Type: sudph
Jan 25 11:05:37 node skywire[570425]: [2023-01-25T11:05:37-06:00] DEBUG [router]: Requesting new routes from 024b774d2115af59051cde18ed2ef9206fbb9cee572c3660e4445e21f4cf6cf906 to 03c758a0daabab4b4bbd524cf46306212818b051b9d92949bd8acdf6226aad32e6
Jan 25 11:05:37 node skywire[570425]: 2023/01/25 11:05:37 [node/PPcY8Hsjql-000102] "GET http://127.0.0.1:8000/api/visors/024b774d2115af59051cde18ed2ef9206fbb9cee572c3660e4445e21f4cf6cf906/summary HTTP/1.1" from 127.0.0.1:56090 - 200 1654B in 10.870078ms
Jan 25 11:05:38 node skywire[570425]: [2023-01-25T11:05:38-06:00] DEBUG (STDOUT) [proc:skysocks-client:c30eb0add33a4ac19c4047fea21026d3]: func = retrier, current_backoff = 1s Retrying...
Jan 25 11:05:38 node skywire[570425]: [2023-01-25T11:05:38-06:00] DEBUG [router]: Established transport exist. Type: sudph
Jan 25 11:05:38 node skywire[570425]: [2023-01-25T11:05:38-06:00] DEBUG [router]: Requesting new routes from 024b774d2115af59051cde18ed2ef9206fbb9cee572c3660e4445e21f4cf6cf906 to 03c758a0daabab4b4bbd524cf46306212818b051b9d92949bd8acdf6226aad32e6
Jan 25 11:05:39 node skywire[570425]: [2023-01-25T11:05:39-06:00] DEBUG (STDOUT) [proc:skysocks-client:c30eb0add33a4ac19c4047fea21026d3]: func = retrier, current_backoff = 1s Retrying...
Jan 25 11:05:39 node skywire[570425]: [2023-01-25T11:05:39-06:00] DEBUG [router]: Established transport exist. Type: sudph
Jan 25 11:05:39 node skywire[570425]: [2023-01-25T11:05:39-06:00] DEBUG [router]: Requesting new routes from 024b774d2115af59051cde18ed2ef9206fbb9cee572c3660e4445e21f4cf6cf906 to 03c758a0daabab4b4bbd524cf46306212818b051b9d92949bd8acdf6226aad32e6
Jan 25 11:05:39 node skywire[570425]: [2023-01-25T11:05:39-06:00] INFO [public_autoconnect]: Fetching public visors
Jan 25 11:05:40 node skywire[570425]: [2023-01-25T11:05:40-06:00] DEBUG (STDOUT) [proc:skysocks-client:c30eb0add33a4ac19c4047fea21026d3]: func = retrier, current_backoff = 1s Retrying...
Jan 25 11:05:40 node skywire[570425]: [2023-01-25T11:05:40-06:00] DEBUG [router]: Established transport exist. Type: sudph
Jan 25 11:05:40 node skywire[570425]: [2023-01-25T11:05:40-06:00] DEBUG [router]: Requesting new routes from 024b774d2115af59051cde18ed2ef9206fbb9cee572c3660e4445e21f4cf6cf906 to 03c758a0daabab4b4bbd524cf46306212818b051b9d92949bd8acdf6226aad32e6
Jan 25 11:05:41 node skywire[570425]: [2023-01-25T11:05:41-06:00] DEBUG (STDOUT) [proc:skysocks-client:c30eb0add33a4ac19c4047fea21026d3]: func = retrier, current_backoff = 1s Retrying...
Jan 25 11:05:41 node skywire[570425]: [2023-01-25T11:05:41-06:00] DEBUG [router]: Established transport exist. Type: sudph
Jan 25 11:05:41 node skywire[570425]: [2023-01-25T11:05:41-06:00] DEBUG [router]: Requesting new routes from 024b774d2115af59051cde18ed2ef9206fbb9cee572c3660e4445e21f4cf6cf906 to 03c758a0daabab4b4bbd524cf46306212818b051b9d92949bd8acdf6226aad32e6

this repeats indefinitely. And there is no way to kill it from the cli or the ui currently. And restarting it doesn't seem to help but if you back off for a while a while and then try again, it works.

0pcom avatar Jan 26 '23 00:01 0pcom