Open AmibaWorld opened 2 years ago
按照比较官方的方法安装,出现问题,请哪位号脉一下 版本 0.10.6 config.json: { "run_type": "server", "local_addr": "0.0.0.0", "local_port": 12345, "remote_addr": "127.0.0.1", "remote_port": 80, "password": [ "Password1*+" ], "ssl": { "cert": ".crt", "key": ".key", "sni": "**", "alpn": [ "http/1.1" ], "fallback_port": 80 }, "router": { "enabled": true, "block": [ "geoip:private" ], "geoip": "/etc/trojan-go/geoip.dat", "geosite": "/etc/trojan-go/geosite.dat" } }
症状如下: root@:/usr/bin# systemctl restart trojan-go root@:/usr/bin# date root@:/usr/bin# systemctl status trojan-go ● trojan-go.service - Trojan-Go - An unidentifiable mechanism that helps you bypass GFW Loaded: loaded (/etc/systemd/system/trojan-go.service; disabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Fri 2022-04-9 17:45:19 utc; 3s ago Docs: https://p4gefau1t.github.io/trojan-go/ Process: 20203 ExecStart=/usr/bin/trojan-go -config /etc/trojan-go/config.json (code=exited, status=1/FAILURE) Main PID: 20203 (code=exited, status=1/FAILURE)
Apr 9 17:45:19 systemd[1]: trojan-go.service: Main process exited, code=exited, status=1/FAILURE Apr 9 17:45:19 systemd[1]: trojan-go.service: Failed with result 'exit-code'. root@:/usr/bin# /usr/bin/trojan-go -config /etc/trojan-go/config.json [INFO] 2022/04/9 17:45:26 trojan-go v0.10.6 initializing [WARN] 2022/04/9 17:45:26 empty tls fallback address [INFO] 2022/04/9 17:45:26 geoip:private loaded [INFO] 2022/04/9 17:45:26 router client created [INFO] 2022/04/9 17:45:38 tcp connection from 123.123.123.123:58510 [ERROR] 2022/04/9 17:45:38 github.com/p4gefau1t/trojan-go/tunnel/tls.(Server).acceptLoop.func1:server.go:140 tls handshake failed | EOF [INFO] 2022/04/9 17:45:38 tcp connection from 123.123.123.123:58512 [ERROR] 2022/04/9 17:45:38 github.com/p4gefau1t/trojan-go/tunnel/tls.(Server).acceptLoop.func1:server.go:140 tls handshake failed | EOF
谷歌了几天依旧无法解决,trojan 没有这个问题 谢谢了
这个应该是你的ssl 证书有问题,格式不认。
这个节点在不在国内?是不是 TLS 证书的域名没有备案被中途阻断了。
按照比较官方的方法安装,出现问题,请哪位号脉一下 版本 0.10.6 config.json: { "run_type": "server", "local_addr": "0.0.0.0", "local_port": 12345, "remote_addr": "127.0.0.1", "remote_port": 80, "password": [ "Password1*+" ], "ssl": { "cert": ".crt", "key": ".key", "sni": "**", "alpn": [ "http/1.1" ],
"fallback_port": 80 }, "router": { "enabled": true, "block": [ "geoip:private" ], "geoip": "/etc/trojan-go/geoip.dat", "geosite": "/etc/trojan-go/geosite.dat" } }
症状如下: root@:/usr/bin# systemctl restart trojan-go root@:/usr/bin# date root@:/usr/bin# systemctl status trojan-go ● trojan-go.service - Trojan-Go - An unidentifiable mechanism that helps you bypass GFW Loaded: loaded (/etc/systemd/system/trojan-go.service; disabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Fri 2022-04-9 17:45:19 utc; 3s ago Docs: https://p4gefau1t.github.io/trojan-go/ Process: 20203 ExecStart=/usr/bin/trojan-go -config /etc/trojan-go/config.json (code=exited, status=1/FAILURE) Main PID: 20203 (code=exited, status=1/FAILURE)
Apr 9 17:45:19 systemd[1]: trojan-go.service: Main process exited, code=exited, status=1/FAILURE Apr 9 17:45:19 systemd[1]: trojan-go.service: Failed with result 'exit-code'. root@:/usr/bin# /usr/bin/trojan-go -config /etc/trojan-go/config.json [INFO] 2022/04/9 17:45:26 trojan-go v0.10.6 initializing [WARN] 2022/04/9 17:45:26 empty tls fallback address [INFO] 2022/04/9 17:45:26 geoip:private loaded [INFO] 2022/04/9 17:45:26 router client created [INFO] 2022/04/9 17:45:38 tcp connection from 123.123.123.123:58510 [ERROR] 2022/04/9 17:45:38 github.com/p4gefau1t/trojan-go/tunnel/tls.(Server).acceptLoop.func1:server.go:140 tls handshake failed | EOF [INFO] 2022/04/9 17:45:38 tcp connection from 123.123.123.123:58512 [ERROR] 2022/04/9 17:45:38 github.com/p4gefau1t/trojan-go/tunnel/tls.(Server).acceptLoop.func1:server.go:140 tls handshake failed | EOF
谷歌了几天依旧无法解决,trojan 没有这个问题 谢谢了