-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Use of uninitialized value in string eq at /opt/asbru/lib/asbru_conn line 175. #711
Comments
Thanks. I've been able to reproduce this. Not an easy to fix though :-/ When you rename a connection, its internal UUID is changed. Any open connection will still have the old UUID so when you try to reconnect, that UUID is not known anymore. Not sure what would be the best option here: Any comment or suggestion will be welcome. |
Occam's razor likes b) |
I think. every connections should just have 'my-new-uuid-for-this-session'. just find every window with old/renamed one and set additional variable to it |
my observations from today: sftp> Connection to 192.168.10.19 closed by remote host. sftp> ls DISCONNECTED (PRESS TO RECONNECT) (Fri Oct 23 15:15:50 2020) CONNECTING WITH ------- (Fri Oct 23 15:15:50 2020) Use of uninitialized value in string eq at /opt/asbru/lib/asbru_conn line 175. DISCONNECTED (PRESS TO RECONNECT) (Fri Oct 23 15:15:51 2020) |
Cannot reproduce this. Are you sure you did not move the node or anything other manipulation in the connection tree ? Anyway, in this issue, I'd like to focus on the initial description first and find a way to properly catch the error. |
Now I see I could be more precise.. I opened existing ssh connection in my connection tree (nothing was changed with it since last asbru close). then opened new sftp tab with this connection. then host was restarted so both connections died. then I got that error when trying to reconnect |
Into the Lines 2254 to 2256 in 1f8e8c4
That's the reason why it cannot be restarted. And Now I need to find out in which cases |
so they should not be deleted until window/tab is closed ;) |
Please try the latest commit and let us know if you notice some improvements. Now Ásbrú will preserve the temporary sessions when saving the configuration. There might be other cases when |
Hi, with latest loki branch issue is solved (at least for host reboots) |
Don't believe this has anything to do with the reboot. Likely a configuration reloads happened in between. Anyway, let's consider this closed for now. |
Hi,
steps to reproduce:
gives:
Use of uninitialized value in string eq at /opt/asbru/lib/asbru_conn line 175.
Use of uninitialized value $METHOD in string ne at /opt/asbru/lib/asbru_conn line 1317.
Use of uninitialized value $METHOD in pattern match (m//) at /opt/asbru/lib/asbru_conn line 1332.
Use of uninitialized value $METHOD in pattern match (m//) at /opt/asbru/lib/asbru_conn line 1332.
Use of uninitialized value $METHOD in string eq at /opt/asbru/lib/asbru_conn line 1332.
Use of uninitialized value $METHOD in pattern match (m//) at /opt/asbru/lib/asbru_conn line 1414.
Use of uninitialized value $METHOD in string eq at /opt/asbru/lib/asbru_conn line 1414.
Use of uninitialized value $METHOD in pattern match (m//) at /opt/asbru/lib/asbru_conn line 1498.
Use of uninitialized value $METHOD in string eq at /opt/asbru/lib/asbru_conn line 1498.
Use of uninitialized value $METHOD in pattern match (m//) at /opt/asbru/lib/asbru_conn line 1498.
Use of uninitialized value $METHOD in string eq at /opt/asbru/lib/asbru_conn line 1498.
Use of uninitialized value $METHOD in string eq at /opt/asbru/lib/asbru_conn line 1609.
debian 10 + xfce, latest loki
The text was updated successfully, but these errors were encountered: