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

et linux client cannot connect to localhost running etserver #567

Open
arkus352 opened this issue Feb 28, 2023 · 4 comments
Open

et linux client cannot connect to localhost running etserver #567

arkus352 opened this issue Feb 28, 2023 · 4 comments

Comments

@arkus352
Copy link

To test my linux installation, I tried doing et localhost but that failed with Error starting ET process through ssh, please make sure your ssh works first.

Here are the steps I've tried so far to debug:

  1. ssh localhost works - I have passwordless ssh setup, not sure if that matters.
  2. Choice of client shell (sh/bash) does not make a difference.
  3. et -v 9 --logtostdout localhost returns unmatched " - I cannot make out what this refers to.
> [INFO 2023-02-28 03:13:49,733 client-main ParseConfigFile.hpp:1400] unsupported config line: IdentityFile /home/xxxx/.ssh/id_rsa, ignored
> [INFO 2023-02-28 03:13:49,733 client-main ParseConfigFile.hpp:1400] unsupported config line: ServerAliveInterval 120, ignored
> [INFO 2023-02-28 03:13:49,734 client-main ParseConfigFile.hpp:1181] /etc/ssh/ssh_config.d/*.confnot found
> [INFO 2023-02-28 03:13:49,734 client-main TerminalClientMain.cpp:198] Parsed ssh config file, connecting to localhost
> [V1 2023-02-28 03:13:49,734 client-main TerminalClientMain.cpp:15] Connecting
> [V4 2023-02-28 03:13:49,735 client-main TcpSocketHandler.cpp:83] Before selecting sockFd
> [V4 2023-02-28 03:13:49,735 client-main TcpSocketHandler.cpp:87] sockFd 8is selected8
> [INFO 2023-02-28 03:13:49,735 client-main TcpSocketHandler.cpp:96] Connected to server: localhost using fd 8
> [V1 2023-02-28 03:13:49,736 client-main UnixSocketHandler.cpp:166] Closing connection: 8
> Unmatched '''.
> Unmatched '''.
> Error starting ET process through ssh, please make sure your ssh works first
@jshort
Copy link
Collaborator

jshort commented Mar 2, 2023

Anything in your server logs (/tmp/etserver-.*)?

@MisterTea
Copy link
Owner

MisterTea commented Mar 3, 2023 via email

@arkus352
Copy link
Author

arkus352 commented Mar 3, 2023

I moved my .ssh out of the way - this did not help.

Here are the server side logs:

INFO 2023-02-28 02:57:23,246 etserver-main TerminalServerMain.cpp:185] In child, about to start server.
[INFO 2023-02-28 02:57:23,247 etserver-main TcpSocketHandler.cpp:224] Listening on 0.0.0.0:2022/2/1/6
[INFO 2023-02-28 02:57:23,247 etserver-main TcpSocketHandler.cpp:224] Listening on 0.0.0.0:2022/10/1/6
[INFO 2023-02-28 02:57:23,247 etserver-main TerminalServer.cpp:23] Creating server
[WARNING 2023-02-28 02:57:49,134 server-clientHandler ServerConnection.cpp:127] Error handling new client: Failed a call to readAll
[WARNING 2023-02-28 02:58:03,467 server-clientHandler ServerConnection.cpp:127] Error handling new client: Failed a call to readAll
[WARNING 2023-02-28 03:02:11,210 server-clientHandler ServerConnection.cpp:127] Error handling new client: Failed a call to readAll
[WARNING 2023-02-28 03:02:44,498 server-clientHandler ServerConnection.cpp:127] Error handling new client: Failed a call to readAll
[WARNING 2023-02-28 03:05:51,742 server-clientHandler ServerConnection.cpp:127] Error handling new client: Failed a call to readAll
[WARNING 2023-02-28 03:13:49,736 server-clientHandler ServerConnection.cpp:127] Error handling new client: Failed a call to readAll
[WARNING 2023-02-28 03:22:08,957 server-clientHandler ServerConnection.cpp:127] Error handling new client: Failed a call to readAll
[WARNING 2023-03-03 05:00:38,968 server-clientHandler ServerConnection.cpp:127] Error handling new client: Failed a call to readAll

Here are the client side logs:

Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
Unmatched '''.
Unmatched '''.
Shutting down sentry

@MisterTea
Copy link
Owner

MisterTea commented Mar 3, 2023 via email

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

3 participants