-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add --debug option #1
Comments
Thanks @martjushev , I think you have a valid point here, and we should definitely add the ability to better debug the SSH connection. |
@martjushev just updating, |
@martjushev did you find a solution to this specific error message? I'm also getting it, and am a bit stuck as the relevant port is open, and the logs look normal on the agent side. |
No solution, only a workaround: I have set up my own profile in ~/.ssh/config for the server which runs clearml-agent. I run clearml-session until the point where it unsuccessfully tries to SSH into the server. I then Ctrl+C this process (which doesn't kill the session on the remote server) and then open my own SSH tunnel |
Hi @martjushev |
I'm not trying to SSH into the container, only into the host machine (which is enough to give me access to jupyter server). SSH connection to host machine initiated by clearml-session succeeds if I'm physically located in the same network as the host machine. Otherwise, I use ngrok to access the host machine. I assume that if I would be able to customize the args to ssh executable, then it would work (I would add the address + port provided by ngrok and IdentityFile + UseKeychain ) clearml-session/clearml_session/__main__.py Line 518 in bf1851c
|
Yep I think this is the main issue,
ngrok basically does reverse proxy for you...
That is a great idea! what did you have in mind ? |
Closing this issue for now, the extra arguments will be added to the documentation. If you still have problems related to SSH or other things, feel free to open another issue and link to this one. |
Feature request
clearml-session CLI should have a --debug argument, which would increase verbosity of logging.
Motivation:
There is a workstation behind NAT which has clearml-agent running. Invoking clearml-session on another machine fails:
it would be beneficial to understand why exactly tunneling fails. Currently there is no logging for that
clearml-session/clearml_session/__main__.py
Lines 563 to 565 in bf1851c
Probably there are also other parts of code where extra debug logging could be handy
The text was updated successfully, but these errors were encountered: