Closed Lard4 closed 3 years ago
This seems like an issue with the underlying SSH agent and SSH session freeze is a relatively common issue with Raspberry Pi, Can you try SSHing directly (without a tunnel or localproxy) from the same source to the same Raspberry Pi to see if it also freezes?
I tried this on my machine to see if I can reproduce it
export AWSIOT_TUNNEL_ACCESS_TOKEN=<SOURCE_TOKEN>
./localproxy -s 5555 -r us-west-2 -v 5
export AWSIOT_TUNNEL_ACCESS_TOKEN=<SOURCE_TOKEN>
./localproxy -d 22 -r us-west-2 -v 5
ssh $USER@localhost -p 5555
# Print the localproxy binary, it's about 5 MB so I figured it should be big enough
cat localproxy
Closing the issue due to inactivity.
Describe the bug
The tunnel completely locks up and the SSH session hangs (can't even ctrl-c) after an indeterminate amount of time (or data transfer). The only way to get out of the lockup is to delete the tunnel in the AWS console and restart the entire connection again.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the tunnel opens and works properly until it times out or gets closed or deleted.
Actual behavior
it locks up after some time and needs to be recreated.
Logs
N/A. the tunnel does not output anything abnormal to the logs.
Environment (please complete the following information):
N/A