1
23.1 Legacy Series / Re: Contantly getting 503 Service Unavailable when accessing WebGUI
« on: March 18, 2023, 01:34:13 pm »
Hello,
I have same behavior.
after a while, I have the error 503 and I can see on log file that
lighttpd was complaining that socket 127.0.0.1:443 is already in use.
And yes I verified with sockstat that the socket is already in use by lighttpd .
I restarted opnsense, I am able to login on webgui from a short period and from the dashboard webgui is marked stopped !!
Very strange behavior because after a while, the 503 error happened again.
As from the previous version, it was working fine all the time. I checked what was wrong.
Using ssh session, I tried to restart all service but it failed to start webgui.
So to solve this problem, from command line :
sockstat shows lighttpd running and listening on the right port
I stopped the lighttpd process using kill command.
I started the lighttpd using /usr/local/etc/rc.restart_webgui.
now I am able to log in webgui and it is shown as running from dashboard.
I don’t understand why just after a reboot, dashboard is showing webgui not started even if lighttpd is running and listening on all sockets for the right port( listening on loopback, lan and wan addresses)
I have same behavior.
after a while, I have the error 503 and I can see on log file that
lighttpd was complaining that socket 127.0.0.1:443 is already in use.
And yes I verified with sockstat that the socket is already in use by lighttpd .
I restarted opnsense, I am able to login on webgui from a short period and from the dashboard webgui is marked stopped !!
Very strange behavior because after a while, the 503 error happened again.
As from the previous version, it was working fine all the time. I checked what was wrong.
Using ssh session, I tried to restart all service but it failed to start webgui.
So to solve this problem, from command line :
sockstat shows lighttpd running and listening on the right port
I stopped the lighttpd process using kill command.
I started the lighttpd using /usr/local/etc/rc.restart_webgui.
now I am able to log in webgui and it is shown as running from dashboard.
I don’t understand why just after a reboot, dashboard is showing webgui not started even if lighttpd is running and listening on all sockets for the right port( listening on loopback, lan and wan addresses)