After login attempt WebUI is no longer accessible

Started by Azulath, July 29, 2024, 09:02:36 PM

Previous topic - Next topic
Since the other thread (https://forum.opnsense.org/index.php?topic=41818.0 )seems like a completely different issue I have decided to open this thread here.

After the update before the latest one - although I am not 100% sure that the update was causing the issue - I am unable to log into the WebUI after my DEC740 has run for a while. So, usually after a cold boot I can access the UI and log into it and change settings if I so desire. However, after a few days when I visit the WebUI it shows up but I just hangs during my login attempt. (I can then try on a different device.) During the whole time, I can connect via ssh. That being said, I have experienced the firewall to stop working after some time of not being reachable.

To solve the issue, I have to shut it down and then leave it unplugged for 1-2mins. Afterwards, everything works again until some time has passed.

I don't know which logs are needed or what info you need to help me solve the issue, so please just let me know and I will try to provide it.

Let's start with the output of `dmesg` from an SSH session when in that failed state.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Sure thing, thanks! I wanted to post it yesterday but it seems to have recovered. Here you go:
https://pastebin.com/dvd70Lmt

I am wondering if me not logging out of the WebClient and letting it run into an expiration might be causing this. (I have not changed expiration settings, so if there are any they are default.)

Please post that here inside code tags. Thank you.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Your IPv6 appears completely broken...


igb0: link state changed to DOWN
vlan0: changing name to 'vlan01'
igb2: link state changed to DOWN
igb0: link state changed to UP
vlan01: link state changed to UP
igb2: link state changed to UP
cannot forward src fe80:1::72a7:41ff:feae:cf45, dst 2600:1f14:598:a400:dc44:254c:2a20:611b, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::72a7:41ff:feae:cf45, dst 2600:1f14:598:a401:70c6:74e:dc0b:242e, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::72a7:41ff:feae:cf45, dst 2600:1f14:598:a402:476e:315c:8141:bb95, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::72a7:41ff:feae:cf45, dst 2600:1f14:598:a403:2e11:a2e:648e:57cb, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::72a7:41ff:fe71:fbfc, dst 2600:1f14:598:a400:dc44:254c:2a20:611b, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::72a7:41ff:fe71:fbfc, dst 2600:1f14:598:a401:70c6:74e:dc0b:242e, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::72a7:41ff:fe71:fbfc, dst 2600:1f14:598:a402:476e:315c:8141:bb95, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::72a7:41ff:fe71:fbfc, dst 2600:1f14:598:a403:2e11:a2e:648e:57cb, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::9e05:d6ff:fef4:685c, dst 2600:1f14:598:a402:476e:315c:8141:bb95, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::9e05:d6ff:fea2:e438, dst 2600:1f14:598:a400:dc44:254c:2a20:611b, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::9e05:d6ff:fea2:e438, dst 2600:1f14:598:a401:70c6:74e:dc0b:242e, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::9e05:d6ff:fea2:e438, dst 2600:1f14:598:a402:476e:315c:8141:bb95, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::9e05:d6ff:fea2:e438, dst 2600:1f14:598:a403:2e11:a2e:648e:57cb, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:7::8, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:7::8, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:7::8, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:7::8, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:7::8, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:7::8, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:c::7, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:c::7, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:c::7, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:c::7, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:c::7, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:c::7, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80a::2003, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80a::2003, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80a::2003, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80a::2003, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80a::2003, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80a::2003, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80d::200e, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80a::2016, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80a::2016, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80a::2016, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80a::2016, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80a::2016, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:400d:80a::2016, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:2::9, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:2::9, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:2::9, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:2::9, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:2::9, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:2::9, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:2::9, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:2::9, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:2::9, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:2::9, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:2::9, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:2::9, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:2::9, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:2::9, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a05:d018:76c:b682:9a40:864b:4752:4a0, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a05:d018:76c:b681:4c6a:cff8:fa:c28a, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a05:d018:76c:b683:614f:e339:44ef:c639, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:1::6, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:1::6, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:1::6, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:1::6, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:1::6, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::6a72:c3ff:fe41:6976, dst 2a00:1450:4016:1::6, nxt 17, rcvif igb0, outif igb2
cannot forward src fe80:1::8043:49ff:feff:1cac, dst 2603:1030:7::1, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::76d4:23ff:fefb:54ad, dst 2600:1901:0:38d7::, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::76d4:23ff:fefb:54ad, dst 2600:1901:0:38d7::, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::806e:5aff:fea6:4088, dst 2603:1030:7::1, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::c2ee:fbff:fe4b:9b51, dst 2001:4860:4802:38::223, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::c2ee:fbff:fe4b:9b51, dst 2001:4860:4802:32::223, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::c2ee:fbff:fe4b:9b51, dst 2001:4860:4802:34::223, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::8043:49ff:feff:1cac, dst 2603:1030:7::1, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::76d4:23ff:fefb:54ad, dst 2600:1901:0:38d7::, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::76d4:23ff:fefb:54ad, dst 2600:1901:0:38d7::, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::76d4:23ff:fefb:54ad, dst 2600:1901:0:38d7::, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::806e:5aff:fea6:4088, dst 2603:1030:7::1, nxt 6, rcvif igb0, outif igb2
cannot forward src fe80:1::8043:49ff:feff:1cac, dst 2603:1030:7::1, nxt 6, rcvif igb0, outif igb2

Hey, thanks for the response! I don't think this is related but to avoid any uncertainties it is still worth investigating. That being said, I don't know where to start looking or how to analyse this issue.

So, any hints would be appreciated.

GUI listening on all interfaces?
Problem is only UI, it hangs at login attempt and ssh all fine, right?
Also see if any clues in the browser's dev tools "ctr+shift+I" on many.

Quote from: cookiemonster on August 03, 2024, 12:55:25 AM
GUI listening on all interfaces?
Problem is only UI, it hangs at login attempt and ssh all fine, right?
Also see if any clues in the browser's dev tools "ctr+shift+I" on many.

If it was not listening on all interfaces, would this not mean that I would not be able to connect to it at all? Because, as I have said, the first day(s) after a shutdown/boot cycle it works as expected.

SSH is sort-of fine. There was one instance where it stopped working as well, which was followed by my network losing its connection. This was fixed by the reboot, but I have only experienced this once. Thus, it might be disregarded.

Currently it works - I was on vacation and shut everything down while being away. I will keep the devtools in mind next time it starts acting up.

> If it was not listening on all interfaces, would this not mean that I would not be able to connect to it at all? Because, as I have said, the first day(s) after a shutdown/boot cycle it works as expected.
Yes unless there is something (what you're trying to figure out) that causes a restart of services or interfaces and the well known race conditions that can happen in those cases and the listen interface is not set to "all".
In short, normally yes the logic is sound but it's a known pitfall that I thought was worth checking.

Since the last update I have not experienced this issue anymore. I don't know if it has been fixed somehow or if the issue was something else but I am glad this keeps working.

I will report back in a few days if it comes back or not. So far, thanks for all the help! :-)

Edit: Just noticed there is another update, so with "last" update I mean version "24.7.1", just to be more specific.