解决 proxy/vmess/inbound: invalid request from 49.7.51.5:24347 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF。
客户端报错信息如下:
2024/09/04 16:59:23 [Warning] [547491954] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: failed to find an available: > read tcp 10.57.86
destination > common/retry: [transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (ws://149.248.39ws://149.248.39.152:12
.152:12347/airdrome/): > read tcp 10.57.86.154:5739->149.248.39.152:12347: i/o timeout transport/internet/websocket: failed to dial WebSocket > transpernet/websocket: faile
ort/internet/websocket: failed to dial to (ws://149.248.39.152:12347/airdrome/): > read tcp 10.57.86.154:5741->149.248.39.152:12347: i/o timeout transed to dial WebSocket >
port/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (ws://149.248.39.152:12347/airdrome/): > read tcp t transport/internet/w
10.57.86.154:5743->149.248.39.152:12347: i/o timeout transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to d99->149.248.39.152:123
ial to (ws://149.248.39.152:12347/airdrome/): > read tcp 10.57.86.154:5745->149.248.39.152:12347: i/o timeout transport/internet/websocket: failed to
dial WebSocket > transport/internet/websocket: failed to dial to (ws://149.248.39.152:12347/airdrome/): > read tcp 10.57.86.154:5751->149.248.39.152:1e destination > common
2347: i/o timeout] > common/retry: all retry attempts failed: > read tcp 10.57.86
2024/09/04 17:00:06 [Warning] [397421476] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: failed to find an availablews://149.248.39.152:12
destination > common/retry: [transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (ws://149.248.39ernet/websocket: faile
.152:12347/airdrome/): > read tcp 10.57.86.154:5753->149.248.39.152:12347: i/o timeout transport/internet/websocket: failed to dial WebSocket > transped to dial WebSocket >
ort/internet/websocket: failed to dial to (ws://149.248.39.152:12347/airdrome/): > read tcp 10.57.86.154:5755->149.248.39.152:12347: i/o timeout transt transport/internet/w
port/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (ws://149.248.39.152:12347/airdrome/): > read tcp 23->149.248.39.152:123
10.57.86.154:5757->149.248.39.152:12347: i/o timeout transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to d
ial to (ws://149.248.39.152:12347/airdrome/): > read tcp 10.57.86.154:5761->149.248.39.152:12347: i/o timeout transport/internet/websocket: failed to e destination > common
dial WebSocket > transport/internet/websocket: failed to dial to (ws://149.248.39.152:12347/airdrome/): > read tcp 10.57.86.154:5765->149.248.39.152:1: > read tcp 10.57.86
2347: i/o timeout] > common/retry: all retry attempts failedws://149.248.39.152:12
2024/09/04 17:00:49 [Warning] [2046012441] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: failed to find an availablernet/websocket: faile
e destination > common/retry: [transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (ws://149.248.3ed to dial WebSocket >
9.152:12347/airdrome/): > read tcp 10.57.86.154:5775->149.248.39.152:12347: i/o timeout transport/internet/websocket: failed to dial WebSocket > transt transport/internet/w
port/internet/websocket: failed to dial to (ws://149.248.39.152:12347/airdrome/): > read tcp 10.57.86.154:5779->149.248.39.152:12347: i/o timeout tran39->149.248.39.152:123
sport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (ws://149.248.39.152:12347/airdrome/): > read tcp
10.57.86.154:5781->149.248.39.152:12347: i/o timeout transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to estination > common/re
dial to (ws://149.248.39.152:12347/airdrome/): > read tcp 10.57.86.154:5785->149.248.39.152:12347: i/o timeout transport/internet/websocket: failed to> read tcp 10.57.86.15
dial WebSocket > transport/internet/websocket: failed to dial to (ws://149.248.39.152:12347/airdrome/): > read tcp 10.57.86.154:5789->149.248.39.152://149.248.39.152:12347
12347: i/o timeout] > common/retry: all retry attempts failedet/websocket: failed t
2024/09/04 17:01:32 [Warning] [172719071] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: failed to find an availableto dial WebSocket > tr
destination > common/retry: [transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (ws://149.248.39ransport/internet/webs
.152:12347/airdrome/): > read tcp 10.57.86.154:5793->149.248.39.152:12347: i/o timeout transport/internet/websocket: failed to dial WebSocket > transp>149.248.39.152:12347:
ort/internet/websocket: failed to dial to (ws://149.248.39.152:12347/airdrome/): > read tcp 10.57.86.154:5795->149.248.39.152:12347: i/o timeout trans
port/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (ws://149.248.39.152:12347/airdrome/): > read tcp e destination > common
10.57.86.154:5799->149.248.39.152:12347: i/o timeout transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to d: > read tcp 10.57.86
ial to (ws://149.248.39.152:12347/airdrome/): > read tcp 10.57.86.154:5805->149.248.39.152:12347: i/o timeout transport/internet/websocket: failed to ws://149.248.39.152:12
dial WebSocket > transport/internet/websocket: failed to dial to (ws://149.248.39.152:12347/airdrome/): > read tcp 10.57.86.154:5807->149.248.39.152:1ernet/websocket: faile
2347: i/o timeout] > common/retry: all retry attempts failed
服务端报错信息如下:
tail -300f /var/log/v2ray/error.log
2024/09/04 16:18:25 [Info] [767874187] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:56264 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:18:25 [Info] [3696885437] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.5:23208 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:20:26 [Info] [4221344530] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:56338 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:20:26 [Info] [577208599] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.5:23293 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:22:26 [Info] [2832035742] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.5:23419 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:22:26 [Info] [3511725584] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:56396 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:24:26 [Info] [3878801062] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.5:23528 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:24:27 [Info] [1856030228] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:56464 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:26:27 [Info] [2449446009] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:56594 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:26:27 [Info] [3036634259] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:56560 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:28:27 [Info] [1719241090] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:56681 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:28:27 [Info] [2857112505] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:56638 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:30:28 [Info] [63252895] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:56764 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:30:28 [Info] [1076795733] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.5:23705 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:32:28 [Info] [5817728] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:56850 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:32:28 [Info] [3116858484] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.5:23806 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:34:28 [Info] [2997903288] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.5:23962 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:34:28 [Info] [1051944168] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.5:23890 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:36:29 [Info] [1750680467] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.5:24136 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:36:29 [Info] [3405468640] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.5:24039 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:38:29 [Info] [3640373694] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.5:24412 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:38:29 [Info] [519052976] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.5:24347 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:40:29 [Info] [175662879] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.5:24481 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:40:29 [Info] [1887035456] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:57461 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:42:30 [Info] [4150112350] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:57579 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:42:30 [Info] [3255727391] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.5:24511 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:44:30 [Info] [2194702911] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:57647 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:44:30 [Info] [3163118596] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:57614 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:46:30 [Info] [1401944381] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:57767 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:46:30 [Info] [780661157] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:57701 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:48:31 [Info] [3952463421] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:57854 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:48:31 [Info] [3649895609] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:57825 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:50:31 [Info] [70303008] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:57945 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:50:31 [Info] [4256505564] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:57902 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:52:32 [Info] [2579522723] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:58022 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:52:32 [Info] [2124025492] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.5:24968 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:54:32 [Info] [3578435301] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:58080 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:54:32 [Info] [2624015629] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:58067 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:56:32 [Info] [1705424793] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.4:58174 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:56:32 [Info] [2843625529] app/proxyman/inbound: connection ends > proxy/vmess/inbound: invalid request from 49.7.51.5:25113 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
tail -300f /var/log/v2ray/access.log
2024/09/04 16:18:25 49.7.51.4:56264 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:18:25 49.7.51.5:23208 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:20:26 49.7.51.4:56338 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:20:26 49.7.51.5:23293 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:22:26 49.7.51.5:23419 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:22:26 49.7.51.4:56396 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:24:27 49.7.51.5:23528 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:24:27 49.7.51.4:56464 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:26:27 49.7.51.4:56594 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:26:27 49.7.51.4:56560 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:28:27 49.7.51.4:56681 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:28:27 49.7.51.4:56638 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:30:28 49.7.51.4:56764 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:30:28 49.7.51.5:23705 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:32:28 49.7.51.4:56850 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:32:28 49.7.51.5:23806 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:34:28 49.7.51.5:23962 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:34:28 49.7.51.5:23890 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:36:29 49.7.51.5:24136 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:36:29 49.7.51.5:24039 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:38:29 49.7.51.5:24412 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:38:29 49.7.51.5:24347 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:40:29 49.7.51.5:24481 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:40:29 49.7.51.4:57461 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:42:30 49.7.51.4:57579 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:42:30 49.7.51.5:24511 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:44:30 49.7.51.4:57647 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:44:30 49.7.51.4:57614 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:46:30 49.7.51.4:57767 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:46:30 49.7.51.4:57701 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:48:31 49.7.51.4:57854 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:48:31 49.7.51.4:57825 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:50:31 49.7.51.4:57945 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:50:31 49.7.51.4:57902 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:52:32 49.7.51.4:58022 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:52:32 49.7.51.5:24968 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:54:32 49.7.51.4:58080 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:54:32 49.7.51.4:58067 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:56:32 49.7.51.4:58174 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:56:32 49.7.51.5:25113 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:58:33 49.7.51.4:58288 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
2024/09/04 16:58:33 49.7.51.5:25213 rejected proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF
解决方法:
新版V2抛弃了额外id(alterId)这个参数,如果客户端仍有这个选项,建议填0。
禁用selinux:
setenforce 0
检查 客户端 和 服务端 时间是否一直的,可以通过 ntp 命令同步时间:
ntpdate ntp1.aliyun.com
配置超时时间,0 表示不限制:
重启服务端和客户端,可以正常连接上网。