Flint 2 web UI connection refused

Hello

I had to reboot my router, which I did through the web UI, and afterwards I couldn't access the web UI anymore, from two different PCs using two different browsers (chrome and firefox). Reading another post on this forum, I successfully ssh'd in and ran ps | grep nginx and curl -v 127.0.0.1:

10917 root      1232 S    grep nginx
root@GL-MT6000:~# curl -v 127.0.0.1
* Failed to connect to 127.0.0.1 port 80 after 0 ms: Connection refused
curl: (7) Failed to connect to 127.0.0.1 port 80 after 0 ms: Connection refused

So I think my nginx is borked for some reason, any advice on how to restart/fix this? Thanks in advance!

If it's the nginx that's not starting:
/etc/init.d/nginx start

That did not work, unfortunately. Is there any other reason the connection would be refused?

Depends on what is broken.

Try "logread" to get your logs.

Here's what I get from logread:

Fri Mar 28 17:14:29 2025 authpriv.notice dropbear[19620]: Password auth succeeded for 'root' from 192.168.8.194:53886
Fri Mar 28 17:14:46 2025 daemon.info procd: Instance nginx::instance1 s in a crash loop 7 crashes, 0 seconds since last crash
Fri Mar 28 17:17:35 2025 kern.notice kernel: [147693.023461] 7986@C08L3,ap_cmm_peer_assoc_req_action() 1714:  Recv Assoc from STA - 74:40:bb:06:30:ad
Fri Mar 28 17:17:35 2025 kern.notice kernel: [147693.032871] 7986@C08L3,ap_cmm_peer_assoc_req_action() 2241: ASSOC Send ASSOC response (Status=0)...
Fri Mar 28 17:17:35 2025 kern.notice kernel: [147693.042042] 7986@C01L3,wifi_sys_conn_act() 1115: wdev idx = 2
Fri Mar 28 17:17:35 2025 kern.notice kernel: [147693.048118] 7986@C08L3,hw_ctrl_flow_v2_connt_act() 215: wdev_idx=2
Fri Mar 28 17:17:35 2025 kern.notice kernel: [147693.161089] 7986@C15L3,WPABuildPairMsg1() 5310: <=== send Msg1 of 4-way
Fri Mar 28 17:17:35 2025 kern.notice kernel: [147693.167795] 7986@C15L3,PeerPairMsg2Action() 6303: ===>Receive msg 2
Fri Mar 28 17:17:35 2025 kern.notice kernel: [147693.174476] 7986@C15L3,WPABuildPairMsg3() 5595: <=== send Msg3 of 4-way
Fri Mar 28 17:17:35 2025 kern.notice kernel: [147693.181173] 7986@C15L3,PeerPairMsg4Action() 6734: ===>Receive msg 4
Fri Mar 28 17:17:35 2025 kern.warn kernel: [147693.192738] 7986@C15L2,PeerPairMsg4Action() 7098: AP SETKEYS DONE(rax0) - AKMMap=WPA2PSK, PairwiseCipher=AES, GroupCipher=AES, wcid=5 from 74:40:bb:06:30:ad
Fri Mar 28 17:17:35 2025 kern.warn kernel: [147693.192738]
Fri Mar 28 17:17:35 2025 daemon.info dnsmasq-dhcp[5329]: DHCPREQUEST(br-lan) 192.168.8.154 74:40:bb:06:30:ad
Fri Mar 28 17:17:35 2025 daemon.info dnsmasq-dhcp[5329]: DHCPACK(br-lan) 192.168.8.154 74:40:bb:06:30:ad alyssa-HP-Laptop-17-ca0xxx

interspersed between a whole bunch of Fri Mar 28 17:27:59 2025 daemon.err eco[26474]: call wifi.get_config fail: connect "127.0.0.1 80" fail: Connection refused with just the number after "eco" changing. I'm guessing the relevant line is the "nginx in a crash loop" line, could I be missing packages or something?

Did you run install package updates by chance?

Nope, just rebooted from the webUI after my wifi shut down. Should I?

Also, what is this "eco" daemon, I can't find anything in the docs about it?

Maybe another power down. Wait 10 minutes. Try again.

Consider reset button to restore if you are able to get backup config off or redo it all again.

Yeah, I'll probably just do that tonight.

I have a GLinet Beryl AX and am running into identical behavior, with the same logs.

The issue is intermittent, and I can't seem to find good steps to reproduce it, but roughly 40% of the time after booting the router I can't access the login page, it's only resolved by power cycling the device.

Important to note that apart from this everything** seems to work fine while in this broken state.

  • Custom DNS resolution works
  • All devices can connect to and access the internet
  • I'm still able to ssh into the router

**Important to note that my reverse proxy using NginX doesn't work which seems to imply that nginx sporadically fails to load.

This issue is fairly annoying so I'd like to bring attention to it.

Hello,

May I know what is the log about the nginx?

If reset firmware for Beryl AX, does the Web UI stable to access?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.