Skip to content
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

新版core启动shadowsocks节点配置漏了一行导致无法启动 #363

Open
RnJ4 opened this issue Feb 19, 2024 · 1 comment
Open

新版core启动shadowsocks节点配置漏了一行导致无法启动 #363

RnJ4 opened this issue Feb 19, 2024 · 1 comment

Comments

@RnJ4
Copy link

RnJ4 commented Feb 19, 2024

core2.3.1配置shadowsocks节点后,生成的配置节选:

  {
	"inbounds": [{
			"listen": "127.0.0.1",
			"port": 50999,
			"protocol": "dokodemo-door",
			"settings": {
				"address": "127.0.0.1"
			},
			"streamSettings": null,
			"tag": "api",
			"sniffing": null,
			"allocate": null
		},
		{
			"listen": "0.0.0.0",
			"port": 20999,
			"protocol": "shadowsocks",
			"settings": {
				"network": ""
			},
			"streamSettings": {
				"network": "tcp",
				"security": "none",
				"tlsSettings": {}
			},
			"tag": "user",
			"sniffing": null,
			"allocate": null
		}
	]
}```



在shadowsocks的settings里少了一个"clients":[],缺少这个会导致xray报错Shadowsocks password is not specified.
@jonssonyan
Copy link
Contributor

trojan-panel-core实现是通过xray的api动态管理用户(trojan-go,hysteria1/2,naiveproxy同样也是),而不是修改配置文件后重启xray实现,所以没有clients字段,clients信息存在内存里面。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants