<urlopen error [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。>
Traceback (most recent call last):
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\urllib\
request.py", line 1317, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\http\
client.py", line 1244, in request
self._send_request(method, url, body, headers, encode_chunked)
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\http\
client.py", line 1290, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\http\
client.py", line 1239, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\http\
client.py", line 1026, in _send_output
self.send(msg)
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\http\
client.py", line 966, in send
self.connect()
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\http\
client.py", line 938, in connect
(self.host,self.port), self.timeout, self.source_address)
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\
socket.py", line 727, in create_connection
raise err
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\
socket.py", line 716, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\
runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\
runpy.py", line 85, in _run_code
exec(code, run_globals)
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\site-packages\xbot_
interpreter.py", line 113, in <module>
main()
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\site-packages\xbot_
interpreter.py", line 57, in main
try:
File "C:\Users\Administrator\AppData\Local\ShadowBot\users\614987925275148290\apps\ee7bb494-2e98-45e9-9dfc-748894f7ff81\xbot_robot\
main.py", line 19, in main
captcha_result = xbot_visual.web_service.captcha(engine_type="ttshitu", username="wuchukun", password=xbot_visual.decrypt("{\"secret\":0,\"value\":\"E/FGJUBja/ns4mvybQcG5g==\"}"), captcha_type="3", third_party_code="ttshitu_3_predict", image_source="web_element", image_file=None, image_browser=web_page, image_web_selector=package.selector("图片_captchaImg"), image_window=None, image_win_selector=None, image_region_x1="0", image_region_y1="0", image_region_x2="0", image_region_y2="0", imageback_source="screen", back_image_file=None, imageback_browser=None, imageback_web_selector=None, imageback_window=None, imageback_win_selector=None, imageback_region_x1="0", imageback_region_y1="0", imageback_region_x2="0", imageback_region_y2="0", typename=None, is_to96dpi=False, remark=None, _block=("main", 2, "验证码识别"))
File "<string>", line 92, in wrapper
File "<string>", line 87, in wrapper
File "<string>", line 849, in captcha
File "<string>", line 39, in captcha
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\urllib\
request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\urllib\
request.py", line 525, in open
response = self._open(req, data)
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\urllib\
request.py", line 543, in _open
'_open', req)
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\urllib\
request.py", line 503, in _call_chain
result = func(*args)
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\urllib\
request.py", line 1345, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "D:\Program Files (x86)\ShadowBot\shadowbot-5.16.25\python\lib\urllib\
request.py", line 1319, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。>