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

Telepresence error while running #1359

Open
nitinkapur opened this issue May 25, 2020 · 0 comments
Open

Telepresence error while running #1359

nitinkapur opened this issue May 25, 2020 · 0 comments

Comments

@nitinkapur
Copy link

What were you trying to do?

Using telepresence with a service

What did you expect to happen?

Should have run without errors.

What happened instead?

Still works but got the below error

Automatically included information

Command line: ['/usr/local/bin/telepresence', '--namespace', 'dev', '-s', 'service-providers-deployment', '--expose', '5000:80']
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.3 // Server Version: v1.15.11-eks-af3caf
oc version: (error: [Errno 2] No such file or directory: 'oc': 'oc')
OS: Darwin Nitins-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

Traceback (most recent call last):
  File "/usr/local/bin/telepresence/telepresence/cli.py", line 135, in crash_reporting
    yield
  File "/usr/local/bin/telepresence/telepresence/main.py", line 82, in main
    runner, remote_info, env, socks_port, ssh, mount_dir, pod_info
  File "/usr/local/bin/telepresence/telepresence/outbound/setup.py", line 112, in launch
    runner_, remote_info, command, args.also_proxy, env, ssh
  File "/usr/local/bin/telepresence/telepresence/outbound/local.py", line 126, in launch_vpn
    connect_sshuttle(runner, remote_info, also_proxy, ssh)
  File "/usr/local/bin/telepresence/telepresence/outbound/vpn.py", line 328, in connect_sshuttle
    raise RuntimeError("vpn-tcp tunnel did not connect")
RuntimeError: vpn-tcp tunnel did not connect

Logs:

turing: python3 -c 'import socket; socket.gethostbyname("hellotelepresence-124.a.sanity.check.telepresence.io")'
  67.8 TEL | [293] exit 1 in 0.07 secs.
  67.9 TEL | Wait for vpn-tcp connection: hellotelepresence-125
  67.9 TEL | [294] Capturing: python3 -c 'import socket; socket.gethostbyname("hellotelepresence-125")'
  68.0 TEL | [294] exit 1 in 0.07 secs.
  68.0 TEL | [295] Capturing: python3 -c 'import socket; socket.gethostbyname("hellotelepresence-125.a.sanity.check.telepresence.io")'
  68.1 TEL | [295] exit 1 in 0.12 secs.
  68.2 TEL | Wait for vpn-tcp connection: hellotelepresence-126
  68.2 TEL | [296] Capturing: python3 -c 'import socket; socket.gethostbyname("hellotelepresence-126")'
  68.3 TEL | [296] exit 1 in 0.07 secs.
  68.3 TEL | [297] Capturing: python3 -c 'import socket; socket.gethostbyname("hellotelepresence-126.a.sanity.check.telepresence.io")'
  68.4 TEL | [298] Running: sudo -n echo -n
  68.4 TEL | [297] exit 1 in 0.12 secs.
  68.4 TEL | [298] ran in 0.04 secs.

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