GithubHelp home page GithubHelp logo

Comments (7)

kontsevoy avatar kontsevoy commented on May 13, 2024 3

I think I figured this out. Teleconsole uses Teleport SSH certificates under the hood and if the client/server time do not agree you may get an expired certificate. We're releasing Teleport 3.0 soon and I will be updating Teleconsole on it which should make a lot of things smoother. Going to keep this open for now.

from teleconsole.

apua avatar apua commented on May 13, 2024

I meet the same issue with v0.3.1 , debug log is as below.

There is https_proxy, and curl https://teleconsole.com, curl https://as.teleconsole.com, and so on, are no problem.

Don't know why it said "unknown session". I guess "session" is about SSH, but "403" is HTTP status code.

In addition, it fails to join session, either.

DEBU[0000] Server: https://as.teleconsole.com:443, Args: []  file=clt/main.go:39 func=clt.(*App).DebugDump
INFO[0000] Getting version from https://as.teleconsole.com:443  file=clt/api_client.go:71 func=clt.(*APIClient).CheckVersion
INFO[0000] Connecting to https://as.teleconsole.com:443  file=clt/api_client.go:105 func=clt.(*APIClient).CheckVersion
Starting local SSH server on localhost...
Requesting a disposable SSH proxy on as.teleconsole.com for ray...
INFO[0001] Requesting a new session for ray forwarding <nil>  file=clt/api_client.go:120 func=clt.(*APIClient).RequestNewSession
403 Forbidden: Unknown session

DEBU[0004]
ERROR REPORT:
Original Error: *clt.HTTPClientError 403 Forbidden: Unknown session

Stack Trace:
        /home/ekontsevoy/go/src/github.com/gravitational/teleconsole/clt/api_client.go:147 github.com/gravitational/teleconsole/clt.(*APIClient).RequestNewSession
        /home/ekontsevoy/go/src/github.com/gravitational/teleconsole/clt/clt.go:97 github.com/gravitational/teleconsole/clt.StartBroadcast
        /home/ekontsevoy/go/src/github.com/gravitational/teleconsole/clt/main.go:182 github.com/gravitational/teleconsole/clt.(*App).Start
        /home/ekontsevoy/go/src/github.com/gravitational/teleconsole/main.go:45 main.main
        /opt/go/src/runtime/proc.go:192 runtime.main
        /opt/go/src/runtime/asm_amd64.s:2087 runtime.goexit
User Message:
  file=teleconsole/main.go:61 func=main.fatalIf

from teleconsole.

kontsevoy avatar kontsevoy commented on May 13, 2024

hey guys, I have been trying to reproduce this, to no avail... the proxy is running on Azure and is periodically taken down for maintenance (brief downtime) so if you try to start a session in the middle of a daemon restart, you'll see this.

from teleconsole.

stge4code avatar stge4code commented on May 13, 2024

Kind of strange bug. The problem with connection disappears when I change my system time to UTC.

from teleconsole.

ccthiel avatar ccthiel commented on May 13, 2024

Getting the same issue:

WARN[0000] syslog not available. reverting to stderr     file=utils/cli.go:45
DEBU[0000] Server: https://teleconsole.com:443, Args: []  file=clt/main.go:39 func=clt.(*App).DebugDump
INFO[0000] Ping http://teleconsole.com/ping              file=geo/geo.go:41 func=geo.FindFastestEndpoint.func1
INFO[0000] Ping http://eu.teleconsole.com/ping           file=geo/geo.go:41 func=geo.FindFastestEndpoint.func1
INFO[0000] Ping http://as.teleconsole.com/ping           file=geo/geo.go:41 func=geo.FindFastestEndpoint.func1
INFO[0000] teleconsole.com responded in 74.1836ms        file=geo/geo.go:60 func=geo.FindFastestEndpoint
INFO[0000] Getting version from https://teleconsole.com:443  file=clt/api_client.go:71 func=clt.(*APIClient).CheckVersion
INFO[0000] Connecting to https://teleconsole.com:443     file=clt/api_client.go:105 func=clt.(*APIClient).CheckVersion
Starting local SSH server on localhost...
Requesting a disposable SSH proxy on teleconsole.com for cthiel...
INFO[0001] Requesting a new session for cthiel forwarding <nil>  file=clt/api_client.go:120 func=clt.(*APIClient).RequestNewSession
403 Forbidden: Unknown session

DEBU[0004]
ERROR REPORT:
Original Error: *clt.HTTPClientError 403 Forbidden: Unknown session

Stack Trace:
        /home/ekontsevoy/go/src/github.com/gravitational/teleconsole/clt/api_client.go:147 github.com/gravitational/teleconsole/clt.(*APIClient).RequestNewSession
        /home/ekontsevoy/go/src/github.com/gravitational/teleconsole/clt/clt.go:97 github.com/gravitational/teleconsole/clt.StartBroadcast
        /home/ekontsevoy/go/src/github.com/gravitational/teleconsole/clt/main.go:182 github.com/gravitational/teleconsole/clt.(*App).Start
        /home/ekontsevoy/go/src/github.com/gravitational/teleconsole/main.go:45 main.main
        /opt/go/src/runtime/proc.go:192 runtime.main
        /opt/go/src/runtime/asm_amd64.s:2087 runtime.goexit
User Message:
  file=teleconsole/main.go:61 func=main.fatalIf

from teleconsole.

Kampii avatar Kampii commented on May 13, 2024

@kontsevoy I am experiencing a problem when teleconsole disconnects the user after a few minutes. Is it somehow related to this? What is the solution?

from teleconsole.

kontsevoy avatar kontsevoy commented on May 13, 2024

@Kampii teleconsole is a free service and lately there's been a big growth in usage. Short answer: your nearest POP (there are 3) gets overloaded eventually. We'll see if we can allocate more resources to it soon.

from teleconsole.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.