-
Notifications
You must be signed in to change notification settings - Fork 22
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
Connection issues w/ 1.3.4 #29
Comments
Hello @sboutros, There were no changes to the SSH keys. I can't think of a reason why this would be an issue. As for immediate mitigation: I don't know why you would need to deal with the directory the keys are stored in. They should be managed by the addon and the docker virtualization (they are NOT in your typical configuration folder, not sure if that is clear?). Truth be told, I myself have never touched the filesystem in the background. |
Thanks for the quick response!
I will work on that.
Where do I find the logs for the install process?
…Sent from my iPhone
On Nov 15, 2024, at 7:19 PM, Thomas Dietrich ***@***.***> wrote:
Hello @sboutros<https://github.com/sboutros>,
Sorry to hear! The major change in 1.3.x was the remote_forwarding refactor, plus some additional changes to ensure and keep proper SSH connection+forwarding.
3212fc8...master<3212fc8...master>
There were no changes to the SSH keys. I can't think of a reason why this would be an issue.
As for immediate mitigation: I don't know why you would need to deal with the directory the keys are stored in. They should be managed by the addon and the docker virtualization (they are NOT in your typical configuration folder, not sure if that is clear?). Truth be told, I myself have never touched the filesystem in the background.
Could you please uninstall, rebuild, reinstall, start the addon and post your full redacted log here? Thanks
—
Reply to this email directly, view it on GitHub<#29 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AANAZ5R6M4JSIIVRFDTLGC32A2FPRAVCNFSM6AAAAABR3ZLAGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBQGE4TMMZVG4>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Not the install process. Simply the log from your first execution which you can find on the HA web UI |
|
All looks good to me. Did this resolve your issue? |
No connection at the end of that - isn't that what the last 9 or so log lines indicate? |
The connection succeeded but the port forwarding fails.
Because of that the addon fails and stops. That is intended behavior. The problem is that your port forwarding does not work. Is the port blocked on the remote server? Also I can see the forwarding line two times:
Are you sure that you have updated your configuration using the new |
I had to set Mentioning this for future visittors because it is not obvious that you can enter |
Hey @bbkr you should mention your intent behind using "*". If you do not know what it means, it probably doesn't do what you wanted. Did you read the DOCS?
|
In my setup I have: Summer house: with HAOS machine accessing internet through LTE modem with no public IP. I made summer house accessible under
So connection to So in my case |
Sounds good to me! My setup is actually quite similar (https://github.com/ThomDietrich/home-assistant-addons/blob/master/autossh/DOCS.md#option-3-docker-based-solution), except for the need to access on the regular house network. I always go through the public domain. Why make the difference? Anyway, in your case the * makes sense. |
@sboutros is your issue resolved? |
Long time user - noticed a few nodes down that were auto-updated to v1.3.x
No key or config changes on either side.
Failures in the logs point to incorrect/missing keys.
In the logs/prepared ssh command I see "-i /data/ssh_keys/autossh_rsa_key" but that directory/file does not exist.
What am I missing, considering it was previously working.
I just ran a force_keygen and it does indicate that dir/file should exist yet it does not.
"Your identification has been saved in /data/ssh_keys/autossh_rsa_key"
I do have a /data/host_keys directory but that's it.
I've also uninstalled/reinstalled and manually created /data/ssh_keys/ + force_keygen - no luck.
Core = 2024.9.3
Supervisor = 2024.11.3
Operating System = 13.1
Frontend = 20240909.1
Seeting this at the end of each connection try in the logs:
debug1: remote forward failure for: listen 127.0.0.1:8123, connect 172.30.32.1:8123
Error: remote port forwarding failed for listen port 8123
The text was updated successfully, but these errors were encountered: