Home > other >  Does anyone know what's the problem
Does anyone know what's the problem

Time:12-05

Traceback (the most recent call last) :
File "C: \ Users \ \ Administrator \ \ AppData \ Local \ designed \ Python Python38 \ lib \ urllib \ request py", line 1319, in do_open
Practice equest (the req. Get_method (), the req. The selector, the req. Data, headers,
File "C: \ Users \ \ Administrator \ \ AppData \ Local \ designed \ Python Python38 \ \ lib \ HTTP client. Py", line 1230, in the request
Self. _send_request (method, url, body, headers, encode_chunked)
File "C: \ Users \ \ Administrator \ \ AppData \ Local \ designed \ Python Python38 \ \ lib \ HTTP client. Py", line 1276, in _send_request
Self. Endheaders (body, encode_chunked=encode_chunked)
File "C: \ Users \ \ Administrator \ \ AppData \ Local \ designed \ Python Python38 \ \ lib \ HTTP client. Py", line 1225, in endheaders
Self. _send_output (message_body, encode_chunked=encode_chunked)
File "C: \ Users \ \ Administrator \ \ AppData \ Local \ designed \ Python Python38 \ \ lib \ HTTP client. Py", line 1004, in _send_output
The self. The send (MSG)
File "C: \ Users \ \ Administrator \ \ AppData \ Local \ designed \ Python Python38 \ \ lib \ HTTP client. Py", line 944, in the send
The self. The connect ()
File "C: \ Users \ \ Administrator \ \ AppData \ Local \ designed \ Python Python38 \ \ lib \ HTTP client. Py", line 1399, in the connect
The self. The sock=self. _context. Wrap_socket (self. The sock,
File "C: \ Users \ \ Administrator \ \ AppData \ Local \ designed \ Python Python38 \ lib \ SSL py", line 500, in wrap_socket
Return the self. Sslsocket_class. _create (
File "C: \ Users \ \ Administrator \ \ AppData \ Local \ designed \ Python Python38 \ lib \ SSL py", line 1040, in _create
Self. Do_handshake ()
File "C: \ Users \ \ Administrator \ \ AppData \ Local \ designed \ Python Python38 \ lib \ SSL py", line 1309, in do_handshake
Self. _sslobj. Do_handshake ()
ConnectionResetError: [10054] WinError remote host forced to shut down an existing connection,

During handling of the above exception, another exception occurred:

Traceback (the most recent call last) :
The File "C:/Users/Administrator/PycharmProjects untitled1/btc_close_2017. Py", line 23, in & lt; module>
The response=urlopen (json_url) # 2
File "C: \ Users \ \ Administrator \ \ AppData \ Local \ designed \ Python Python38 \ lib \ urllib \ request py", line 222, in urlopen
Return opener. Open (url, data, the timeout)
File "C: \ Users \ \ Administrator \ \ AppData \ Local \ designed \ Python Python38 \ lib \ urllib \ request py", line 525, in the open
The response=self. _open (the req, data)
File "C: \ Users \ \ Administrator \ \ AppData \ Local \ designed \ Python Python38 \ lib \ urllib \ request py", line 542, in _open
Result=self. _call_chain (self handle_open, protocol, protocol +
File "C: \ Users \ \ Administrator \ \ AppData \ Local \ designed \ Python Python38 \ lib \ urllib \ request py", line 502, in _call_chain
Result=func (* args)
File "C: \ Users \ \ Administrator \ \ AppData \ Local \ designed \ Python Python38 \ lib \ urllib \ request py", line 1362, in https_open
Return the self. Do_open (HTTP. Client. HTTPSConnection, the req,
File "C: \ Users \ \ Administrator \ \ AppData \ Local \ designed \ Python Python38 \ lib \ urllib \ request py", line 1322, in do_open
Raise URLError (err)
Urllib. Error. URLError: & lt; Urlopen error [10054] WinError remote host forced to shut down an existing connection, & gt;
  • Related