-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathinfo.log
420 lines (360 loc) · 31.3 KB
/
info.log
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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
2023-12-18 13:09:59,827 login.py cookies_login锟斤拷line 143 INFO 锟斤拷锟轿碉拷录未锟斤拷锟斤拷Cookie锟斤拷使锟斤拷锟剿猴拷锟斤拷锟斤拷锟铰硷拷锟�
2023-12-18 13:09:59,866 login.py account_login锟斤拷line 99 ERROR 锟斤拷锟斤拷锟斤拷证锟诫,锟斤拷陆失锟杰o拷准锟斤拷锟斤拷取锟斤拷证锟斤拷锟斤拷
urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:1129)
The above exception was the direct cause of the following exception:
urllib3.exceptions.ProxyError: ('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\connectionpool.py", line 845, in urlopen
retries = retries.increment(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\util\retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /member.php?mod=logging&action=login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\login.py", line 96, in account_login
if self.account_login_without_verify():
File "D:\PycharmProjects\hostloc_auto\login.py", line 75, in account_login_without_verify
loginhash, formhash = self.form_hash()
File "D:\PycharmProjects\hostloc_auto\login.py", line 30, in form_hash
rst = self.session.get(f'https://{self.hostname}/member.php?mod=logging&action=login').text
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 513, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /member.php?mod=logging&action=login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
2023-12-18 13:09:59,904 login.py main锟斤拷line 178 ERROR 失锟杰o拷锟斤拷锟斤拷锟斤拷一锟斤拷锟斤拷锟斤拷
urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:1129)
The above exception was the direct cause of the following exception:
urllib3.exceptions.ProxyError: ('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\connectionpool.py", line 845, in urlopen
retries = retries.increment(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\util\retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /misc.php?mod=seccode&action=update&idhash=cSA&0.3701502461393815&modid=member::logging (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\login.py", line 164, in main
self.account_login()
File "D:\PycharmProjects\hostloc_auto\login.py", line 101, in account_login
code = self.verify_code()
File "D:\PycharmProjects\hostloc_auto\login.py", line 60, in verify_code
code = self.verify_code_once()
File "D:\PycharmProjects\hostloc_auto\login.py", line 37, in verify_code_once
rst = self.session.get(f'https://{self.hostname}/misc.php?mod=seccode&action=update&idhash=cSA&0.3701502461393815&modid=member::logging').text
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 513, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /misc.php?mod=seccode&action=update&idhash=cSA&0.3701502461393815&modid=member::logging (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
2023-12-18 13:10:21,726 login.py cookies_login锟斤拷line 143 INFO 锟斤拷锟轿碉拷录未锟斤拷锟斤拷Cookie锟斤拷使锟斤拷锟剿猴拷锟斤拷锟斤拷锟铰硷拷锟�
2023-12-18 13:10:22,388 login.py form_hash锟斤拷line 33 INFO loginhash : LDWU7 , formhash : 552c0af6
2023-12-18 13:10:22,601 login.py account_login_without_verify锟斤拷line 86 INFO 锟斤拷陆锟缴癸拷
2023-12-18 13:10:22,807 login.py main锟斤拷line 168 INFO 锟斤拷锟斤拷: 1738,锟结交锟斤拷锟斤拷formhash:d5a5f80e
2023-12-18 13:10:22,984 login.py get_conis锟斤拷line 154 INFO 锟斤拷前锟斤拷锟斤拷锟斤拷锟斤拷锟�1648
2023-12-18 13:10:22,985 login.py main锟斤拷line 175 INFO 锟铰碉拷Cookie锟窖憋拷锟芥。
2023-12-18 13:18:33,168 login.py account_login锟斤拷line 99 ERROR 锟斤拷锟斤拷锟斤拷证锟诫,锟斤拷陆失锟杰o拷准锟斤拷锟斤拷取锟斤拷证锟斤拷锟斤拷
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\login.py", line 96, in account_login
if self.account_login_without_verify():
File "D:\PycharmProjects\hostloc_auto\login.py", line 75, in account_login_without_verify
loginhash, formhash = self.form_hash()
File "D:\PycharmProjects\hostloc_auto\login.py", line 31, in form_hash
loginhash = re.search(r'<div id="main_messaqge_(.+?)">', rst).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
2023-12-18 13:18:33,590 login.py main锟斤拷line 178 ERROR 失锟杰o拷锟斤拷锟斤拷锟斤拷一锟斤拷锟斤拷锟斤拷
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\login.py", line 164, in main
self.account_login()
File "D:\PycharmProjects\hostloc_auto\login.py", line 101, in account_login
code = self.verify_code()
File "D:\PycharmProjects\hostloc_auto\login.py", line 60, in verify_code
code = self.verify_code_once()
File "D:\PycharmProjects\hostloc_auto\login.py", line 54, in verify_code_once
return self.ocr.classification(rst.content)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\ddddocr\__init__.py", line 1614, in classification
image = image.resize((int(image.size[0] * (64 / image.size[1])), 64), Image.ANTIALIAS).convert('L')
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
2023-12-18 13:28:08,472 login.py form_hash锟斤拷line 37 INFO loginhash : , formhash : d5a5f80e
2023-12-18 13:28:08,683 login.py account_login_without_verify锟斤拷line 90 INFO 锟斤拷陆锟缴癸拷
2023-12-18 13:28:08,919 login.py main锟斤拷line 172 INFO 锟斤拷锟斤拷: 1758,锟结交锟斤拷锟斤拷formhash:d5a5f80e
2023-12-18 13:28:09,123 login.py get_conis锟斤拷line 158 INFO 锟斤拷前锟斤拷锟斤拷锟斤拷锟斤拷锟�1668
2023-12-18 13:28:09,124 login.py main锟斤拷line 179 INFO 锟铰碉拷Cookie锟窖憋拷锟芥。
2023-12-18 13:30:16,138 login.py form_hash锟斤拷line 37 INFO loginhash : , formhash : d5a5f80e
2023-12-18 13:30:16,319 login.py account_login_without_verify锟斤拷line 90 INFO 锟斤拷陆锟缴癸拷
2023-12-18 13:30:16,523 login.py main锟斤拷line 172 INFO 锟斤拷锟斤拷: 1758,锟结交锟斤拷锟斤拷formhash:d5a5f80e
2023-12-18 13:30:16,701 login.py get_conis锟斤拷line 158 INFO 锟斤拷前锟斤拷锟斤拷锟斤拷锟斤拷锟�1668
2023-12-18 13:30:16,702 login.py main锟斤拷line 179 INFO 锟铰碉拷Cookie锟窖憋拷锟芥。
2024-01-17 23:45:07,912 login.py cookies_login:line 147 INFO 初次登录未发现Cookie,使用账号密码登录。
2024-01-17 23:45:07,950 login.py account_login:line 103 ERROR 存在验证码,登陆失败,准备获取验证码中
urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:1129)
The above exception was the direct cause of the following exception:
urllib3.exceptions.ProxyError: ('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\connectionpool.py", line 845, in urlopen
retries = retries.increment(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\util\retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /member.php?mod=logging&action=login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\login.py", line 100, in account_login
if self.account_login_without_verify():
File "D:\PycharmProjects\hostloc_auto\login.py", line 79, in account_login_without_verify
loginhash, formhash = self.form_hash()
File "D:\PycharmProjects\hostloc_auto\login.py", line 30, in form_hash
rst = self.session.get(f'https://{self.hostname}/member.php?mod=logging&action=login').text
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 513, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /member.php?mod=logging&action=login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
2024-01-17 23:45:07,980 login.py main:line 182 ERROR 失败,发生了一个错误!
urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:1129)
The above exception was the direct cause of the following exception:
urllib3.exceptions.ProxyError: ('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\connectionpool.py", line 845, in urlopen
retries = retries.increment(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\util\retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /misc.php?mod=seccode&action=update&idhash=cSA&0.3701502461393815&modid=member::logging (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\login.py", line 168, in main
self.account_login()
File "D:\PycharmProjects\hostloc_auto\login.py", line 105, in account_login
code = self.verify_code()
File "D:\PycharmProjects\hostloc_auto\login.py", line 64, in verify_code
code = self.verify_code_once()
File "D:\PycharmProjects\hostloc_auto\login.py", line 41, in verify_code_once
rst = self.session.get(f'https://{self.hostname}/misc.php?mod=seccode&action=update&idhash=cSA&0.3701502461393815&modid=member::logging').text
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 513, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /misc.php?mod=seccode&action=update&idhash=cSA&0.3701502461393815&modid=member::logging (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
2024-01-17 23:45:25,470 login.py cookies_login:line 147 INFO 初次登录未发现Cookie,使用账号密码登录。
2024-01-17 23:45:25,505 login.py account_login:line 103 ERROR 存在验证码,登陆失败,准备获取验证码中
urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:1129)
The above exception was the direct cause of the following exception:
urllib3.exceptions.ProxyError: ('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\connectionpool.py", line 845, in urlopen
retries = retries.increment(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\util\retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /member.php?mod=logging&action=login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\login.py", line 100, in account_login
if self.account_login_without_verify():
File "D:\PycharmProjects\hostloc_auto\login.py", line 79, in account_login_without_verify
loginhash, formhash = self.form_hash()
File "D:\PycharmProjects\hostloc_auto\login.py", line 30, in form_hash
rst = self.session.get(f'https://{self.hostname}/member.php?mod=logging&action=login').text
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 513, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /member.php?mod=logging&action=login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
2024-01-17 23:45:25,521 login.py main:line 182 ERROR 失败,发生了一个错误!
urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:1129)
The above exception was the direct cause of the following exception:
urllib3.exceptions.ProxyError: ('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\connectionpool.py", line 845, in urlopen
retries = retries.increment(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\util\retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /misc.php?mod=seccode&action=update&idhash=cSA&0.3701502461393815&modid=member::logging (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\login.py", line 168, in main
self.account_login()
File "D:\PycharmProjects\hostloc_auto\login.py", line 105, in account_login
code = self.verify_code()
File "D:\PycharmProjects\hostloc_auto\login.py", line 64, in verify_code
code = self.verify_code_once()
File "D:\PycharmProjects\hostloc_auto\login.py", line 41, in verify_code_once
rst = self.session.get(f'https://{self.hostname}/misc.php?mod=seccode&action=update&idhash=cSA&0.3701502461393815&modid=member::logging').text
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 513, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /misc.php?mod=seccode&action=update&idhash=cSA&0.3701502461393815&modid=member::logging (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
2024-01-17 23:46:35,867 login.py cookies_login:line 147 INFO 初次登录未发现Cookie,使用账号密码登录。
2024-01-17 23:46:35,909 login.py account_login:line 103 ERROR 存在验证码,登陆失败,准备获取验证码中
urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:1129)
The above exception was the direct cause of the following exception:
urllib3.exceptions.ProxyError: ('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\connectionpool.py", line 845, in urlopen
retries = retries.increment(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\util\retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /member.php?mod=logging&action=login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\login.py", line 100, in account_login
if self.account_login_without_verify():
File "D:\PycharmProjects\hostloc_auto\login.py", line 79, in account_login_without_verify
loginhash, formhash = self.form_hash()
File "D:\PycharmProjects\hostloc_auto\login.py", line 30, in form_hash
rst = self.session.get(f'https://{self.hostname}/member.php?mod=logging&action=login').text
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 513, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /member.php?mod=logging&action=login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
2024-01-17 23:46:35,925 login.py main:line 182 ERROR 失败,发生了一个错误!
urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:1129)
The above exception was the direct cause of the following exception:
urllib3.exceptions.ProxyError: ('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\connectionpool.py", line 845, in urlopen
retries = retries.increment(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\util\retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /misc.php?mod=seccode&action=update&idhash=cSA&0.3701502461393815&modid=member::logging (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\login.py", line 168, in main
self.account_login()
File "D:\PycharmProjects\hostloc_auto\login.py", line 105, in account_login
code = self.verify_code()
File "D:\PycharmProjects\hostloc_auto\login.py", line 64, in verify_code
code = self.verify_code_once()
File "D:\PycharmProjects\hostloc_auto\login.py", line 41, in verify_code_once
rst = self.session.get(f'https://{self.hostname}/misc.php?mod=seccode&action=update&idhash=cSA&0.3701502461393815&modid=member::logging').text
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 513, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /misc.php?mod=seccode&action=update&idhash=cSA&0.3701502461393815&modid=member::logging (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
2024-01-17 23:46:51,227 login.py cookies_login:line 147 INFO 初次登录未发现Cookie,使用账号密码登录。
2024-01-17 23:46:57,764 login.py account_login:line 103 ERROR 存在验证码,登陆失败,准备获取验证码中
urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:1129)
The above exception was the direct cause of the following exception:
urllib3.exceptions.ProxyError: ('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\connectionpool.py", line 845, in urlopen
retries = retries.increment(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\util\retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /member.php?mod=logging&action=login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\login.py", line 100, in account_login
if self.account_login_without_verify():
File "D:\PycharmProjects\hostloc_auto\login.py", line 79, in account_login_without_verify
loginhash, formhash = self.form_hash()
File "D:\PycharmProjects\hostloc_auto\login.py", line 30, in form_hash
rst = self.session.get(f'https://{self.hostname}/member.php?mod=logging&action=login').text
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 513, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /member.php?mod=logging&action=login (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
2024-01-17 23:47:03,909 login.py main:line 182 ERROR 失败,发生了一个错误!
urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:1129)
The above exception was the direct cause of the following exception:
urllib3.exceptions.ProxyError: ('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\connectionpool.py", line 845, in urlopen
retries = retries.increment(
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\urllib3\util\retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /misc.php?mod=seccode&action=update&idhash=cSA&0.3701502461393815&modid=member::logging (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\PycharmProjects\hostloc_auto\login.py", line 168, in main
self.account_login()
File "D:\PycharmProjects\hostloc_auto\login.py", line 105, in account_login
code = self.verify_code()
File "D:\PycharmProjects\hostloc_auto\login.py", line 64, in verify_code
code = self.verify_code_once()
File "D:\PycharmProjects\hostloc_auto\login.py", line 41, in verify_code_once
rst = self.session.get(f'https://{self.hostname}/misc.php?mod=seccode&action=update&idhash=cSA&0.3701502461393815&modid=member::logging').text
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "D:\PycharmProjects\hostloc_auto\venv\lib\site-packages\requests\adapters.py", line 513, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='hostloc.com', port=443): Max retries exceeded with url: /misc.php?mod=seccode&action=update&idhash=cSA&0.3701502461393815&modid=member::logging (Caused by ProxyError('Unable to connect to proxy', SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))))
2024-01-17 23:47:24,867 login.py cookies_login:line 147 INFO 初次登录未发现Cookie,使用账号密码登录。
2024-01-17 23:47:25,569 login.py form_hash:line 37 INFO loginhash : LSC33 , formhash : 79c3e1d1
2024-01-17 23:47:25,798 login.py account_login_without_verify:line 90 INFO 登陆成功
2024-01-17 23:47:26,025 login.py main:line 172 INFO 积分: 2233,提交文章formhash:3647c9d0
2024-01-17 23:47:26,251 login.py get_conis:line 158 INFO 当前金币数量:1268
2024-01-17 23:47:26,251 login.py main:line 179 INFO 新的Cookie已保存。
2024-01-17 23:47:37,812 Snapped.py reply:line 110 INFO T楼发送成功,tid:1264587,链接:https://hostloc.com/forum.php?mod=viewthread&tid=1264587&pid=15155377&page=1&extra=#pid15155377