Flint3 LUA error when accessing webpanel

Hey all,

I’m a new user of Flint3 (BE9300). I’m running fw 4.8.1.

I played a bit with the Webpanel initially, which was working fine. Then I decided to try out LuCI web interface. When I noticed that LuCI was also exposed on the WAN IP, I decided to uninstall that.

After these steps I cannot login anymore on the Flint3 webpanel… I get the homepage but just after login I get a popup “Unknown error occurred. Please check the network environment or reboot the device.”.

If I tail the /var/log/nginx/error.log from SSH terminal I see:


2025/11/08 00:46:20 [error] 21400#0: *20 connect() to unix:/var/run/ngx-ubus-proxy.sock failed (111: Connection refused), client: 192.168.1.10, server: , request: "POST /rpc HTTP/1.1", host: "192.168.1.254", referrer: "http://192.168.1.254/"
2025/11/08 00:46:20 [error] 21400#0: *20 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:168: in function </usr/share/gl-ngx/oui-rpc.lua:1>, client: 192.168.1.10, server: , request: "POST /rpc HTTP/1.1", host: "192.168.1.254", referrer: "http://192.168.1.254/"

Is this a known error? I’ve seen in some other (older) threads that similar issues in the past were caused by the Lua pkg getting updated. My Lua packages are:

root@OpenWrt-GL-BE9300-Gateway:/etc/nginx/conf.d# opkg list | grep lua
gl-sdk4-lua-utils - git-2025.221.27155-40493f4-1
libiwinfo-lua - 2023-07-01-ca79f641-1
libiwinfo-lua54 - 1
liblua5.1.5 - 5.1.5-10
liblua5.4-5.4 - 5.4.7-1
libubox-lua - 2023-05-23-75a3b870-1
libubus-lua - 2023-06-05-f787c97b-1
libuci-lua - 2023-08-10-5781664d-1
libuci-lua54 - 1
lsqlite3-lua5.4 - 0.9.5-1
lua - 5.1.5-10
lua-cjson - 2.1.0-1
lua-cjson-lua5.4 - 2.1.0-1
lua-eco - 3.11.0-2
lua-eco-base64 - 3.11.0-2
lua-eco-dns - 3.11.0-2
lua-eco-hmac - 3.11.0-2
lua-eco-http - 3.11.0-2
lua-eco-ip - 3.11.0-2
lua-eco-log - 3.11.0-2
lua-eco-md5 - 3.11.0-2
lua-eco-mqtt - 3.11.0-2
lua-eco-netlink - 3.11.0-2
lua-eco-nl80211 - 3.11.0-2
lua-eco-sha256 - 3.11.0-2
lua-eco-socket - 3.11.0-2
lua-eco-ssl - 3.11.0-2
lua-eco-termios - 3.11.0-2
lua-eco-ubus - 3.11.0-2
luabitop - 1.0.2-1

Is Flint3 WebPanel expecting a different Lua version?

Thanks for any hint!

Well, since you messed up with the packages, it would be the best to reset the firmware and start over. Luci isn't exposed on the WAN IP usually — how did you check for that?

hey @admon ,

thanks for the answer.

Honestly I don’t feel like I “messed up with packages”. I clicked the “Install Luci” button in the Advanced Settings of the WebPanel and then later on I just clicked “Uninstall” from the same place. Although I do have SSH access, I didn’t use “opkg” manually for that exact reason: avoid messing up with packages.

But anyhow. I found the video at Reset Firmware - GL.iNet Router Docs 4 as a possible way to reset without access to the web panel. Would you suggest me to go that path?

Out of curiosity, is there a possibility to switch to a plain vanilla OpenWrt installation? Asking because the LuCI interface / OpenWRT are probably better for advanced users.

>Luci isn't exposed on the WAN IP usually — how did you check for that?

I just pointed my browser to “http://:8080” and Luci interface showed up…

You can only check from external - by using a hotspot for example and trying to reach your external IP.

Btw I managed to successfully reset my Flint3 and now I can access the webpanel again.

Still if anyone knows it would be interesting for me to know about this:

Out of curiosity, is there a possibility to switch to a plain vanilla OpenWrt installation? Asking because the LuCI interface / OpenWRT are probably better for advanced users.

thanks

This won't be possible because Flint 3 is Broadcom based and not supported by vanilla OpenWrt, afaik.

I see, that’s a pity but for now I’m all set, thanks.