We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v5.0.6
建立连接并正常浏览网站
无论客户端是否连接着服务器,服务端在运行两个小时后都会panic退出。
这次测试是在客户端建立好连接后,关闭客户端,让服务端自己留驻内存。两个小时后,服务端自己退出了。
不应该退出
服务端配置:
{ "log": { "error": "/root/test/log_file", "loglevel": "debug" }, "inbounds": [ { "protocol": "vless", "port": 12300, "settings": { "decryption":"none", "clients": [ { "id": "f0423ce7-fb68-44b0-ab13-77a179fa2265" } ], "detour": { "to": "dynamicPort" } }, "streamSettings": { "network": "kcp", "kcpSettings": { "seed": "seeding" } } }, { "protocol": "vless", "port": "40000-50000", "tag": "dynamicPort", "settings": { "decryption":"none" }, "allocate": { "strategy": "random", "concurrency": 8, "refresh": 64 }, "streamSettings": { "network": "kcp", "seed": "seeding" } } ], "outbounds": [ { "protocol": "freedom" } ] }
客户端配置:
{ "log": { "loglevel": "warning" }, "inbounds": [ { "port": 1080, "listen": "127.0.0.1", "protocol": "socks", "settings": { "udp": true } } ], "outbounds": [ { "protocol": "vless", "settings": { "vnext": [ { "address": "192.168.2.123", "port": 12300, "users": [ { "id": "f0423ce7-fb68-44b0-ab13-77a179fa2265", "encryption": "none" } ] } ] }, "streamSettings": { "network": "kcp", "kcpSettings": { "seed": "seeding" } } } ] }
服务器端错误日志:
2022/05/30 08:22:27 [Debug] app/log: Logger started 2022/05/30 08:22:27 [Debug] app/proxyman/inbound: creating stream worker on 0.0.0.0:12300 2022/05/30 08:22:27 [Info] transport/internet/udp: listening UDP on 0.0.0.0:42606 2022/05/30 08:22:27 [Info] transport/internet/kcp: listening on 0.0.0.0:42606 2022/05/30 08:22:27 [Info] transport/internet/udp: listening UDP on 0.0.0.0:40713 2022/05/30 08:22:27 [Info] transport/internet/kcp: listening on 0.0.0.0:40713 2022/05/30 08:22:27 [Info] transport/internet/udp: listening UDP on 0.0.0.0:43060 2022/05/30 08:22:27 [Info] transport/internet/kcp: listening on 0.0.0.0:43060 2022/05/30 08:22:27 [Info] transport/internet/udp: listening UDP on 0.0.0.0:47679 2022/05/30 08:22:27 [Info] transport/internet/kcp: listening on 0.0.0.0:47679 2022/05/30 08:22:27 [Info] transport/internet/udp: listening UDP on 0.0.0.0:45265 2022/05/30 08:22:27 [Info] transport/internet/kcp: listening on 0.0.0.0:45265 2022/05/30 08:22:27 [Info] transport/internet/udp: listening UDP on 0.0.0.0:41926 2022/05/30 08:22:27 [Info] transport/internet/kcp: listening on 0.0.0.0:41926 2022/05/30 08:22:27 [Info] transport/internet/udp: listening UDP on 0.0.0.0:43614 2022/05/30 08:22:27 [Info] transport/internet/kcp: listening on 0.0.0.0:43614 2022/05/30 08:22:27 [Info] transport/internet/udp: listening UDP on 0.0.0.0:40600 2022/05/30 08:22:27 [Info] transport/internet/kcp: listening on 0.0.0.0:40600 2022/05/30 08:22:27 [Info] transport/internet/udp: listening UDP on 0.0.0.0:12300 2022/05/30 08:22:27 [Info] transport/internet/kcp: listening on 0.0.0.0:12300 2022/05/30 08:22:27 [Warning] V2Ray 5.0.6 started 2022/05/30 08:22:45 [Info] transport/internet/kcp: #17081 creating connection to 192.168.2.167:53946 2022/05/30 08:22:45 [Info] [2468224415] proxy/vless/inbound: firstLen = 554 2022/05/30 08:22:45 [Info] [2468224415] proxy/vless/inbound: received request for tcp:www.google.com:443 2022/05/30 08:22:45 [Warning] [2468224415] app/dispatcher: default route for tcp:www.google.com:443 2022/05/30 08:22:45 [Info] [2468224415] proxy/freedom: opening connection to tcp:www.google.com:443 2022/05/30 08:22:45 [Info] [2468224415] transport/internet/tcp: dialing TCP to tcp:www.google.com:443 2022/05/30 08:22:45 [Info] transport/internet/kcp: #17082 creating connection to 192.168.2.167:53947 2022/05/30 08:22:45 [Info] [1120234308] proxy/vless/inbound: firstLen = 554 2022/05/30 08:22:45 [Info] [1120234308] proxy/vless/inbound: received request for tcp:www.google.com:443 2022/05/30 08:22:45 [Warning] [1120234308] app/dispatcher: default route for tcp:www.google.com:443 2022/05/30 08:22:45 [Info] [1120234308] proxy/freedom: opening connection to tcp:www.google.com:443 2022/05/30 08:22:45 [Info] [1120234308] transport/internet/tcp: dialing TCP to tcp:www.google.com:443 2022/05/30 08:22:46 [Info] transport/internet/kcp: #17083 creating connection to 192.168.2.167:53948 2022/05/30 08:22:46 [Info] [3729553933] proxy/vless/inbound: firstLen = 554 2022/05/30 08:22:46 [Info] [3729553933] proxy/vless/inbound: received request for tcp:www.google.com:443 2022/05/30 08:22:46 [Warning] [3729553933] app/dispatcher: default route for tcp:www.google.com:443 2022/05/30 08:22:46 [Info] [3729553933] proxy/freedom: opening connection to tcp:www.google.com:443 2022/05/30 08:22:46 [Info] [3729553933] transport/internet/tcp: dialing TCP to tcp:www.google.com:443 2022/05/30 08:22:46 [Info] transport/internet/kcp: #17084 creating connection to 192.168.2.167:53949 2022/05/30 08:22:46 [Info] [3974152701] proxy/vless/inbound: firstLen = 554 2022/05/30 08:22:46 [Info] [3974152701] proxy/vless/inbound: received request for tcp:www.google.com:443 2022/05/30 08:22:46 [Warning] [3974152701] app/dispatcher: default route for tcp:www.google.com:443 2022/05/30 08:22:46 [Info] [3974152701] proxy/freedom: opening connection to tcp:www.google.com:443 2022/05/30 08:22:46 [Info] [3974152701] transport/internet/tcp: dialing TCP to tcp:www.google.com:443 2022/05/30 08:22:46 [Debug] transport/internet/kcp: #17081 entering state 4 at 508 2022/05/30 08:22:46 [Info] transport/internet/kcp: #17085 creating connection to 192.168.2.167:53950 2022/05/30 08:22:46 [Info] [2510884010] proxy/vless/inbound: firstLen = 554 2022/05/30 08:22:46 [Info] [2510884010] proxy/vless/inbound: received request for tcp:www.google.com:443 2022/05/30 08:22:46 [Warning] [2510884010] app/dispatcher: default route for tcp:www.google.com:443 2022/05/30 08:22:46 [Info] [2510884010] proxy/freedom: opening connection to tcp:www.google.com:443 2022/05/30 08:22:46 [Info] [2510884010] transport/internet/tcp: dialing TCP to tcp:www.google.com:443 2022/05/30 08:22:46 [Debug] transport/internet/kcp: #17084 entering state 4 at 301 2022/05/30 08:22:46 [Debug] transport/internet/kcp: #17083 entering state 4 at 409 2022/05/30 08:22:46 [Info] transport/internet/kcp: #17086 creating connection to 192.168.2.167:53951 2022/05/30 08:22:46 [Info] [2218515749] proxy/vless/inbound: firstLen = 497 2022/05/30 08:22:46 [Info] [2218515749] proxy/vless/inbound: received request for tcp:ocsp.pki.goog:80 2022/05/30 08:22:46 [Warning] [2218515749] app/dispatcher: default route for tcp:ocsp.pki.goog:80 2022/05/30 08:22:46 [Info] [2218515749] proxy/freedom: opening connection to tcp:ocsp.pki.goog:80 2022/05/30 08:22:46 [Info] [2218515749] transport/internet/tcp: dialing TCP to tcp:ocsp.pki.goog:80 2022/05/30 08:22:47 [Info] transport/internet/kcp: #17087 creating connection to 192.168.2.167:53952 2022/05/30 08:22:47 [Info] [1894540084] proxy/vless/inbound: firstLen = 566 2022/05/30 08:22:47 [Info] [1894540084] proxy/vless/inbound: received request for tcp:mozilla.cloudflare-dns.com:443 2022/05/30 08:22:47 [Warning] [1894540084] app/dispatcher: default route for tcp:mozilla.cloudflare-dns.com:443 2022/05/30 08:22:47 [Info] [1894540084] proxy/freedom: opening connection to tcp:mozilla.cloudflare-dns.com:443 2022/05/30 08:22:47 [Info] [1894540084] transport/internet/tcp: dialing TCP to tcp:mozilla.cloudflare-dns.com:443 2022/05/30 08:22:47 [Info] [2468224415] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:22:47 [Info] [2468224415] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:22:47 [Debug] transport/internet/kcp: #17081 entering state 5 at 1509 2022/05/30 08:22:47 [Info] transport/internet/kcp: #17081 closing connection to 192.168.2.167:53946 2022/05/30 08:22:47 [Info] transport/internet/kcp: #17081 terminating connection to 192.168.2.167:53946 2022/05/30 08:22:47 [Info] transport/internet/kcp: #17088 creating connection to 192.168.2.167:53953 2022/05/30 08:22:47 [Info] [2624053358] proxy/vless/inbound: firstLen = 383 2022/05/30 08:22:47 [Info] [2624053358] proxy/vless/inbound: received request for tcp:detectportal.firefox.com:80 2022/05/30 08:22:47 [Warning] [2624053358] app/dispatcher: default route for tcp:detectportal.firefox.com:80 2022/05/30 08:22:47 [Info] [2624053358] proxy/freedom: opening connection to tcp:detectportal.firefox.com:80 2022/05/30 08:22:47 [Info] [2624053358] transport/internet/tcp: dialing TCP to tcp:detectportal.firefox.com:80 2022/05/30 08:22:47 [Info] [3974152701] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:22:47 [Info] [3974152701] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > proxy/vless/inbound: failed to transfer response payload > io: read/write on closed pipe 2022/05/30 08:22:47 [Debug] transport/internet/kcp: #17084 entering state 5 at 1301 2022/05/30 08:22:47 [Info] [3729553933] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:22:47 [Info] transport/internet/kcp: #17084 closing connection to 192.168.2.167:53949 2022/05/30 08:22:47 [Info] [3729553933] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:22:47 [Info] transport/internet/kcp: #17084 terminating connection to 192.168.2.167:53949 2022/05/30 08:22:47 [Debug] transport/internet/kcp: #17083 entering state 5 at 1409 2022/05/30 08:22:47 [Info] transport/internet/kcp: #17083 closing connection to 192.168.2.167:53948 2022/05/30 08:22:47 [Info] transport/internet/kcp: #17083 terminating connection to 192.168.2.167:53948 2022/05/30 08:22:47 [Info] transport/internet/kcp: #17089 creating connection to 192.168.2.167:53954 2022/05/30 08:22:47 [Info] [3435312609] proxy/vless/inbound: firstLen = 570 2022/05/30 08:22:47 [Info] [3435312609] proxy/vless/inbound: received request for tcp:incoming.telemetry.mozilla.org:443 2022/05/30 08:22:47 [Warning] [3435312609] app/dispatcher: default route for tcp:incoming.telemetry.mozilla.org:443 2022/05/30 08:22:47 [Info] [3435312609] proxy/freedom: opening connection to tcp:incoming.telemetry.mozilla.org:443 2022/05/30 08:22:47 [Info] [3435312609] transport/internet/tcp: dialing TCP to tcp:incoming.telemetry.mozilla.org:443 2022/05/30 08:22:47 [Info] transport/internet/kcp: #17090 creating connection to 192.168.2.167:53955 2022/05/30 08:22:47 [Info] [2007998158] proxy/vless/inbound: firstLen = 555 2022/05/30 08:22:47 [Info] [2007998158] proxy/vless/inbound: received request for tcp:www.gstatic.com:443 2022/05/30 08:22:47 [Warning] [2007998158] app/dispatcher: default route for tcp:www.gstatic.com:443 2022/05/30 08:22:47 [Info] [2007998158] proxy/freedom: opening connection to tcp:www.gstatic.com:443 2022/05/30 08:22:47 [Info] [2007998158] transport/internet/tcp: dialing TCP to tcp:www.gstatic.com:443 2022/05/30 08:22:47 [Info] transport/internet/kcp: #17091 creating connection to 192.168.2.167:53956 2022/05/30 08:22:47 [Info] [2366499436] proxy/vless/inbound: firstLen = 555 2022/05/30 08:22:47 [Info] [2366499436] proxy/vless/inbound: received request for tcp:www.gstatic.com:443 2022/05/30 08:22:47 [Warning] [2366499436] app/dispatcher: default route for tcp:www.gstatic.com:443 2022/05/30 08:22:47 [Info] [2366499436] proxy/freedom: opening connection to tcp:www.gstatic.com:443 2022/05/30 08:22:47 [Info] [2366499436] transport/internet/tcp: dialing TCP to tcp:www.gstatic.com:443 2022/05/30 08:22:47 [Info] transport/internet/kcp: #17092 creating connection to 192.168.2.167:53957 2022/05/30 08:22:47 [Info] [140510488] proxy/vless/inbound: firstLen = 555 2022/05/30 08:22:47 [Info] [140510488] proxy/vless/inbound: received request for tcp:apis.google.com:443 2022/05/30 08:22:47 [Warning] [140510488] app/dispatcher: default route for tcp:apis.google.com:443 2022/05/30 08:22:47 [Info] [140510488] proxy/freedom: opening connection to tcp:apis.google.com:443 2022/05/30 08:22:47 [Info] [140510488] transport/internet/tcp: dialing TCP to tcp:apis.google.com:443 2022/05/30 08:22:47 [Info] transport/internet/kcp: #17093 creating connection to 192.168.2.167:53958 2022/05/30 08:22:47 [Info] [2131861390] proxy/vless/inbound: firstLen = 567 2022/05/30 08:22:47 [Info] [2131861390] proxy/vless/inbound: received request for tcp:safebrowsing.googleapis.com:443 2022/05/30 08:22:47 [Warning] [2131861390] app/dispatcher: default route for tcp:safebrowsing.googleapis.com:443 2022/05/30 08:22:47 [Info] [2131861390] proxy/freedom: opening connection to tcp:safebrowsing.googleapis.com:443 2022/05/30 08:22:47 [Info] [2131861390] transport/internet/tcp: dialing TCP to tcp:safebrowsing.googleapis.com:443 2022/05/30 08:22:48 [Debug] transport/internet/kcp: #17082 entering state 4 at 2162 2022/05/30 08:22:48 [Info] transport/internet/kcp: #17094 creating connection to 192.168.2.167:53959 2022/05/30 08:22:48 [Info] [3217448691] proxy/vless/inbound: firstLen = 497 2022/05/30 08:22:48 [Info] [3217448691] proxy/vless/inbound: received request for tcp:ocsp.pki.goog:80 2022/05/30 08:22:48 [Warning] [3217448691] app/dispatcher: default route for tcp:ocsp.pki.goog:80 2022/05/30 08:22:48 [Info] [3217448691] proxy/freedom: opening connection to tcp:ocsp.pki.goog:80 2022/05/30 08:22:48 [Info] [3217448691] transport/internet/tcp: dialing TCP to tcp:ocsp.pki.goog:80 2022/05/30 08:22:48 [Info] transport/internet/kcp: #17095 creating connection to 192.168.2.167:53960 2022/05/30 08:22:48 [Info] [2898730958] proxy/vless/inbound: firstLen = 498 2022/05/30 08:22:48 [Info] [2898730958] proxy/vless/inbound: received request for tcp:ocsp.pki.goog:80 2022/05/30 08:22:48 [Warning] [2898730958] app/dispatcher: default route for tcp:ocsp.pki.goog:80 2022/05/30 08:22:48 [Info] [2898730958] proxy/freedom: opening connection to tcp:ocsp.pki.goog:80 2022/05/30 08:22:48 [Info] [2898730958] transport/internet/tcp: dialing TCP to tcp:ocsp.pki.goog:80 2022/05/30 08:22:48 [Info] transport/internet/kcp: #17096 creating connection to 192.168.2.167:53961 2022/05/30 08:22:48 [Info] [1001706773] proxy/vless/inbound: firstLen = 498 2022/05/30 08:22:48 [Info] [1001706773] proxy/vless/inbound: received request for tcp:ocsp.pki.goog:80 2022/05/30 08:22:48 [Warning] [1001706773] app/dispatcher: default route for tcp:ocsp.pki.goog:80 2022/05/30 08:22:48 [Info] [1001706773] proxy/freedom: opening connection to tcp:ocsp.pki.goog:80 2022/05/30 08:22:48 [Info] [1001706773] transport/internet/tcp: dialing TCP to tcp:ocsp.pki.goog:80 2022/05/30 08:22:48 [Info] transport/internet/kcp: #17097 creating connection to 192.168.2.167:53962 2022/05/30 08:22:48 [Info] [1623541903] proxy/vless/inbound: firstLen = 385 2022/05/30 08:22:48 [Info] [1623541903] proxy/vless/inbound: received request for tcp:detectportal.firefox.com:80 2022/05/30 08:22:48 [Warning] [1623541903] app/dispatcher: default route for tcp:detectportal.firefox.com:80 2022/05/30 08:22:48 [Info] [1623541903] proxy/freedom: opening connection to tcp:detectportal.firefox.com:80 2022/05/30 08:22:48 [Info] [1623541903] transport/internet/tcp: dialing TCP to tcp:detectportal.firefox.com:80 2022/05/30 08:22:48 [Info] transport/internet/kcp: #17098 creating connection to 192.168.2.167:53963 2022/05/30 08:22:48 [Info] [1022141964] proxy/vless/inbound: firstLen = 385 2022/05/30 08:22:48 [Info] [1022141964] proxy/vless/inbound: received request for tcp:detectportal.firefox.com:80 2022/05/30 08:22:48 [Warning] [1022141964] app/dispatcher: default route for tcp:detectportal.firefox.com:80 2022/05/30 08:22:48 [Info] [1022141964] proxy/freedom: opening connection to tcp:detectportal.firefox.com:80 2022/05/30 08:22:48 [Info] [1022141964] transport/internet/tcp: dialing TCP to tcp:detectportal.firefox.com:80 2022/05/30 08:22:48 [Info] transport/internet/kcp: #17099 creating connection to 192.168.2.167:53964 2022/05/30 08:22:48 [Info] [1512120302] proxy/vless/inbound: firstLen = 566 2022/05/30 08:22:48 [Info] [1512120302] proxy/vless/inbound: received request for tcp:mozilla.cloudflare-dns.com:443 2022/05/30 08:22:48 [Warning] [1512120302] app/dispatcher: default route for tcp:mozilla.cloudflare-dns.com:443 2022/05/30 08:22:48 [Info] [1512120302] proxy/freedom: opening connection to tcp:mozilla.cloudflare-dns.com:443 2022/05/30 08:22:48 [Info] [1512120302] transport/internet/tcp: dialing TCP to tcp:mozilla.cloudflare-dns.com:443 2022/05/30 08:22:49 [Info] transport/internet/kcp: #17100 creating connection to 192.168.2.167:53965 2022/05/30 08:22:49 [Info] [3802014526] proxy/vless/inbound: firstLen = 560 2022/05/30 08:22:49 [Info] [3802014526] proxy/vless/inbound: received request for tcp:adservice.google.com:443 2022/05/30 08:22:49 [Warning] [3802014526] app/dispatcher: default route for tcp:adservice.google.com:443 2022/05/30 08:22:49 [Info] [3802014526] proxy/freedom: opening connection to tcp:adservice.google.com:443 2022/05/30 08:22:49 [Info] [3802014526] transport/internet/tcp: dialing TCP to tcp:adservice.google.com:443 2022/05/30 08:22:49 [Info] [1120234308] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:22:49 [Info] [1120234308] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:22:49 [Debug] transport/internet/kcp: #17082 entering state 5 at 3162 2022/05/30 08:22:49 [Info] transport/internet/kcp: #17082 closing connection to 192.168.2.167:53947 2022/05/30 08:22:49 [Info] transport/internet/kcp: #17082 terminating connection to 192.168.2.167:53947 2022/05/30 08:22:50 [Info] transport/internet/kcp: #17101 creating connection to 192.168.2.167:53966 2022/05/30 08:22:50 [Info] [3849895051] proxy/vless/inbound: firstLen = 567 2022/05/30 08:22:50 [Info] [3849895051] proxy/vless/inbound: received request for tcp:googleads.g.doubleclick.net:443 2022/05/30 08:22:50 [Warning] [3849895051] app/dispatcher: default route for tcp:googleads.g.doubleclick.net:443 2022/05/30 08:22:50 [Info] [3849895051] proxy/freedom: opening connection to tcp:googleads.g.doubleclick.net:443 2022/05/30 08:22:50 [Info] [3849895051] transport/internet/tcp: dialing TCP to tcp:googleads.g.doubleclick.net:443 2022/05/30 08:22:50 [Debug] transport/internet/kcp: #17090 entering state 4 at 2837 2022/05/30 08:22:51 [Info] [2007998158] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:22:51 [Info] [2007998158] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:22:51 [Debug] transport/internet/kcp: #17090 entering state 5 at 3837 2022/05/30 08:22:51 [Info] transport/internet/kcp: #17090 closing connection to 192.168.2.167:53955 2022/05/30 08:22:51 [Info] transport/internet/kcp: #17090 terminating connection to 192.168.2.167:53955 2022/05/30 08:22:52 [Debug] transport/internet/kcp: #17093 entering state 4 at 5001 2022/05/30 08:22:52 [Info] transport/internet/kcp: #17102 creating connection to 192.168.2.167:53967 2022/05/30 08:22:52 [Info] [3808078117] proxy/vless/inbound: firstLen = 565 2022/05/30 08:22:52 [Info] [3808078117] proxy/vless/inbound: received request for tcp:push.services.mozilla.com:443 2022/05/30 08:22:52 [Warning] [3808078117] app/dispatcher: default route for tcp:push.services.mozilla.com:443 2022/05/30 08:22:52 [Info] [3808078117] proxy/freedom: opening connection to tcp:push.services.mozilla.com:443 2022/05/30 08:22:52 [Info] [3808078117] transport/internet/tcp: dialing TCP to tcp:push.services.mozilla.com:443 2022/05/30 08:22:53 [Info] transport/internet/kcp: #17103 creating connection to 192.168.2.167:53968 2022/05/30 08:22:53 [Info] [1866380791] proxy/vless/inbound: firstLen = 499 2022/05/30 08:22:53 [Info] [1866380791] proxy/vless/inbound: received request for tcp:ocsp.digicert.com:80 2022/05/30 08:22:53 [Warning] [1866380791] app/dispatcher: default route for tcp:ocsp.digicert.com:80 2022/05/30 08:22:53 [Info] [1866380791] proxy/freedom: opening connection to tcp:ocsp.digicert.com:80 2022/05/30 08:22:53 [Info] [1866380791] transport/internet/tcp: dialing TCP to tcp:ocsp.digicert.com:80 2022/05/30 08:22:53 [Info] [2131861390] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:22:53 [Info] [2131861390] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:22:53 [Debug] transport/internet/kcp: #17093 entering state 5 at 6003 2022/05/30 08:22:53 [Info] transport/internet/kcp: #17093 closing connection to 192.168.2.167:53958 2022/05/30 08:22:53 [Info] transport/internet/kcp: #17093 terminating connection to 192.168.2.167:53958 2022/05/30 08:22:54 [Info] transport/internet/kcp: #17104 creating connection to 192.168.2.167:53969 2022/05/30 08:22:54 [Info] [3583551716] proxy/vless/inbound: firstLen = 278 2022/05/30 08:22:54 [Info] [3583551716] proxy/vless/inbound: received request for tcp:firefox.settings.services.mozilla.com:443 2022/05/30 08:22:54 [Warning] [3583551716] app/dispatcher: default route for tcp:firefox.settings.services.mozilla.com:443 2022/05/30 08:22:54 [Info] [3583551716] proxy/freedom: opening connection to tcp:firefox.settings.services.mozilla.com:443 2022/05/30 08:22:54 [Info] [3583551716] transport/internet/tcp: dialing TCP to tcp:firefox.settings.services.mozilla.com:443 2022/05/30 08:22:56 [Info] transport/internet/kcp: #17105 creating connection to 192.168.2.167:58005 2022/05/30 08:22:56 [Info] [3834784518] proxy/vless/inbound: firstLen = 274 2022/05/30 08:22:56 [Info] [3834784518] proxy/vless/inbound: received request for tcp:content-signature-2.cdn.mozilla.net:443 2022/05/30 08:22:56 [Warning] [3834784518] app/dispatcher: default route for tcp:content-signature-2.cdn.mozilla.net:443 2022/05/30 08:22:56 [Info] [3834784518] proxy/freedom: opening connection to tcp:content-signature-2.cdn.mozilla.net:443 2022/05/30 08:22:56 [Info] [3834784518] transport/internet/tcp: dialing TCP to tcp:content-signature-2.cdn.mozilla.net:443 2022/05/30 08:23:05 [Debug] transport/internet/kcp: #17101 entering state 4 at 15004 2022/05/30 08:23:06 [Info] [3849895051] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:23:06 [Debug] transport/internet/kcp: #17101 entering state 5 at 16005 2022/05/30 08:23:06 [Info] transport/internet/kcp: #17101 closing connection to 192.168.2.167:53966 2022/05/30 08:23:06 [Info] transport/internet/kcp: #17101 terminating connection to 192.168.2.167:53966 2022/05/30 08:23:06 [Info] [3849895051] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:23:25 [Debug] transport/internet/kcp: #17102 entering state 4 at 32961 2022/05/30 08:23:26 [Debug] transport/internet/kcp: #17105 entering state 4 at 30011 2022/05/30 08:23:26 [Debug] transport/internet/kcp: #17085 entering state 4 at 40007 2022/05/30 08:23:26 [Debug] transport/internet/kcp: #17086 entering state 4 at 40000 2022/05/30 08:23:26 [Info] [3808078117] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:23:26 [Debug] transport/internet/kcp: #17102 entering state 5 at 33963 2022/05/30 08:23:26 [Info] transport/internet/kcp: #17102 closing connection to 192.168.2.167:53967 2022/05/30 08:23:26 [Info] transport/internet/kcp: #17102 terminating connection to 192.168.2.167:53967 2022/05/30 08:23:26 [Info] [3808078117] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:23:27 [Info] [3834784518] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:23:27 [Info] [3834784518] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:23:27 [Debug] transport/internet/kcp: #17105 entering state 5 at 31014 2022/05/30 08:23:27 [Info] transport/internet/kcp: #17105 closing connection to 192.168.2.167:58005 2022/05/30 08:23:27 [Info] transport/internet/kcp: #17105 terminating connection to 192.168.2.167:58005 2022/05/30 08:23:27 [Debug] transport/internet/kcp: #17087 entering state 4 at 40001 2022/05/30 08:23:27 [Info] [2510884010] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:23:27 [Debug] transport/internet/kcp: #17085 entering state 5 at 41009 2022/05/30 08:23:27 [Info] [2510884010] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:23:27 [Info] transport/internet/kcp: #17085 closing connection to 192.168.2.167:53950 2022/05/30 08:23:27 [Info] transport/internet/kcp: #17085 terminating connection to 192.168.2.167:53950 2022/05/30 08:23:27 [Debug] transport/internet/kcp: #17088 entering state 4 at 40001 2022/05/30 08:23:27 [Info] [2218515749] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:23:27 [Debug] transport/internet/kcp: #17086 entering state 5 at 41000 2022/05/30 08:23:27 [Info] transport/internet/kcp: #17086 closing connection to 192.168.2.167:53951 2022/05/30 08:23:27 [Info] transport/internet/kcp: #17086 terminating connection to 192.168.2.167:53951 2022/05/30 08:23:27 [Info] [2218515749] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:23:27 [Debug] transport/internet/kcp: #17089 entering state 4 at 40003 2022/05/30 08:23:27 [Debug] transport/internet/kcp: #17091 entering state 4 at 40000 2022/05/30 08:23:27 [Debug] transport/internet/kcp: #17092 entering state 4 at 40000 2022/05/30 08:23:28 [Debug] transport/internet/kcp: #17094 entering state 4 at 40001 2022/05/30 08:23:28 [Debug] transport/internet/kcp: #17095 entering state 4 at 39999 2022/05/30 08:23:28 [Info] [1894540084] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:23:28 [Debug] transport/internet/kcp: #17087 entering state 5 at 41002 2022/05/30 08:23:28 [Info] transport/internet/kcp: #17087 closing connection to 192.168.2.167:53952 2022/05/30 08:23:28 [Info] transport/internet/kcp: #17087 terminating connection to 192.168.2.167:53952 2022/05/30 08:23:28 [Info] [1894540084] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:23:28 [Debug] transport/internet/kcp: #17096 entering state 4 at 40001 2022/05/30 08:23:28 [Info] [2624053358] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:23:28 [Debug] transport/internet/kcp: #17088 entering state 5 at 41001 2022/05/30 08:23:28 [Info] transport/internet/kcp: #17088 closing connection to 192.168.2.167:53953 2022/05/30 08:23:28 [Info] transport/internet/kcp: #17088 terminating connection to 192.168.2.167:53953 2022/05/30 08:23:28 [Info] [2624053358] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:23:28 [Debug] transport/internet/kcp: #17099 entering state 4 at 39999 2022/05/30 08:23:28 [Debug] transport/internet/kcp: #17098 entering state 4 at 40000 2022/05/30 08:23:28 [Debug] transport/internet/kcp: #17097 entering state 4 at 40000 2022/05/30 08:23:28 [Info] [3435312609] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:23:28 [Debug] transport/internet/kcp: #17089 entering state 5 at 41005 2022/05/30 08:23:28 [Info] transport/internet/kcp: #17089 closing connection to 192.168.2.167:53954 2022/05/30 08:23:28 [Info] transport/internet/kcp: #17089 terminating connection to 192.168.2.167:53954 2022/05/30 08:23:28 [Info] [3435312609] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:23:28 [Info] [2366499436] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:23:28 [Debug] transport/internet/kcp: #17091 entering state 5 at 41004 2022/05/30 08:23:28 [Info] transport/internet/kcp: #17091 closing connection to 192.168.2.167:53956 2022/05/30 08:23:28 [Info] transport/internet/kcp: #17091 terminating connection to 192.168.2.167:53956 2022/05/30 08:23:28 [Info] [2366499436] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:23:28 [Info] [140510488] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:23:28 [Info] [140510488] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:23:28 [Debug] transport/internet/kcp: #17092 entering state 5 at 41002 2022/05/30 08:23:28 [Info] transport/internet/kcp: #17092 closing connection to 192.168.2.167:53957 2022/05/30 08:23:28 [Info] transport/internet/kcp: #17092 terminating connection to 192.168.2.167:53957 2022/05/30 08:23:28 [Debug] transport/internet/kcp: #17103 entering state 4 at 35005 2022/05/30 08:23:29 [Debug] transport/internet/kcp: #17100 entering state 4 at 40010 2022/05/30 08:23:29 [Info] [3217448691] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:23:29 [Debug] transport/internet/kcp: #17094 entering state 5 at 41002 2022/05/30 08:23:29 [Info] transport/internet/kcp: #17094 closing connection to 192.168.2.167:53959 2022/05/30 08:23:29 [Info] transport/internet/kcp: #17094 terminating connection to 192.168.2.167:53959 2022/05/30 08:23:29 [Info] [3217448691] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:23:29 [Info] [2898730958] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:23:29 [Debug] transport/internet/kcp: #17095 entering state 5 at 41004 2022/05/30 08:23:29 [Info] [2898730958] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:23:29 [Info] transport/internet/kcp: #17095 closing connection to 192.168.2.167:53960 2022/05/30 08:23:29 [Info] transport/internet/kcp: #17095 terminating connection to 192.168.2.167:53960 2022/05/30 08:23:29 [Info] [1001706773] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:23:29 [Debug] transport/internet/kcp: #17096 entering state 5 at 41001 2022/05/30 08:23:29 [Info] [1001706773] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:23:29 [Info] transport/internet/kcp: #17096 closing connection to 192.168.2.167:53961 2022/05/30 08:23:29 [Info] transport/internet/kcp: #17096 terminating connection to 192.168.2.167:53961 2022/05/30 08:23:29 [Info] [1512120302] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:23:29 [Debug] transport/internet/kcp: #17099 entering state 5 at 41001 2022/05/30 08:23:29 [Info] transport/internet/kcp: #17099 closing connection to 192.168.2.167:53964 2022/05/30 08:23:29 [Info] transport/internet/kcp: #17099 terminating connection to 192.168.2.167:53964 2022/05/30 08:23:29 [Info] [1512120302] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:23:29 [Info] [1022141964] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:23:29 [Info] [1022141964] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > proxy/vless/inbound: failed to transfer response payload > io: read/write on closed pipe 2022/05/30 08:23:29 [Debug] transport/internet/kcp: #17098 entering state 5 at 41002 2022/05/30 08:23:29 [Info] [1623541903] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:23:29 [Info] transport/internet/kcp: #17098 closing connection to 192.168.2.167:53963 2022/05/30 08:23:29 [Debug] transport/internet/kcp: #17097 entering state 5 at 41002 2022/05/30 08:23:29 [Info] transport/internet/kcp: #17098 terminating connection to 192.168.2.167:53963 2022/05/30 08:23:29 [Info] transport/internet/kcp: #17097 closing connection to 192.168.2.167:53962 2022/05/30 08:23:29 [Info] transport/internet/kcp: #17097 terminating connection to 192.168.2.167:53962 2022/05/30 08:23:29 [Info] [1623541903] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:23:29 [Debug] transport/internet/kcp: #17104 entering state 4 at 35003 2022/05/30 08:23:29 [Info] [1866380791] app/proxyman/inbound: connection ends > proxy/vless/inbound: connection ends > context canceled 2022/05/30 08:23:29 [Debug] transport/internet/kcp: #17103 entering state 5 at 36007 2022/05/30 08:23:29 [Info] [1866380791] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled 2022/05/30 08:23:29 [Info] transport/internet/kcp: #17103 closing connection to 192.168.2.167:53968 2022/05/30 08:23:29 [Info] transport/internet/kcp: #17103 terminating connection to 192.168.2.167:53968 2022/05/30 08:23:29 [Debug] transport/internet/kcp: #17104 entering state 5 at 35335 2022/05/30 08:23:29 [Info] transport/internet/kcp: #17104 closing connection to 192.168.2.167:53969 2022/05/30 08:23:29 [Info] transport/internet/kcp: #17104 terminating connection to 192.168.2.167:53969 2022/05/30 08:23:30 [Debug] transport/internet/kcp: #17100 entering state 5 at 40979 2022/05/30 08:23:30 [Info] transport/internet/kcp: #17100 closing connection to 192.168.2.167:53965 2022/05/30 08:23:30 [Info] transport/internet/kcp: #17100 terminating connection to 192.168.2.167:53965 2022/05/30 09:26:28 [Info] transport/internet/udp: listening UDP on 0.0.0.0:49207 2022/05/30 09:26:28 [Info] transport/internet/kcp: listening on 0.0.0.0:49207 2022/05/30 09:26:28 [Info] transport/internet/udp: listening UDP on 0.0.0.0:48002 2022/05/30 09:26:28 [Info] transport/internet/kcp: listening on 0.0.0.0:48002 2022/05/30 09:26:28 [Info] transport/internet/udp: listening UDP on 0.0.0.0:42726 2022/05/30 09:26:28 [Info] transport/internet/kcp: listening on 0.0.0.0:42726 2022/05/30 09:26:28 [Info] transport/internet/udp: listening UDP on 0.0.0.0:47884 2022/05/30 09:26:28 [Info] transport/internet/kcp: listening on 0.0.0.0:47884 2022/05/30 09:26:28 [Info] transport/internet/udp: listening UDP on 0.0.0.0:48413 2022/05/30 09:26:28 [Info] transport/internet/kcp: listening on 0.0.0.0:48413 2022/05/30 09:26:28 [Info] transport/internet/udp: listening UDP on 0.0.0.0:40134 2022/05/30 09:26:28 [Info] transport/internet/kcp: listening on 0.0.0.0:40134 2022/05/30 09:26:28 [Info] transport/internet/udp: listening UDP on 0.0.0.0:40484 2022/05/30 09:26:28 [Info] transport/internet/kcp: listening on 0.0.0.0:40484 2022/05/30 09:26:28 [Info] transport/internet/udp: listening UDP on 0.0.0.0:41333 2022/05/30 09:26:28 [Info] transport/internet/kcp: listening on 0.0.0.0:41333
客户端错误日志:
客户端无异常
// 在这里附上服务器端日志
--test
经过vscode跟踪调试,发现如下错误
跟踪后证实确实是hub_freebsd.go内的enc.Encode(addr)这行出问题,原因是addr == nil
enc.Encode(addr)
addr == nil
若修改代码,enc.Encode(addr)改为
if addr != nil { enc.Encode(addr) }
那么问题就能得到解决
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days
Sorry, something went wrong.
代码已经有人提交了,也有人提出检查更改了,就是没人合并代码
Successfully merging a pull request may close this issue.
你正在使用哪个版本的 V2Ray?
v5.0.6
你的使用场景是什么?
建立连接并正常浏览网站
你看到的异常现象是什么?
无论客户端是否连接着服务器,服务端在运行两个小时后都会panic退出。
这次测试是在客户端建立好连接后,关闭客户端,让服务端自己留驻内存。两个小时后,服务端自己退出了。
你期待看到的正常表现是怎样的?
不应该退出
请附上你的配置
服务端配置:
客户端配置:
请附上出错时软件输出的错误日志
服务器端错误日志:
客户端错误日志:
客户端无异常
请附上访问日志
// 在这里附上服务器端日志
其它相关的配置文件(如 Nginx)和相关日志
如果 V2Ray 无法启动,请附上
--test
命令的输出如果 V2Ray 服务运行异常,请附上 journal 日志
经过vscode跟踪调试,发现如下错误
跟踪后证实确实是hub_freebsd.go内的
enc.Encode(addr)
这行出问题,原因是addr == nil
若修改代码,
enc.Encode(addr)
改为那么问题就能得到解决
The text was updated successfully, but these errors were encountered: