Ysurac / openmptcprouter

OpenMPTCProuter is an open source solution to aggregate multiple internet connections using Multipath TCP (MPTCP) on OpenWrt
https://www.openmptcprouter.com/
GNU General Public License v3.0
1.78k stars 255 forks source link

Error in the MPTCP tab of luci on OMR 6.6 #3441

Open vempire-ghost opened 1 month ago

vempire-ghost commented 1 month ago

Expected Behavior

Luci MPTCP tab works

Current Behavior

Show a runtime error

Context (Environment)

I am starting to test snapshot 6.6 now that it has a redundant scheduler. I downloaded the most recent version, but when I run it and access the address http://192.168.100.1/cgi-bin/luci/admin/network/mptcp, only an error is shown.

Runtime error Unhandled exception during request dispatching /usr/lib/lua/luci/ucodebridge.lua:23: /usr/lib/lua/luci/model/cbi/mptcp.lua:72: bad argument #1 to 'gmatch' (string expected, got nil)

In error(), file [C] called from function [anonymous function] (/usr/lib/lua/luci/ucodebridge.lua:23) called from function ((tail call))

In [anonymous function](), file /usr/share/ucode/luci/runtime.uc, line 148, byte 45: called from function [arrow function] (/usr/share/ucode/luci/dispatcher.uc:794:4) called from function render ([C]) called from function render_action (/usr/share/ucode/luci/dispatcher.uc:768:24) called from function run_action (/usr/share/ucode/luci/dispatcher.uc:795:4) called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:1003:48) called from function run_action (/usr/share/ucode/luci/dispatcher.uc:831:78) called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:1003:48) called from anonymous function (/www/cgi-bin/luci:39:13)

return lcall.call(modname, method, ...args); Near here ----------------------------------------^

Specifications

Ysurac commented 1 month ago

Refresh the page and this will work. I will fix this ASAP.

vempire-ghost commented 1 month ago

I tried to update normally and with ctrl pressed, clear the cache, and use private mode in both Edge and Firefox, but the page did not load. I will wait for your fix.

vempire-ghost commented 2 weeks ago

Hello Ysurac, I still can't access the MPTCP configuration page in snapshot 6.6.

Ysurac commented 2 weeks ago

There is a bug, but a browser refresh always worked for me.

vempire-ghost commented 2 weeks ago

Refreshing the page sometimes changes the error but doesn't resolve it here. Another thing is that in snapshot 6.6, the new ping configuration option for the omr-tracker server is not appearing. Is this snapshot being updated?