IPv6 is broken after Update to 23.1.4 + 503 Service unavailable error

Started by PhoenixRider, March 21, 2023, 03:14:03 PM

Previous topic - Next topic
I had to revert back to 23.1.3.

radvd service is definitely broken in 23.1.4 with "can't join ipv6-allrouters" in the System: Routes: Log File




I was getting 503s trying to reach the web gui as well - ended up shelling in and restarting lighttpd, after which I was able to log in. This isn't the first time I've had trouble with that tho...

March 22, 2023, 12:06:15 AM #19 Last Edit: March 22, 2023, 12:10:53 AM by Tremonti_Listener
Thanks, what is the shell command to restart lighttpd?

From other Thread:

"with the Hotfix 23.1.4_1 my IPv6 work fine now, thanks. But i had a 503 Service Unavailable Error. I think i have found the issue:

System -> Settings -> Administration -> Listening Interfaces

My settings was only on LAN-Interface. After Upgrade to 23.1.4(_1) i received the 503 Service unavailable Error on OPNsense Web Interface. Now i have set to All (recommended) and the issue is gone."

Looks like the persistence to get this minor issue fixed made the problem worse on 23.1.4. I've written a new patch that should sidestep the underlying issue:

https://github.com/opnsense/core/commit/33ad50456

# opnsense-patch 33ad50456

Please report back if it works or not...


Cheers,
Franco

Hi franco,

i have applied this patch, but the patch doesn't work. I receive furthermore 503 error. The login window will appear. I enter my login details (incl. 2FA) and then the 503 error comes up.

That's funny because that's the first time you say 503 is not on the login page. I'm sorry, I can't work on moving goal posts.


Quote from: franco on March 22, 2023, 08:16:52 AM
Looks like the persistence to get this minor issue fixed made the problem worse on 23.1.4. I've written a new patch that should sidestep the underlying issue:

https://github.com/opnsense/core/commit/33ad50456

# opnsense-patch 33ad50456

Please report back if it works or not...


Cheers,
Franco

I'll apply the patch and let you know if I still the issue in the future - thanks Franco!

Did both of you get in this situation after upgrading from 22.x to 23.x?

For me, that upgrade got IPv6 totally (and for me, unfixable) upset.

After installing 23.x from a clean slate, basic IPv6 works immediately. No problems with the GUI either. What not works for me: static DHCP6 leases (with recreating the rest of the configuration still a work in progress).

I wasn't on 22.7 long enough to really get a sense if this came with 23 - all I know is that at some point I was getting 503s, and the logs implied it was because the service couldn't grab the port. Easy enough to fix, though, so I've not really worried about it...

Can you check the PHP error file on a sudden 503?

# cat /tmp/PHP_errors.log


Cheers,
Franco

Quote from: franco on March 22, 2023, 08:16:52 AM
Looks like the persistence to get this minor issue fixed made the problem worse on 23.1.4. I've written a new patch that should sidestep the underlying issue:

https://github.com/opnsense/core/commit/33ad50456

# opnsense-patch 33ad50456

Please report back if it works or not...


Cheers,
Franco

Having 503 too, but as far as I can see my IPv6 works (PPPoE+IPv6 DHCP on WAN side, stateless DHCPv6 on the LAN side)

the patch, on the other hand, unfortunately does not solve the 503 when webgui is accessed (via LAN IPv4 address, for what it worths)

also no PHP error logs under /tmp.

Thanks,
Ivan.

Update:

First applied the patch from Franco I did a 'configctl webgui restart' and that didn't bring back GUI
Then I went to reply to Franco in this thread.

After that I rebooted opnsense, and this time GUI is working. I rebooted the second time and GUI still works, so hoping it lasts.

Thanks
Ivan.