Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to swap a pod due to SSH error #1354

Open
ryannealeigh opened this issue May 18, 2020 · 0 comments
Open

Unable to swap a pod due to SSH error #1354

ryannealeigh opened this issue May 18, 2020 · 0 comments

Comments

@ryannealeigh
Copy link

What were you trying to do?

Swap a pod. I have run this same command many times in the past.

What did you expect to happen?

The pod would spin up locally without any issue and proxy to the remote k8s cluster.

What happened instead?

I got this SSH error, and the command hangs.

Automatically included information

Command line: ['/usr/local/bin/telepresence', '--swap-deployment', 'git', '--expose', '81:80', '--logfile', '/dev/null', '--run', 'npm', 'run', 'start:verbose']
Version: 0.105
Python version: 3.7.7 (default, Mar 10 2020, 15:43:33) [Clang 11.0.0 (clang-1100.0.33.17)]
kubectl version: Client Version: v1.18.2 // Server Version: v1.16.6-beta.0
oc version: (error: [Errno 2] No such file or directory: 'oc': 'oc')
OS: Darwin Ryans-MacBook-Pro.local 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar 4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64

Background process (SSH port forward (socks and proxy poll)) exited with return code 255. Command was:
  ssh -N -oServerAliveInterval=1 -oServerAliveCountMax=10 -F /dev/null -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -q -p 65086 telepresence@127.0.0.1 -L127.0.0.1:65096:127.0.0.1:9050 -R9055:127.0.0.1:65097


Background process (SSH port forward (exposed ports)) exited with return code 255. Command was:
  ssh -N -oServerAliveInterval=1 -oServerAliveCountMax=10 -F /dev/null -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -q -p 65086 telepresence@127.0.0.1 -R '*:80:127.0.0.1:81'

Logs:

quest from ('192.168.1.118', 53235) to None: 37 bytes
  19.0 TEL | [30] SSH port forward (socks and proxy poll): exit 255
  19.0 TEL | [29] SSH port forward (exposed ports): exit 255
  20.2 TEL | [49] timed out after 5.01 secs.
  20.2 TEL | [50] Capturing: python3 -c 'import socket; socket.gethostbyname("hellotelepresence-6.a.sanity.check.telepresence.io")'
  20.3  36 | c : DNS request from ('192.168.1.118', 62688) to None: 68 bytes
  21.2 TEL | [50] timed out after 1.01 secs.
  22.0  36 | c : DNS request from ('192.168.1.118', 63147) to None: 38 bytes
  22.0  36 | c : DNS request from ('192.168.1.118', 55577) to None: 38 bytes
  22.6  36 | c : Accept TCP: 192.168.1.118:65130 -> 34.82.39.241:443.
  22.6  36 | c : Accept TCP: 192.168.1.118:65131 -> 34.82.39.241:443.
  22.6  36 | c : Accept TCP: 192.168.1.118:65132 -> 34.82.39.241:443.
  22.8  36 | c : DNS request from ('192.168.1.118', 50850) to None: 34 bytes
  22.8  36 | c : DNS request from ('192.168.1.118', 61681) to None: 34 bytes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant