Skip to content
New issue

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

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

Already on GitHub? # to your account

Webfrontend Session Replay not working ... sometimes #898

Closed
wohlben opened this issue Apr 5, 2017 · 1 comment · Fixed by #903
Closed

Webfrontend Session Replay not working ... sometimes #898

wohlben opened this issue Apr 5, 2017 · 1 comment · Fixed by #903

Comments

@wohlben
Copy link

wohlben commented Apr 5, 2017

There seems to be a really strange bug in the Webfrontend

My first impression was the teleport.log.severity setting, but that that didn't really hold up on further testing. Affected sessions are however permanently tainted and cant be played on the web frontend. The error only affects the webfrontend, as the tsh play $SID works fine for everything.

The access URL (node id and session id) seem to be correct (compared them to the file found in ~/log/sessions/default/${SID}.session.log and the nid from tctl nodes ls)

i think the bug might be triggered by using ctrl-d on the web console. Or at least thats when I get this in stdout from the server:

(RED) Apr 05 08:45:45 teleport-server /usr/local/bin/teleport[20644]: time="2017-04-05T08:45:45Z" level=error msg="os: process already finished"
(RED) Apr 05 08:45:45 teleport-server /usr/local/bin/teleport[20644]: time="2017-04-05T08:45:45Z" level=error msg="tls: use of closed connection"
Apr 05 08:45:45 teleport-server teleport[20644]: time="2017-04-05T08:45:45Z" level=error msg="os: process already finished" file="srv/sess.go:551" func="srv.(*session).start.func3"
Apr 05 08:45:45 teleport-server teleport[20644]: time="2017-04-05T08:45:45Z" level=error msg="tls: use of closed connection" file="utils/websocketwriter.go:100" func="utils.(*WebSockWrapper).Write"
Apr 05 08:46:47 teleport-server teleport[20644]: 2017/04/05 08:46:47 http: TLS handshake error from 127.0.0.1:48344: EOF

The server is running on an opensuse leap 42.2. I've tested from ubuntu 16.10 with latest firefox and chrome

relevant files:
affected session.log

bytes file

teleport.yml

@alex-kovoy
Copy link
Contributor

alex-kovoy commented Apr 5, 2017

Can be related #816

Notice the time and offset fields in both cases are out of order.

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

Successfully merging a pull request may close this issue.

2 participants