A-A+

解决:failed to handler mux client connection > v2ray/core/proxy/vmess

2020年05月26日 17:24 学习笔记 评论 1 条 共4270字 (阅读61,423 views次)

【注意:此文章为博主原创文章!转载需注意,请带原文链接,至少也要是txt格式!】

2020/05/26 17:04:58 [Warning] failed to handler mux client connection > v2ray.com/core/proxy/vmess/outbound: failed to find an available destination > v2ray.com/core/common/retry: [v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://zs.xxx.com/search): > dial tcp 134.192.102.39:443: connectex: No connection could be made because the target machine actively refused it.] > v2ray.com/core/common/retry: all retry attempts failed
2020/05/26 17:05:00 tcp:127.0.0.1:53031 accepted tcp:102.89.15.105:8080 [proxy]
2020/05/26 17:05:02 [Warning] failed to handler mux client connection > v2ray.com/core/proxy/vmess/outbound: failed to find an available destination > v2ray.com/core/common/retry: [v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://zs.xxx.com/search): > dial tcp 134.192.102.39:443: connectex: No connection could be made because the target machine actively refused it.] > v2ray.com/core/common/retry: all retry attempts failed

前两天我电脑的代理出现了这个问题,然后各种百度,没办法google,然后得到的答案清一色原因:

##系统时间与服务器时间不对应
##解决办法:
##同步系统时间,
yum -y install ntp ntpdate
ntpdate ntp1.aliyun.com
iptables -F

不过我仔细排查,发现我个人的情况不是这样的,是因为我开了流量转发,结果不小心设置成了禁止代理软件的流量导致的。如下图:

禁止 v2ray 导致的问题

我还各种排查原因,还以为是最近开人大会议导致的。。。心理真的是无奈哦。

[root@ecs-ha2dB ~]# ntpdate ntp1.aliyun.com
20 Dec 19:32:31 ntpdate[1679]: the NTP socket is in use, exiting
[root@ecs-ha2dB ~]# iptables -F
[root@ecs-ha2dB ~]# service ntpd stop
Redirecting to /bin/systemctl stop ntpd.service
[root@ecs-ha2dB ~]# /bin/systemctl stop ntpd.service
[root@ecs-ha2dB ~]# ntpdate ntp1.aliyun.com
20 Dec 19:33:43 ntpdate[1727]: adjust time server 120.25.115.20 offset 0.141801 sec
[root@ecs-ha2dB ~]# chkconfig ntpd off
Note: Forwarding request to 'systemctl disable ntpd.service'.
Removed symlink /etc/systemd/system/multi-user.target.wants/ntpd.service.
[root@ecs-ha2dB ~]# systemctl disable ntpd.service
[root@ecs-ha2dB ~]# /usr/sbin/ntpdate cn.pool.ntp.org
20 Dec 19:34:37 ntpdate[1779]: adjust time server 203.107.6.88 offset 0.095852 sec
[root@ecs-ha2dB ~]# /usr/sbin/ntpdate cn.pool.ntp.org
20 Dec 19:34:52 ntpdate[1784]: adjust time server 203.107.6.88 offset 0.081826 sec
[root@ecs-ha2dB ~]# /usr/sbin/ntpdate ntp.fudan.edu.cn
20 Dec 19:35:34 ntpdate[1812]: no server suitable for synchronization found
[root@ecs-ha2dB ~]# ntpdate ntp.fudan.edu.cn
20 Dec 19:35:50 ntpdate[1819]: no server suitable for synchronization found
[root@ecs-ha2dB ~]# ntpdate –d serverIP
Error resolving –d: Name or service not known (-2)
20 Dec 19:36:06 ntpdate[1826]: Can't find host –d: Name or service not known (-2)
Error resolving serverIP: Name or service not known (-2)
20 Dec 19:36:06 ntpdate[1826]: Can't find host serverIP: Name or service not known (-2)
20 Dec 19:36:06 ntpdate[1826]: no servers can be used, exiting
[root@ecs-ha2dB ~]# ping 182.92.12.11
PING 182.92.12.11 (182.92.12.11) 56(84) bytes of data.
64 bytes from 182.92.12.11: icmp_seq=1 ttl=46 time=46.9 ms
64 bytes from 182.92.12.11: icmp_seq=2 ttl=46 time=46.6 ms
^C
--- 182.92.12.11 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 46.619/46.767/46.915/0.148 ms
[root@ecs-ha2dB ~]# ntpdate -d 182.92.12.11
20 Dec 19:36:51 ntpdate[1840]: ntpdate 4.2.6p5@1.2349-o Tue Jun 23 15:38:19 UTC 2020 (1)
Looking for host 182.92.12.11 and service ntp
host found : time5.aliyun.com
transmit(182.92.12.11)
receive(182.92.12.11)
transmit(182.92.12.11)
receive(182.92.12.11)
transmit(182.92.12.11)
receive(182.92.12.11)
transmit(182.92.12.11)
receive(182.92.12.11)
server 182.92.12.11, port 123
stratum 2, precision -24, leap 00, trust 000
refid [182.92.12.11], delay 0.07210, dispersion 0.00121
transmitted 4, in filter 4
reference time:    e389b5c3.b4314985  Sun, Dec 20 2020 19:36:35.703
originate timestamp: e389b5d9.9a1c5245  Sun, Dec 20 2020 19:36:57.601
transmit timestamp:  e389b5d9.25cd54ee  Sun, Dec 20 2020 19:36:57.147
filter delay:  0.07788  0.07210  0.07213  0.07220
         0.00000  0.00000  0.00000  0.00000
filter offset: 0.430930 0.432958 0.431970 0.431018
         0.000000 0.000000 0.000000 0.000000
delay 0.07210, dispersion 0.00121
offset 0.432958

20 Dec 19:36:57 ntpdate[1840]: adjust time server 182.92.12.11 offset 0.432958 sec
[root@ecs-ha2dB ~]# service ntp stop
Redirecting to /bin/systemctl stop ntp.service
Failed to stop ntp.service: Unit ntp.service not loaded.
[root@ecs-ha2dB ~]# /bin/systemctl stop ntp.service
Failed to stop ntp.service: Unit ntp.service not loaded.
[root@ecs-ha2dB ~]# /bin/systemctl stop ntp.service
Failed to stop ntp.service: Unit ntp.service not loaded.
[root@ecs-ha2dB ~]# /bin/systemctl stop ntp.service

布施恩德可便相知重

微信扫一扫打赏

支付宝扫一扫打赏

×

1 条留言  访客:1 条  博主:0 条

  1. tyhb

    我也是遇到同样的问题,刚刚把TLS改为1.1,1.2,1.3兼容就解决了上述问题

给我留言取消回复