-
Notifications
You must be signed in to change notification settings - Fork 503
Description
When I use CMD to run "python gen_sa_accounts.py --quick-setup 1 --new-only", the following error occurs when the code runs to "Enabling services"!
Enabling services
Traceback (most recent call last):
File "gen_sa_accounts.py", line 311, in
resp = serviceaccountfactory(
File "gen_sa_accounts.py", line 224, in serviceaccountfactory
_enable_services(serviceusage,ste,services)
File "gen_sa_accounts.py", line 89, in _enable_services
batch.execute()
File "C:\Users\PengYuzun\AppData\Local\Programs\Python\Python38\lib\site-packages\googleapiclient_helpers.py", line 134, in positional_wrapper
return wrapped(*args, **kwargs)
File "C:\Users\PengYuzun\AppData\Local\Programs\Python\Python38\lib\site-packages\googleapiclient\http.py", line 1528, in execute
self._execute(http, self._order, self._requests)
File "C:\Users\PengYuzun\AppData\Local\Programs\Python\Python38\lib\site-packages\googleapiclient\http.py", line 1457, in execute
resp, content = http.request(
File "C:\Users\PengYuzun\AppData\Local\Programs\Python\Python38\lib\site-packages\google_auth_httplib2.py", line 218, in request
response, content = self.http.request(
File "C:\Users\PengYuzun\AppData\Local\Programs\Python\Python38\lib\site-packages\httplib2_init.py", line 1701, in request
(response, content) = self.request(
File "C:\Users\PengYuzun\AppData\Local\Programs\Python\Python38\lib\site-packages\httplib2_init.py", line 1421, in request
(response, content) = self.conn_request(conn, request_uri, method, body, headers)
File "C:\Users\PengYuzun\AppData\Local\Programs\Python\Python38\lib\site-packages\httplib2_init.py", line 1343, in conn_request
conn.connect()
File "C:\Users\PengYuzun\AppData\Local\Programs\Python\Python38\lib\site-packages\httplib2_init.py", line 1179, in connect
raise socket_err
File "C:\Users\PengYuzun\AppData\Local\Programs\Python\Python38\lib\site-packages\httplib2_init.py", line 1135, in connect
self.sock = self._context.wrap_socket(sock, server_hostname=self.host)
File "C:\Users\PengYuzun\AppData\Local\Programs\Python\Python38\lib\ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "C:\Users\PengYuzun\AppData\Local\Programs\Python\Python38\lib\ssl.py", line 1040, in _create
self.do_handshake()
File "C:\Users\PengYuzun\AppData\Local\Programs\Python\Python38\lib\ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ConnectionAbortedError: [WinError 10053] Software on your host aborted an established connection.
How can I solve it?