Qi28 commited on
Commit
cb43b0f
·
verified ·
1 Parent(s): 1f8122b

Upload server .ipynb

Browse files
Files changed (1) hide show
  1. server .ipynb +294 -0
server .ipynb ADDED
@@ -0,0 +1,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": null,
6
+ "id": "02bc524b-76ce-45ee-a3c2-56ce6fd9ebc8",
7
+ "metadata": {},
8
+ "outputs": [
9
+ {
10
+ "name": "stdout",
11
+ "output_type": "stream",
12
+ "text": [
13
+ "2025/01/17 20:38:03.271 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:53074\n",
14
+ "2025/01/17 20:38:04.446 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:182.242.62.165:33385\n",
15
+ "2025/01/17 20:38:04.641 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:182.242.62.165:16271\n",
16
+ "2025/01/17 20:38:04.832 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:182.242.62.165:62543\n",
17
+ "2025/01/17 20:38:05.015 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:182.242.62.165:54213\n",
18
+ "2025/01/17 20:38:05.220 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:182.242.62.165:44047\n",
19
+ "I: 20:38:08 NEZHA@2025-01-17 20:38:08>> Try to reconnect ...\n",
20
+ "I: 20:38:08 NEZHA@2025-01-17 20:38:08>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
21
+ "I: 20:38:08 NEZHA@2025-01-17 20:38:08>> Error to close connection ...\n",
22
+ "2025/01/17 20:38:08.998 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:61.159.93.36:58367\n",
23
+ "2025/01/17 20:38:14.927 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:87.120.114.109:33512\n",
24
+ "2025/01/17 20:38:15.619 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:50606\n",
25
+ "I: 20:38:18 NEZHA@2025-01-17 20:38:18>> Try to reconnect ...\n",
26
+ "I: 20:38:19 NEZHA@2025-01-17 20:38:19>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
27
+ "I: 20:38:19 NEZHA@2025-01-17 20:38:19>> Error to close connection ...\n",
28
+ "2025/01/17 20:38:27.727 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:21306\n",
29
+ "I: 20:38:29 NEZHA@2025-01-17 20:38:29>> Try to reconnect ...\n",
30
+ "I: 20:38:29 NEZHA@2025-01-17 20:38:29>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
31
+ "I: 20:38:29 NEZHA@2025-01-17 20:38:29>> Error to close connection ...\n",
32
+ "2025/01/17 20:38:37.491 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.215.224.101:51722\n",
33
+ "I: 20:38:39 NEZHA@2025-01-17 20:38:39>> Try to reconnect ...\n",
34
+ "I: 20:38:40 NEZHA@2025-01-17 20:38:40>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
35
+ "I: 20:38:40 NEZHA@2025-01-17 20:38:40>> Error to close connection ...\n",
36
+ "2025/01/17 20:38:40.241 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:38724\n",
37
+ "2025/01/17 20:38:43.343 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:81.161.238.170:36434\n",
38
+ "I: 20:38:50 NEZHA@2025-01-17 20:38:50>> Try to reconnect ...\n",
39
+ "2025/01/17 20:38:52.789 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:24312\n",
40
+ "I: 20:38:55 NEZHA@2025-01-17 20:38:55>> 上报系统信息失败: rpc error: code = DeadlineExceeded desc = received context error while waiting for new LB policy update: context deadline exceeded\n",
41
+ "I: 20:38:55 NEZHA@2025-01-17 20:38:55>> Error to close connection ...\n",
42
+ "I: 20:39:05 NEZHA@2025-01-17 20:39:05>> Try to reconnect ...\n",
43
+ "I: 20:39:05 NEZHA@2025-01-17 20:39:05>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
44
+ "I: 20:39:05 NEZHA@2025-01-17 20:39:05>> Error to close connection ...\n",
45
+ "2025/01/17 20:39:06.138 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:45536\n",
46
+ "2025/01/17 20:39:11.558 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:119.0.67.40:39579\n",
47
+ "2025/01/17 20:39:11.740 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:119.0.67.40:65463\n",
48
+ "2025/01/17 20:39:11.916 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:119.0.67.40:59571\n",
49
+ "2025/01/17 20:39:12.102 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:119.0.67.40:64815\n",
50
+ "2025/01/17 20:39:12.274 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:119.0.67.40:37049\n",
51
+ "I: 20:39:15 NEZHA@2025-01-17 20:39:15>> Try to reconnect ...\n",
52
+ "I: 20:39:15 NEZHA@2025-01-17 20:39:15>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
53
+ "I: 20:39:15 NEZHA@2025-01-17 20:39:15>> Error to close connection ...\n",
54
+ "2025/01/17 20:39:17.511 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:50512\n",
55
+ "I: 20:39:25 NEZHA@2025-01-17 20:39:25>> Try to reconnect ...\n",
56
+ "I: 20:39:26 NEZHA@2025-01-17 20:39:26>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
57
+ "I: 20:39:26 NEZHA@2025-01-17 20:39:26>> Error to close connection ...\n",
58
+ "2025/01/17 20:39:30.236 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:48096\n",
59
+ "I: 20:39:36 NEZHA@2025-01-17 20:39:36>> Try to reconnect ...\n",
60
+ "I: 20:39:36 NEZHA@2025-01-17 20:39:36>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
61
+ "I: 20:39:36 NEZHA@2025-01-17 20:39:36>> Error to close connection ...\n",
62
+ "2025/01/17 20:39:43.074 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:45618\n",
63
+ "I: 20:39:46 NEZHA@2025-01-17 20:39:46>> Try to reconnect ...\n",
64
+ "I: 20:39:47 NEZHA@2025-01-17 20:39:47>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
65
+ "I: 20:39:47 NEZHA@2025-01-17 20:39:47>> Error to close connection ...\n",
66
+ "2025/01/17 20:39:55.494 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:21446\n",
67
+ "I: 20:39:57 NEZHA@2025-01-17 20:39:57>> Try to reconnect ...\n",
68
+ "I: 20:39:57 NEZHA@2025-01-17 20:39:57>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
69
+ "I: 20:39:57 NEZHA@2025-01-17 20:39:57>> Error to close connection ...\n",
70
+ "I: 20:40:07 NEZHA@2025-01-17 20:40:07>> Try to reconnect ...\n",
71
+ "2025/01/17 20:40:08.121 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:18602\n",
72
+ "I: 20:40:08 NEZHA@2025-01-17 20:40:08>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
73
+ "I: 20:40:08 NEZHA@2025-01-17 20:40:08>> Error to close connection ...\n",
74
+ "I: 20:40:18 NEZHA@2025-01-17 20:40:18>> Try to reconnect ...\n",
75
+ "I: 20:40:19 NEZHA@2025-01-17 20:40:19>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
76
+ "I: 20:40:19 NEZHA@2025-01-17 20:40:19>> Error to close connection ...\n",
77
+ "2025/01/17 20:40:21.127 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:9122\n",
78
+ "I: 20:40:29 NEZHA@2025-01-17 20:40:29>> Try to reconnect ...\n",
79
+ "I: 20:40:30 NEZHA@2025-01-17 20:40:30>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
80
+ "I: 20:40:30 NEZHA@2025-01-17 20:40:30>> Error to close connection ...\n",
81
+ "2025/01/17 20:40:33.036 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:27.128.218.228:23641\n",
82
+ "2025/01/17 20:40:33.239 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:27.128.218.228:47661\n",
83
+ "2025/01/17 20:40:33.411 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:27.128.218.228:26305\n",
84
+ "2025/01/17 20:40:33.588 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:27.128.218.228:59781\n",
85
+ "2025/01/17 20:40:33.759 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:27.128.218.228:54917\n",
86
+ "2025/01/17 20:40:33.796 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:23662\n",
87
+ "I: 20:40:40 NEZHA@2025-01-17 20:40:40>> Try to reconnect ...\n",
88
+ "I: 20:40:40 NEZHA@2025-01-17 20:40:40>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
89
+ "I: 20:40:40 NEZHA@2025-01-17 20:40:40>> Error to close connection ...\n",
90
+ "2025/01/17 20:40:46.362 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:30976\n",
91
+ "I: 20:40:50 NEZHA@2025-01-17 20:40:50>> Try to reconnect ...\n",
92
+ "I: 20:40:51 NEZHA@2025-01-17 20:40:51>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
93
+ "I: 20:40:51 NEZHA@2025-01-17 20:40:51>> Error to close connection ...\n",
94
+ "2025/01/17 20:40:59.436 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:43424\n",
95
+ "I: 20:41:01 NEZHA@2025-01-17 20:41:01>> Try to reconnect ...\n",
96
+ "I: 20:41:02 NEZHA@2025-01-17 20:41:02>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
97
+ "I: 20:41:02 NEZHA@2025-01-17 20:41:02>> Error to close connection ...\n",
98
+ "I: 20:41:12 NEZHA@2025-01-17 20:41:12>> Try to reconnect ...\n",
99
+ "2025/01/17 20:41:12.299 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:42400\n",
100
+ "I: 20:41:12 NEZHA@2025-01-17 20:41:12>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
101
+ "I: 20:41:12 NEZHA@2025-01-17 20:41:12>> Error to close connection ...\n",
102
+ "I: 20:41:22 NEZHA@2025-01-17 20:41:22>> Try to reconnect ...\n",
103
+ "I: 20:41:23 NEZHA@2025-01-17 20:41:23>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
104
+ "I: 20:41:23 NEZHA@2025-01-17 20:41:23>> Error to close connection ...\n",
105
+ "2025/01/17 20:41:24.261 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:182.201.240.233:60355\n",
106
+ "2025/01/17 20:41:24.427 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:182.201.240.233:22371\n",
107
+ "2025/01/17 20:41:24.624 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:182.201.240.233:34629\n",
108
+ "2025/01/17 20:41:24.831 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:182.201.240.233:18781\n",
109
+ "2025/01/17 20:41:25.023 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:7860, remote address:182.201.240.233:64785\n",
110
+ "2025/01/17 20:41:25.787 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:58620\n",
111
+ "I: 20:41:33 NEZHA@2025-01-17 20:41:33>> Try to reconnect ...\n",
112
+ "I: 20:41:33 NEZHA@2025-01-17 20:41:33>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
113
+ "I: 20:41:33 NEZHA@2025-01-17 20:41:33>> Error to close connection ...\n",
114
+ "2025/01/17 20:41:38.937 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:35232\n",
115
+ "I: 20:41:43 NEZHA@2025-01-17 20:41:43>> Try to reconnect ...\n",
116
+ "I: 20:41:44 NEZHA@2025-01-17 20:41:44>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
117
+ "I: 20:41:44 NEZHA@2025-01-17 20:41:44>> Error to close connection ...\n",
118
+ "2025/01/17 20:41:51.525 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:10538\n",
119
+ "I: 20:41:54 NEZHA@2025-01-17 20:41:54>> Try to reconnect ...\n",
120
+ "I: 20:41:55 NEZHA@2025-01-17 20:41:55>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
121
+ "I: 20:41:55 NEZHA@2025-01-17 20:41:55>> Error to close connection ...\n",
122
+ "2025/01/17 20:42:04.988 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:39628\n",
123
+ "I: 20:42:05 NEZHA@2025-01-17 20:42:05>> Try to reconnect ...\n",
124
+ "I: 20:42:05 NEZHA@2025-01-17 20:42:05>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
125
+ "I: 20:42:05 NEZHA@2025-01-17 20:42:05>> Error to close connection ...\n",
126
+ "I: 20:42:15 NEZHA@2025-01-17 20:42:15>> Try to reconnect ...\n",
127
+ "I: 20:42:16 NEZHA@2025-01-17 20:42:16>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
128
+ "I: 20:42:16 NEZHA@2025-01-17 20:42:16>> Error to close connection ...\n",
129
+ "2025/01/17 20:42:18.173 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:57420\n",
130
+ "I: 20:42:26 NEZHA@2025-01-17 20:42:26>> Try to reconnect ...\n",
131
+ "I: 20:42:31 NEZHA@2025-01-17 20:42:31>> 上报系统信息失败: rpc error: code = DeadlineExceeded desc = received context error while waiting for new LB policy update: context deadline exceeded\n",
132
+ "I: 20:42:31 NEZHA@2025-01-17 20:42:31>> Error to close connection ...\n",
133
+ "2025/01/17 20:42:32.394 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:36792\n",
134
+ "I: 20:42:41 NEZHA@2025-01-17 20:42:41>> Try to reconnect ...\n",
135
+ "I: 20:42:41 NEZHA@2025-01-17 20:42:41>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
136
+ "I: 20:42:41 NEZHA@2025-01-17 20:42:41>> Error to close connection ...\n",
137
+ "2025/01/17 20:42:43.776 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:13530\n",
138
+ "2025/01/17 20:42:51.298 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:94.156.167.133:41770\n",
139
+ "I: 20:42:51 NEZHA@2025-01-17 20:42:51>> Try to reconnect ...\n",
140
+ "I: 20:42:51 NEZHA@2025-01-17 20:42:51>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
141
+ "I: 20:42:51 NEZHA@2025-01-17 20:42:51>> Error to close connection ...\n",
142
+ "2025/01/17 20:42:57.044 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:31458\n",
143
+ "I: 20:43:01 NEZHA@2025-01-17 20:43:01>> Try to reconnect ...\n",
144
+ "I: 20:43:02 NEZHA@2025-01-17 20:43:02>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
145
+ "I: 20:43:02 NEZHA@2025-01-17 20:43:02>> Error to close connection ...\n",
146
+ "2025/01/17 20:43:08.398 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:31064\n",
147
+ "I: 20:43:12 NEZHA@2025-01-17 20:43:12>> Try to reconnect ...\n",
148
+ "I: 20:43:12 NEZHA@2025-01-17 20:43:12>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
149
+ "I: 20:43:12 NEZHA@2025-01-17 20:43:12>> Error to close connection ...\n",
150
+ "2025/01/17 20:43:20.768 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:59894\n",
151
+ "I: 20:43:22 NEZHA@2025-01-17 20:43:22>> Try to reconnect ...\n",
152
+ "I: 20:43:23 NEZHA@2025-01-17 20:43:23>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
153
+ "I: 20:43:23 NEZHA@2025-01-17 20:43:23>> Error to close connection ...\n",
154
+ "I: 20:43:33 NEZHA@2025-01-17 20:43:33>> Try to reconnect ...\n",
155
+ "2025/01/17 20:43:33.582 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:58656\n",
156
+ "I: 20:43:33 NEZHA@2025-01-17 20:43:33>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
157
+ "I: 20:43:33 NEZHA@2025-01-17 20:43:33>> Error to close connection ...\n",
158
+ "I: 20:43:43 NEZHA@2025-01-17 20:43:43>> Try to reconnect ...\n",
159
+ "I: 20:43:44 NEZHA@2025-01-17 20:43:44>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
160
+ "I: 20:43:44 NEZHA@2025-01-17 20:43:44>> Error to close connection ...\n",
161
+ "2025/01/17 20:43:46.102 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:42774\n",
162
+ "I: 20:43:54 NEZHA@2025-01-17 20:43:54>> Try to reconnect ...\n",
163
+ "2025/01/17 20:43:58.323 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:60844\n",
164
+ "I: 20:43:59 NEZHA@2025-01-17 20:43:59>> 上报系统信息失败: rpc error: code = DeadlineExceeded desc = received context error while waiting for new LB policy update: context deadline exceeded\n",
165
+ "I: 20:43:59 NEZHA@2025-01-17 20:43:59>> Error to close connection ...\n",
166
+ "2025/01/17 20:44:02.816 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:81.161.238.170:47300\n",
167
+ "I: 20:44:09 NEZHA@2025-01-17 20:44:09>> Try to reconnect ...\n",
168
+ "I: 20:44:09 NEZHA@2025-01-17 20:44:09>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
169
+ "I: 20:44:09 NEZHA@2025-01-17 20:44:09>> Error to close connection ...\n",
170
+ "2025/01/17 20:44:10.624 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:56002\n",
171
+ "I: 20:44:19 NEZHA@2025-01-17 20:44:19>> Try to reconnect ...\n",
172
+ "I: 20:44:20 NEZHA@2025-01-17 20:44:20>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
173
+ "I: 20:44:20 NEZHA@2025-01-17 20:44:20>> Error to close connection ...\n",
174
+ "2025/01/17 20:44:23.052 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:45034\n",
175
+ "I: 20:44:30 NEZHA@2025-01-17 20:44:30>> Try to reconnect ...\n",
176
+ "I: 20:44:30 NEZHA@2025-01-17 20:44:30>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
177
+ "I: 20:44:30 NEZHA@2025-01-17 20:44:30>> Error to close connection ...\n",
178
+ "2025/01/17 20:44:34.908 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:64958\n",
179
+ "I: 20:44:40 NEZHA@2025-01-17 20:44:40>> Try to reconnect ...\n",
180
+ "I: 20:44:41 NEZHA@2025-01-17 20:44:41>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
181
+ "I: 20:44:41 NEZHA@2025-01-17 20:44:41>> Error to close connection ...\n",
182
+ "2025/01/17 20:44:46.898 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:23522\n",
183
+ "I: 20:44:51 NEZHA@2025-01-17 20:44:51>> Try to reconnect ...\n",
184
+ "I: 20:44:51 NEZHA@2025-01-17 20:44:51>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
185
+ "I: 20:44:51 NEZHA@2025-01-17 20:44:51>> Error to close connection ...\n",
186
+ "2025/01/17 20:44:58.932 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:15638\n",
187
+ "I: 20:45:01 NEZHA@2025-01-17 20:45:01>> Try to reconnect ...\n",
188
+ "I: 20:45:01 NEZHA@2025-01-17 20:45:01>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
189
+ "I: 20:45:01 NEZHA@2025-01-17 20:45:01>> Error to close connection ...\n",
190
+ "2025/01/17 20:45:10.950 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:19410\n",
191
+ "I: 20:45:11 NEZHA@2025-01-17 20:45:11>> Try to reconnect ...\n",
192
+ "I: 20:45:12 NEZHA@2025-01-17 20:45:12>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
193
+ "I: 20:45:12 NEZHA@2025-01-17 20:45:12>> Error to close connection ...\n",
194
+ "I: 20:45:22 NEZHA@2025-01-17 20:45:22>> Try to reconnect ...\n",
195
+ "2025/01/17 20:45:23.530 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:63980\n",
196
+ "I: 20:45:27 NEZHA@2025-01-17 20:45:27>> 上报系统信息失败: rpc error: code = DeadlineExceeded desc = received context error while waiting for new LB policy update: context deadline exceeded\n",
197
+ "I: 20:45:27 NEZHA@2025-01-17 20:45:27>> Error to close connection ...\n",
198
+ "2025/01/17 20:45:35.901 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:42768\n",
199
+ "I: 20:45:37 NEZHA@2025-01-17 20:45:37>> Try to reconnect ...\n",
200
+ "I: 20:45:37 NEZHA@2025-01-17 20:45:37>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
201
+ "I: 20:45:37 NEZHA@2025-01-17 20:45:37>> Error to close connection ...\n",
202
+ "2025/01/17 20:45:43.562 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:87.120.114.109:49128\n",
203
+ "I: 20:45:47 NEZHA@2025-01-17 20:45:47>> Try to reconnect ...\n",
204
+ "2025/01/17 20:45:48.690 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:10342\n",
205
+ "I: 20:45:48 NEZHA@2025-01-17 20:45:48>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
206
+ "I: 20:45:48 NEZHA@2025-01-17 20:45:48>> Error to close connection ...\n",
207
+ "I: 20:45:58 NEZHA@2025-01-17 20:45:58>> Try to reconnect ...\n",
208
+ "I: 20:45:59 NEZHA@2025-01-17 20:45:59>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
209
+ "I: 20:45:59 NEZHA@2025-01-17 20:45:59>> Error to close connection ...\n",
210
+ "2025/01/17 20:46:00.865 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:21640\n",
211
+ "I: 20:46:09 NEZHA@2025-01-17 20:46:09>> Try to reconnect ...\n",
212
+ "I: 20:46:09 NEZHA@2025-01-17 20:46:09>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
213
+ "I: 20:46:09 NEZHA@2025-01-17 20:46:09>> Error to close connection ...\n",
214
+ "2025/01/17 20:46:13.279 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:45146\n",
215
+ "I: 20:46:19 NEZHA@2025-01-17 20:46:19>> Try to reconnect ...\n",
216
+ "I: 20:46:20 NEZHA@2025-01-17 20:46:20>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
217
+ "I: 20:46:20 NEZHA@2025-01-17 20:46:20>> Error to close connection ...\n",
218
+ "2025/01/17 20:46:26.012 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:45418\n",
219
+ "I: 20:46:30 NEZHA@2025-01-17 20:46:30>> Try to reconnect ...\n",
220
+ "I: 20:46:30 NEZHA@2025-01-17 20:46:30>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
221
+ "I: 20:46:30 NEZHA@2025-01-17 20:46:30>> Error to close connection ...\n",
222
+ "2025/01/17 20:46:39.911 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:16950\n",
223
+ "I: 20:46:40 NEZHA@2025-01-17 20:46:40>> Try to reconnect ...\n",
224
+ "I: 20:46:41 NEZHA@2025-01-17 20:46:41>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
225
+ "I: 20:46:41 NEZHA@2025-01-17 20:46:41>> Error to close connection ...\n",
226
+ "2025/01/17 20:46:41.778 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:81.161.238.170:45276\n",
227
+ "2025/01/17 20:46:43.988 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:94.156.167.133:46424\n",
228
+ "I: 20:46:51 NEZHA@2025-01-17 20:46:51>> Try to reconnect ...\n",
229
+ "I: 20:46:51 NEZHA@2025-01-17 20:46:51>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
230
+ "I: 20:46:51 NEZHA@2025-01-17 20:46:51>> Error to close connection ...\n",
231
+ "2025/01/17 20:46:52.007 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:24766\n",
232
+ "I: 20:47:01 NEZHA@2025-01-17 20:47:01>> Try to reconnect ...\n",
233
+ "I: 20:47:02 NEZHA@2025-01-17 20:47:02>> 上报系统信息失败: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 188.68.240.161:16667: connect: connection refused\"\n",
234
+ "I: 20:47:02 NEZHA@2025-01-17 20:47:02>> Error to close connection ...\n",
235
+ "2025/01/17 20:47:05.708 \u001b[1;44m[D]\u001b[0m [client.go:221] new tcp connection with the goal of 127.0.0.1:22, remote address:178.63.93.46:3478\n"
236
+ ]
237
+ }
238
+ ],
239
+ "source": [
240
+ "import time\n",
241
+ "from IPython.display import clear_output\n",
242
+ "import os\n",
243
+ "import threading\n",
244
+ "server_lock = threading.Lock()\n",
245
+ "def server():\n",
246
+ " while True:\n",
247
+ " with server_lock:\n",
248
+ " !mr -r /tmp/code/main.py\n",
249
+ " !wget -O /tmp/code/main.py 'https://hf-mirror.com/datasets/Qi28/SD_QZ/resolve/main/main.py'\n",
250
+ " !python /tmp/code/main.py\n",
251
+ " time.sleep(60)\n",
252
+ "\n",
253
+ "def clear_output_periodically():\n",
254
+ " while True:\n",
255
+ " clear_output()\n",
256
+ " time.sleep(600)\n",
257
+ "# threading.Thread(target=server, daemon=True).start()\n",
258
+ "!rm /tmp/code/server.py\n",
259
+ "!wget -O /tmp/code/server.py https://hf-mirror.com/datasets/Qi28/SD_QZ/resolve/main/server.py\n",
260
+ "threading.Thread(target=clear_output_periodically, daemon=True).start()\n",
261
+ "!python /tmp/code/server.py"
262
+ ]
263
+ },
264
+ {
265
+ "cell_type": "code",
266
+ "execution_count": null,
267
+ "id": "84d9ec6d-c37b-4f34-8b55-f5622c335dfd",
268
+ "metadata": {},
269
+ "outputs": [],
270
+ "source": []
271
+ }
272
+ ],
273
+ "metadata": {
274
+ "kernelspec": {
275
+ "display_name": "Python 3 (ipykernel)",
276
+ "language": "python",
277
+ "name": "python3"
278
+ },
279
+ "language_info": {
280
+ "codemirror_mode": {
281
+ "name": "ipython",
282
+ "version": 3
283
+ },
284
+ "file_extension": ".py",
285
+ "mimetype": "text/x-python",
286
+ "name": "python",
287
+ "nbconvert_exporter": "python",
288
+ "pygments_lexer": "ipython3",
289
+ "version": "3.10.12"
290
+ }
291
+ },
292
+ "nbformat": 4,
293
+ "nbformat_minor": 5
294
+ }