telepresenceio / telepresence

Local development against a remote Kubernetes or OpenShift cluster
https://www.telepresence.io
Other
6.58k stars 519 forks source link

Turning on telepresence issue #1231

Closed IreneGohtami closed 4 years ago

IreneGohtami commented 4 years ago

What were you trying to do?

Turn on telepresence using: telepresence --namespace xendit-integration

What did you expect to happen?

(please tell us)

What happened instead?

(please tell us - the traceback is automatically included, see below. use https://gist.github.com to pass along full telepresence.log)

Automatically included information

Command line: ['/usr/local/bin/telepresence', '--namespace', 'xendit-integration'] Version: 0.103 Python version: 3.7.6 (default, Dec 30 2019, 19:38:28) [Clang 11.0.0 (clang-1100.0.33.16)] kubectl version: Client Version: v1.13.11-dispatcher // Server Version: v1.12.10-gke.17 oc version: (error: [Errno 2] No such file or directory: 'oc': 'oc') OS: Darwin ip-192-168-10-249.ap-southeast-1.compute.internal 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/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 310, in connect_sshuttle
    raise RuntimeError("vpn-tcp tunnel did not connect")
RuntimeError: vpn-tcp tunnel did not connect

Logs:

sult for b'edgeapi.slack.com' is ['54.214.87.230']
  55.5 TEL | [60] timed out after 5.01 secs.
  55.5 TEL | [61] Capturing: python3 -c 'import socket; socket.gethostbyname("hellotelepresence-16.a.sanity.check.telepresence.io")'
  55.6  26 | c : DNS request from ('172.25.249.121', 62447) to None: 69 bytes
  55.7  26 | c : DNS request from ('172.25.249.121', 49999) to None: 35 bytes
  55.7  14 | 2020-01-16T08:59:09+0000 [stdout#info] Sanity check: b'hellotelepresence-16.a.sanity.check.telepresence.io'
  55.9  14 | 2020-01-16T08:59:09+0000 [stdout#info] A query: b'edgeapi.slack.com'
  55.9  14 | 2020-01-16T08:59:09+0000 [stdout#info] Result for b'edgeapi.slack.com' is ['54.214.87.230']
  56.5 TEL | [61] timed out after 1.01 secs.
  58.3  26 | c : DNS request from ('172.25.249.121', 62455) to None: 33 bytes
  58.5  14 | 2020-01-16T08:59:11+0000 [stdout#info] A query: b'www.gstatic.com'
  58.5  14 | 2020-01-16T08:59:11+0000 [stdout#info] Result for b'www.gstatic.com' is ['173.194.202.94']
stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. Issue Reporter: Is this still a problem? If not, please close this issue. Developers: Do you need more information? Is this a duplicate? What's the next step?