High latency and slow terminal response times
alexanderturner opened this issue · comments
What happened:
Tried the docker builds v1.10.0 and latest with the same issue. Container has high CPU share and memory access but seems to have significant latency through sshportal. When I ssh the endpoint directly there is no latency (or the docker host) however through sshportal (when on the local network) latency / response time seems to be a bit all over the place.
Screen recording with authentication delay here: https://youtu.be/ghSYo1ewkGc
Not sure what next steps are to debug?
Environment:
- sshportal --version
sshportal version 1.10.0+dev (c16403fb3f93ef1b070625652de21e56da3cf21c)
- ssh sshportal info
config> info
debug mode (server): false
Hostname: sshportal
CPUs: 24
Demo mode: false
DB Driver: sqlite3
DB Conn: ./sshportal.db
Bind Address: :2222
System Time: 2020-01-06T05:58:00.964795698Z
OS Type: linux
OS Architecture: amd64
Go routines: 84
Go version (build): go1.12.6
Uptime: 14m52.457220776s
User ID: 1
User email: admin@localhost
Version: 1.10.0+dev
GIT SHA: c16403fb3f93ef1b070625652de21e56da3cf21c
GIT Branch: master
GIT Tag: v1.10.0-3-gc16403f
- OS (e.g. from /etc/os-release):
cat: /etc/release: No such file or directory
root@server:/mnt/media/@data/docker# cat /etc/os-release
NAME="Ubuntu"
VERSION="19.04 (Disco Dingo)"
- install method (e.g. go/docker/brew/...):
docker
Can you login with ssh -v?
example: ssh -v your.hostname.net -l username ?
It should show what it hangs on for so long
I had the same issue, but it was hanging on applying options from ~/.ssh/config, or waiting for DNS
Edited the file, had a whole lot of duplicate entries due to a mistake I made in ansible.
Also changed some DNS-stuff, and waiting for the testresults now