GL-MT6000 Web Page can't connect

Hello,

I bought the GL-MT6000 two weeks ago, configured it to work with my ISP and set the Wireless connection as well as WireGuard and some hostnames.

Everything worked flawlessly until today, when I wanted to log in the router control panel but I had an "Unknown error occurred. Please check the network environment or reboot the device." when I click on "Login". Tried with the android app but same issue.

I did access like a week ago and didn't have any problem. Also I have changed anything since them, just added two IoT devices (a watering system for the plants and a smart plug to control some lights)

I can access the cgi-bin/luci/ web. Also I can access via SSH and the /var/log/nginx/error.log looks like this:

2024/12/05 10:00:22 [crit] 17344#0: *171 connect() to unix:/var/run/ngx-ubus-proxy.sock failed (2: No such file or directory), client: 192.168.1.144, server: , request: "POST /rpc HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/"
2024/12/05 10:00:22 [error] 17344#0: *171 lua entry thread aborted: runtime error: /usr/share/gl-ngx/oui-rpc.lua:23: attempt to index local 'res' (a nil value)
stack traceback:
coroutine 0:
        /usr/share/gl-ngx/oui-rpc.lua:23: in function '?'
        /usr/share/gl-ngx/oui-rpc.lua:160: in function </usr/share/gl-ngx/oui-rpc.lua:1>, client: 192.168.1.144, server: , request: "POST /rpc HTTP/1.1", host: "192.168.1.1", referrer: "http://192.168.1.1/"

I tried to restart the router by disconecting it and also the nginx service like this:

/etc/init.d/nginx stop
cp -R /rom/etc/nginx /etc/nginx
/etc/init.d/nginx start

But didn't work.

Thanks

Did you install plugin updates or any opkg upgrade commands by chance?

Not that I remember, but surely not since the last time that I logged in.

Can you try to reboot the router as well, I mean like "plug off, plug on" or using SSH reboot

Did both of them but the problem persists.

Wireguard has stopped working as it can't resolve the DNS.

Guess I will have to hard reset on Sunday when I'm back.

That's because of GLDDNS Issues: GL DDNS outage 12/6 - #14 by Benco

1 Like

Oh great, the Wireguard is working again.

There is any way to reinstall the nginx service and without formatting?

unix:/var/run/ngx-ubus-proxy.sock failed (2: No such file or directory)

seems like this is missing

What did you do to break it?
Manually upgrades, updates or installs?

I did update all the packages so they would be up to date

That's the issue.

Updating the plugins will mostly break the router. In that case an full reset is the only thing to fix it. :frowning:

I did manage to recover the frontend by reverting 'lua-eco-ubus' (sorry for not searching more before creating this thread)

I will keep it this way until I have any other problem and really need to full reset.