kuoruan / luci-app-kcptun

LuCI support for kcptun
Apache License 2.0
316 stars 84 forks source link

LEDE版出现500 Internal Server Error #7

Closed liyiecho closed 7 years ago

liyiecho commented 7 years ago

500 Internal Server Error Sorry, the server encountered an unexpected error.


/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute function dispatcher target for entry '/admin/services/kcptun'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute cbi dispatcher target for entry '/admin/services/kcptun/overview'.
The called action terminated with an exception:
/usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/simpleform'.
A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'kcptun/overview'.
A runtime error occured: [string "/usr/lib/lua/luci/view/kcptun/overview.htm"]:32: attempt to index field 'luci-app-kcptun' (a nil value)
stack traceback:
    [C]: in function 'assert'
    /usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
    /usr/lib/lua/luci/dispatcher.lua:141: in function 

重启/etc/init.d/kcptun后,luci恢复正常 而且有时候会变成不工作状态,需要手动重启服务

kuoruan commented 7 years ago

关于第一个问题,希望能给个配置的界面截图 第二个问题,在不工作的时候是否是 CPU 或者内存占用过高?我过两天会更新一个监控进程的功能

liyiecho commented 7 years ago

重启后又正常了

screen shot 2016-11-28 at 17 48 57

这是kcptun的配置 6de11116-49e9-40af-bafa-28cbcd708906

kuoruan commented 7 years ago

不是,我要的是 设置 那个TAB的截图,然后是 /etc/config/kcptun 的内容

liyiecho commented 7 years ago

设置 4ee3ce48-423a-4d8a-8182-050c834671a0

配置 174b5066-f5ba-4c19-93a1-8dacc6390566

kuoruan commented 7 years ago

/usr/lib/lua/luci/view/kcptun/overview.htm 这个文件的第32行是什么?

liyiecho commented 7 years ago

红色标记的为第32行的内容 53efa8a7-66e2-4548-86a1-6f5f8b0d94f8

kuoruan commented 7 years ago

这里我看了,没什么问题。现在暂时不知道问题出在哪里,待测