-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] mata内核与metacubexd面板无法正常使用 #3791
Comments
嘗試 |
我也遇到相同的问题 |
应该是 Metacubexd 的问题。 我发现主力机 Metacubexd 空白后,翻出备用机,备用机的旧版 Metacubexd 一切正常。 |
检查并更新下载来的Meta有问题,我手动上传后面板能正常使用了 |
也许更新的mata版本可能不是最新的,也可能是不兼容最新的Meta内核 |
自动更新的 版本是 ...
<Route path={ROUTES.Setup} component={Setup} />
<Route path="*" component={Overview} /> // 默认路由
... onMount(() => {
const query = new URLSearchParams(location.search)
if (query.has('hostname')) {
void onSubmit({
url: `${window.location.protocol}//${query.get('hostname')}${
query.get('port') ? `:${query.get('port')}` : ''
}`,
secret: query.get('secret') ?? '',
})
} else if (endpointList().length === 0) {
/**
we only try auto login when there is nothing in endpoint list
or user who is using default config won't be able to switch to another endpoint ever
*/
void onSubmit({
url: 'http://127.0.0.1:9090',
secret: '',
})
}
}) 后台生成面板地址用的是 function meta_dashboard(btn)
{
XHR.get('<%=luci.dispatcher.build_url("admin", "services", "openclash", "status")%>', null, function(x, status) {
btn.disabled = true;
btn.value = '<%:Metacubexd Control Panel%>';
if (status.daip && window.location.hostname == status.daip) {
url9='<%="http://'+window.location.hostname+':'+status.cn_port+'/ui/metacubexd/#/?hostname='+ window.location.hostname + '&port=' + status.cn_port + '&secret=' + status.dase +'"%>';
}
else if (status.daip && window.location.hostname != status.daip && status.db_foward_domain && status.db_foward_port) {
var ui_proto = status.db_forward_ssl == 0 ? 'http://' : 'https://';
url9='<%="'+ui_proto+status.db_foward_domain+':'+status.db_foward_port+'/ui/metacubexd/#/?hostname='+ status.db_foward_domain + '&port=' + status.db_foward_port + '&secret=' + status.dase +'"%>';
}
else {
url9='<%="http://'+window.location.hostname+':'+status.cn_port+'/ui/metacubexd/"%>';
}
winOpen(url9);
return false;
});
};
|
我也遇到了相同的问题,我尝试着直接clone metacubexd build运行是没有问题的 @garryshield 有用,在openclash原先打开的链接中加入了setup后能正常使用了 |
@GuangYu-yu hi,我理解你这里所说的 meta 指的是 metacubexd 是吧? 请问还有其他可以尝试的方法吗? |
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 |
方法有用。我全新安装的0.46.016-beta,使用meta内核下metacubexd面板就进不去。 |
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 |
Verify Steps
OpenClash Version
v0.46.003-248
Bug on Environment
Official OpenWrt, Immortalwrt, Other
OpenWrt Version
openwrt-23.05
Bug on Platform
Linux-amd64(x86-64)
Describe the Bug
mata内核使用后,提示无法获取 General 部分的转发端口设置以及dns端口等问题。metacubexd面板完全空白,一直是这样。
To Reproduce
不使用mata内核,就能够正常启动使用了。
OpenClash Log
OpenClash Config
No response
Expected Behavior
正常使用mata内核以及面板
Additional Context
No response
The text was updated successfully, but these errors were encountered: