asyncssh icon indicating copy to clipboard operation
asyncssh copied to clipboard

Dynamic forwarding uncaught exception

Open zanda8893 opened this issue 1 year ago • 7 comments

INFO:asyncssh:[conn=2] Opening direct TCP connection to www.google.com, port 443
INFO:asyncssh:[conn=2]   Client address: 127.0.0.1, port 43318
DEBUG:asyncssh:[conn=2, chan=40] Set write buffer limits: low-water=16384, high-water=65536
INFO:asyncssh:[conn=2] Opening direct TCP connection to incoming.telemetry.mozilla.org, port 443
INFO:asyncssh:[conn=2]   Client address: 127.0.0.1, port 60672
DEBUG:asyncssh:[conn=2, chan=41] Set write buffer limits: low-water=16384, high-water=65536
INFO:asyncssh:[conn=2] Opening direct TCP connection to lh3.google.com, port 443
INFO:asyncssh:[conn=2]   Client address: 127.0.0.1, port 60686
DEBUG:asyncssh:[conn=2, chan=42] Set write buffer limits: low-water=16384, high-water=65536
INFO:asyncssh:[conn=2] Opening direct TCP connection to fonts.gstatic.com, port 443
INFO:asyncssh:[conn=2]   Client address: 127.0.0.1, port 60698
DEBUG:asyncssh:[conn=2, chan=43] Set write buffer limits: low-water=16384, high-water=65536
INFO:asyncssh:[conn=2, chan=43] Closing channel
DEBUG:asyncssh:[conn=2] Uncaught exception
Traceback (most recent call last):
  File "/home/zanda/new_tools/fstn_tools/automated_vm_connection/.venv/lib/python3.12/site-packages/asyncssh/connection.py", line 1333, in data_received
    while self._inpbuf and self._recv_handler():
                           ^^^^^^^^^^^^^^^^^^^^
  File "/home/zanda/new_tools/fstn_tools/automated_vm_connection/.venv/lib/python3.12/site-packages/asyncssh/connection.py", line 1598, in _recv_packet
    processed = handler.process_packet(pkttype, seq, packet)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/zanda/new_tools/fstn_tools/automated_vm_connection/.venv/lib/python3.12/site-packages/asyncssh/packet.py", line 237, in process_packet
    self._packet_handlers[pkttype](self, pkttype, pktid, packet)
  File "/home/zanda/new_tools/fstn_tools/automated_vm_connection/.venv/lib/python3.12/site-packages/asyncssh/channel.py", line 625, in _process_eof
    self._flush_recv_buf()
  File "/home/zanda/new_tools/fstn_tools/automated_vm_connection/.venv/lib/python3.12/site-packages/asyncssh/channel.py", line 348, in _flush_recv_buf
    assert self._session is not None
           ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
INFO:asyncssh:[conn=1, chan=0] Aborting channel
INFO:asyncssh:[conn=2] Connection failure: 

zanda8893 avatar Oct 14 '24 15:10 zanda8893