-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
luci-base: ui.js rollback does not work on a connection loss (LAN IP change) #7537
Comments
Hmm. A bit of an edge case to be honest. The device likely committed to the new IP, to which you didn't connect. IIUC, I think connection to the (new IP) interface is a prerequisite to commit to the changes for the option you chose. Not certain. What does @jow- say here? |
It is not an edge case, but the core functionality of that rollback dialog, so that you don't accidentally lock you out when erroneously changing something, or when intentionally change Lan IP which was the largest soft-brick reason in past years. See #1769 from year 2018 with lots of tweaking to get it right. It has worked earlier well. But I think that there was a button style revamp or something like that a while ago, and wonder if that may have any role in this , if the behaviour has really changed |
As far as I know it was just the button text. |
@feckert 1 a ) changing LAN ip subnet and unplugging PC for the timeout and it worked ok, 1 b ) changing LAN ip subnet and just left browser to wait for the old address for the timeout and it worked ok, 2 ) 3 ) Does it fail to you again? Ps. I wonder if feckert found some corner case... |
Worked fine for you. So what should work, works. @feckert is this case reproducible? Can you successfully repeat it? |
BTW @feckert what is your build date or master commit SHA? |
I have done a screencast: This is what I am doing. Does not work Works as expected
This is my base commit SHA c9cc773449d71d930ed2fd1e4e8a1dd95d91ae25 |
Might you have somehow too complex logic / connection path fron the browser to to the router? The error mentions "connection 10.2.3.40:4332" which sounds unrelated to the 192.168.0.50 context. |
Good hint. I will follow it up. I'll leave the ticket open. I'll clarify this tomorrow. @hnyman Thanks |
I was going to propose something similar, that some alternative VPN might have been up and available. |
Is there an existing issue for this?
screenshots or captures
No response
Actual behaviour
I have changed the IP of the interface via which I am connected. In my case it was the LAN IP.
After I pressed
Apply
I get the following modal overview.If I press
Apply, reverting in case of connectivity loss
the connection does not recover!Does anyone else have this issue?
Expected behaviour
If I press the button
Apply, reverting in case of connectivity loss
, the system should roleback to theconfiguration that worked.
Steps to reproduce
Network->Interface->lan change the IP
Press
Apply
Press
Apply, reverting in case of connectivity loss
Additional Information
What browsers do you see the problem on?
Firefox
Relevant log output
No response
The text was updated successfully, but these errors were encountered: