Loading...
1
2
18:07:19.099: [djangoProject1] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/main:refs/heads/main --set-upstream
fatal: unable to access 'https://github.com/abinzzz/BUPT_AC_Hotel.git/': Failed to connect to github.com port 443 after 75004 ms: Couldn't connect to server

项目已经在 GitHub 上创建成功,但是初始推送(initial push)失败了,在尝试连接到 github.com 的 443 端口时,经过了 75004 毫秒后仍然无法建立连接,即 “Couldn’t connect to server”.

出错原因: 网络连接问题


解决方法:别用校园网,用流量,我改用流量后的结果如下

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
18:16:02.093: [djangoProject1] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/main:refs/heads/main --set-upstream
Enumerating objects: 62, done.
Counting objects: 1% (1/62)
Counting objects: 3% (2/62)
Counting objects: 4% (3/62)
Counting objects: 6% (4/62)
Counting objects: 8% (5/62)
Counting objects: 9% (6/62)
Counting objects: 11% (7/62)
Counting objects: 12% (8/62)
Counting objects: 14% (9/62)
Counting objects: 16% (10/62)
Counting objects: 17% (11/62)
Counting objects: 19% (12/62)
Counting objects: 20% (13/62)
Counting objects: 22% (14/62)
Counting objects: 24% (15/62)
Counting objects: 25% (16/62)
Counting objects: 27% (17/62)
Counting objects: 29% (18/62)
Counting objects: 30% (19/62)
Counting objects: 32% (20/62)
Counting objects: 33% (21/62)
Counting objects: 35% (22/62)
Counting objects: 37% (23/62)
Counting objects: 38% (24/62)
Counting objects: 40% (25/62)
Counting objects: 41% (26/62)
Counting objects: 43% (27/62)
Counting objects: 45% (28/62)
Counting objects: 46% (29/62)
Counting objects: 48% (30/62)
Counting objects: 50% (31/62)
Counting objects: 51% (32/62)
Counting objects: 53% (33/62)
Counting objects: 54% (34/62)
Counting objects: 56% (35/62)
Counting objects: 58% (36/62)
Counting objects: 59% (37/62)
Counting objects: 61% (38/62)
Counting objects: 62% (39/62)
Counting objects: 64% (40/62)
Counting objects: 66% (41/62)
Counting objects: 67% (42/62)
Counting objects: 69% (43/62)
Counting objects: 70% (44/62)
Counting objects: 72% (45/62)
Counting objects: 74% (46/62)
Counting objects: 75% (47/62)
Counting objects: 77% (48/62)
Counting objects: 79% (49/62)
Counting objects: 80% (50/62)
Counting objects: 82% (51/62)
Counting objects: 83% (52/62)
Counting objects: 85% (53/62)
Counting objects: 87% (54/62)
Counting objects: 88% (55/62)
Counting objects: 90% (56/62)
Counting objects: 91% (57/62)
Counting objects: 93% (58/62)
Counting objects: 95% (59/62)
Counting objects: 96% (60/62)
Counting objects: 98% (61/62)
Counting objects: 100% (62/62)
Counting objects: 100% (62/62), done.
Delta compression using up to 8 threads
Compressing objects: 1% (1/59)
Compressing objects: 3% (2/59)
Compressing objects: 5% (3/59)
Compressing objects: 6% (4/59)
Compressing objects: 8% (5/59)
Compressing objects: 10% (6/59)
Compressing objects: 11% (7/59)
Compressing objects: 13% (8/59)
Compressing objects: 15% (9/59)
Compressing objects: 16% (10/59)
Compressing objects: 18% (11/59)
Compressing objects: 20% (12/59)
Compressing objects: 22% (13/59)
Compressing objects: 23% (14/59)
Compressing objects: 25% (15/59)
Compressing objects: 27% (16/59)
Compressing objects: 28% (17/59)
Compressing objects: 30% (18/59)
Compressing objects: 32% (19/59)
Compressing objects: 33% (20/59)
Compressing objects: 35% (21/59)
Compressing objects: 37% (22/59)
Compressing objects: 38% (23/59)
Compressing objects: 40% (24/59)
Compressing objects: 42% (25/59)
Compressing objects: 44% (26/59)
Compressing objects: 45% (27/59)
Compressing objects: 47% (28/59)
Compressing objects: 49% (29/59)
Compressing objects: 50% (30/59)
Compressing objects: 52% (31/59)
Compressing objects: 54% (32/59)
Compressing objects: 55% (33/59)
Compressing objects: 57% (34/59)
Compressing objects: 59% (35/59)
Compressing objects: 61% (36/59)
Compressing objects: 62% (37/59)
Compressing objects: 64% (38/59)
Compressing objects: 66% (39/59)
Compressing objects: 67% (40/59)
Compressing objects: 69% (41/59)
Compressing objects: 71% (42/59)
Compressing objects: 72% (43/59)
Compressing objects: 74% (44/59)
Compressing objects: 76% (45/59)
Compressing objects: 77% (46/59)
Compressing objects: 79% (47/59)
Compressing objects: 81% (48/59)
Compressing objects: 83% (49/59)
Compressing objects: 84% (50/59)
Compressing objects: 86% (51/59)
Compressing objects: 88% (52/59)
Compressing objects: 89% (53/59)
Compressing objects: 91% (54/59)
Compressing objects: 93% (55/59)
Compressing objects: 94% (56/59)
Compressing objects: 96% (57/59)
Compressing objects: 98% (58/59)
Compressing objects: 100% (59/59)
Compressing objects: 100% (59/59), done.
Writing objects: 1% (1/62)
Writing objects: 3% (2/62)
Writing objects: 4% (3/62)
Writing objects: 6% (4/62)
Writing objects: 8% (5/62)
Writing objects: 9% (6/62)
Writing objects: 11% (7/62)
Writing objects: 12% (8/62)
Writing objects: 14% (9/62)
Writing objects: 16% (10/62)
Writing objects: 17% (11/62)
Writing objects: 19% (12/62)
Writing objects: 20% (13/62)
Writing objects: 22% (14/62)
Writing objects: 24% (15/62)
Writing objects: 25% (16/62)
Writing objects: 29% (18/62)
Writing objects: 30% (19/62)
Writing objects: 32% (20/62)
Writing objects: 33% (21/62)
Writing objects: 35% (22/62)
Writing objects: 38% (24/62)
Writing objects: 40% (25/62)
Writing objects: 41% (26/62)
Writing objects: 43% (27/62)
Writing objects: 45% (28/62)
Writing objects: 46% (29/62)
Writing objects: 48% (30/62)
Writing objects: 50% (31/62)
Writing objects: 51% (32/62)
Writing objects: 53% (33/62)
Writing objects: 54% (34/62)
Writing objects: 56% (35/62)
Writing objects: 58% (36/62)
Writing objects: 59% (37/62)
Writing objects: 61% (38/62)
Writing objects: 62% (39/62)
Writing objects: 64% (40/62)
Writing objects: 66% (41/62)
Writing objects: 67% (42/62)
Writing objects: 69% (43/62)
Writing objects: 70% (44/62)
Writing objects: 72% (45/62)
Writing objects: 74% (46/62)
Writing objects: 75% (47/62)
Writing objects: 77% (48/62)
Writing objects: 79% (49/62)
Writing objects: 80% (50/62)
Writing objects: 82% (51/62)
Writing objects: 83% (52/62)
Writing objects: 85% (53/62)
Writing objects: 88% (55/62)
Writing objects: 90% (56/62)
Writing objects: 91% (57/62)
Writing objects: 95% (59/62)
Writing objects: 96% (60/62)
Writing objects: 98% (61/62)
Writing objects: 100% (62/62)
Writing objects: 100% (62/62), 8.47 MiB | 722.82 MiB/s, done.
Total 62 (delta 6), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 0% (0/6)
remote: Resolving deltas: 16% (1/6)
remote: Resolving deltas: 33% (2/6)
remote: Resolving deltas: 50% (3/6)
remote: Resolving deltas: 66% (4/6)
remote: Resolving deltas: 83% (5/6)
remote: Resolving deltas: 100% (6/6)
remote: Resolving deltas: 100% (6/6), done.
To https://github.com/abinzzz/BUPT_AC_Hotel.git
* refs/heads/main:refs/heads/main [new branch]
branch 'main' set up to track 'origin/main'.
Done