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

Client: Error reading from channel: Socket error: disconnected / Server: [tmate] FATAL Received a bad message #82

Closed
snadal opened this issue May 2, 2016 · 5 comments

Comments

@snadal
Copy link

snadal commented May 2, 2016

Hello,

I'm setting up an internal tmate-slave server, but when running tmate, I got this message on the client

Error reading from channel: Socket error: disconnected

And this one on the server

[tmate] FATAL Received a bad message

I am attaching both server and client logs

tmate-client-3649.txt
tmate-server-3651.txt

Any hints ?

FYI, I tried using PPA build on Ubuntu 14.04 and 15.10 and tmate-slave is running on docker, built from sources. I could not build client from source as I needed to install latest msgpack, I'm not sure it this will help.

Thank you !

@nviennot
Copy link
Member

nviennot commented May 2, 2016

make sure you are running the latest tmate-slave server version from the git repo, and you should be good

@snadal
Copy link
Author

snadal commented May 2, 2016

Thank you for your answer !

It seems I am already running 2.2.1

On 14.04

# dpkg -s tmate

Package: tmate
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 701
Maintainer: Nicolas Viennot [email protected]
Architecture: amd64
Version: 2.2.1-03ubuntu14.04.1
Depends: libc6 (>= 2.14), libevent-2.0-5 (>= 2.0.10-stable), libmsgpack3 (>= 0.5.1), libssh-4 (>= 0.6.1), libtinfo5, libutempter0 (>= 1.1.5)
Conflicts: tmate-nightly
Description: Fork of tmux, provides an instant pairing solution
tmate is a fork of tmux. tmate and tmux can coexist on the same system, they
do not conflict with each other.
Homepage: http://tmate.io/

And on 15.10

# dpkg -s tmate

Package: tmate
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 681
Maintainer: Nicolas Viennot [email protected]
Architecture: amd64
Version: 2.2.1-03ubuntu15.10.1
Depends: libc6 (>= 2.14), libevent-2.0-5 (>= 2.0.10-stable), libmsgpack3 (>= 0.5.1), libssh-4 (>= 0.6.1), libtinfo5, libutempter0 (>= 1.1.5)
Conflicts: tmate-nightly
Description: Fork of tmux, provides an instant pairing solution
tmate is a fork of tmux. tmate and tmux can coexist on the same system, they
do not conflict with each other.
Homepage: http://tmate.io/

I tried tmate-nightly without success. (same error message on client and server)

Package: tmate-nightly
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 701
Maintainer: Nicolas Viennot [email protected]
Architecture: amd64
Version: 2.2.1+201604212302+git3168~ubuntu14.04.1
Depends: libc6 (>= 2.14), libevent-2.0-5 (>= 2.0.10-stable), libmsgpack3 (>= 0.5.1), libssh-4 (>= 0.6.1), libtinfo5, libutempter0 (>= 1.1.5)
Conflicts: tmate
Description: Fork of tmux, provides an instant pairing solution
tmate is a fork of tmux. tmate and tmux can coexist on the same system, they
do not conflict with each other.
Homepage: http://tmate.io/

Do you think building from source will fix it ?

@nviennot
Copy link
Member

nviennot commented May 2, 2016

I was referring to the internal tmate-slave server you are running, not the tmate binary

@snadal
Copy link
Author

snadal commented May 2, 2016

Ops, you're right :)

On Ubuntu 15.10 after compiling msgpack from source and install libssh 0.7 (ppa:kedazo/libssh-0.7.x), everything ran fine.

Thank you !

@snadal snadal closed this as completed May 2, 2016
@nviennot
Copy link
Member

nviennot commented May 2, 2016

awesome!

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

2 participants