vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
16.8k stars 3.09k forks source link

[Bug] 更新到最新的157版本以后,metacubexd面板没动静了 #3642

Closed VIKINGYFY closed 7 months ago

VIKINGYFY commented 9 months ago

Verify Steps

OpenClash Version

0.45.157

Bug on Environment

Official OpenWrt

Bug on Platform

Linux-arm64

To Reproduce

在OC更新面板随机密码功能后,metacubexd进去没动静,也无法重新登陆面板,另外2个面板进去后提示登陆,输入密码进去后正常显示,清除cookie后可以重新登陆,但这样太麻烦了,另外两个面板当不能连接的时候会弹出重新登陆的窗口

Screenshots

image image

ghost commented 9 months ago

metacubexd 的问题 https://github.com/MetaCubeX/metacubexd


另外,看代码,这个随机密码是新安装 OpenClash 且当前密码为 123456 时才会自动生成的。

https://github.com/vernesong/OpenClash/blob/cb76e2f3574d6bc3e7191be8c2b8b447d486c4fc/luci-app-openclash/root/etc/uci-defaults/luci-openclash#L47-L50

所以此版本之后如果只是单纯更新 OpenClash 那密码是不会变动的


三个解决方法 ①去 metacubexd 那边提issue,那边更新且有新的 release 版本号后去 插件设置-外部控制-更新 Metacubexd 版本 ②浏览器设置里不保存或只保存当前工作阶段管理页面的 cookie 或只用浏览器无痕/隐私模式开启管理页面 ③新安装 OpenClash 后自行去 插件设置-外部控制-管理页面登录密钥 手动设置和之前相同的密码

VIKINGYFY commented 9 months ago

metacubexd 的问题 https://github.com/MetaCubeX/metacubexd

另外,看代码,这个随机密码是新安装 OpenClash 且当前密码为 123456 时才会自动生成的。

https://github.com/vernesong/OpenClash/blob/cb76e2f3574d6bc3e7191be8c2b8b447d486c4fc/luci-app-openclash/root/etc/uci-defaults/luci-openclash#L47-L50

所以此版本之后如果只是单纯更新 OpenClash 那密码是不会变动的

三个解决方法 ①去 metacubexd 那边提issue,那边更新且有新的 release 版本号后去 插件设置-外部控制-更新 Metacubexd 版本 ②浏览器设置里不保存或只保存当前工作阶段管理页面的 cookie 或只用浏览器无痕/隐私模式开启管理页面 ③新安装 OpenClash 后自行去 插件设置-外部控制-管理页面登录密钥 手动设置和之前相同的密码

单独升级OC确实没问题,但我是R5C软路由,经常更新固件,更新后密码变了就不行了,看来只有等面板更新了

谢谢大佬帮忙,等面板更新了

github-actions[bot] commented 7 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days