Hi, I am using onedrivecmd with my personal account. Now, I tried to use it with my bussiness account but it does not let me connect.
After pasting the text from /login.microsoftonline.com...cnbeining.com I got the following error_
`Traceback (most recent call last):
File "c:\program files\python37\lib\site-packages\urllib3\connection.py", line 157, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "c:\program files\python37\lib\site-packages\urllib3\util\connection.py", line 84, in create_connection
raise err
File "c:\program files\python37\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] Se produjo un error durante el intento de conexión ya que la parte conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexión establecida ya que el host conectado no ha podido responder
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\program files\python37\lib\site-packages\urllib3\connectionpool.py", line 672, in urlopen
chunked=chunked,
File "c:\program files\python37\lib\site-packages\urllib3\connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "c:\program files\python37\lib\site-packages\urllib3\connectionpool.py", line 994, in _validate_conn
conn.connect()
File "c:\program files\python37\lib\site-packages\urllib3\connection.py", line 334, in connect
conn = self._new_conn()
File "c:\program files\python37\lib\site-packages\urllib3\connection.py", line 169, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x000001945ACFAD88>: Failed to establish a new connection: [WinError 10060] Se produjo un error durante el intento de conexión ya que la parte conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexión establecida ya que el host conectado no ha podido responder
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\program files\python37\lib\site-packages\requests\adapters.py", line 449, in send
timeout=timeout
File "c:\program files\python37\lib\site-packages\urllib3\connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "c:\program files\python37\lib\site-packages\urllib3\util\retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.office.com', port=443): Max retries exceeded with url: /discovery/v2.0/me/services (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000001945ACFAD88>: Failed to establish a new connection: [WinError 10060] Se produjo un error durante el intento de conexión ya que la parte conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexión establecida ya que el host conectado no ha podido responder'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\program files\python37\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\program files\python37\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Program Files\Python37\Scripts\onedrivecmd.exe__main__.py", line 7, in
File "c:\program files\python37\lib\site-packages\onedrivecmd\onedrivecmd.py", line 47, in main
client = do_init(client, args)
File "c:\program files\python37\lib\site-packages\onedrivecmd\utils\actions.py", line 149, in do_init
client = init_business(client)
File "c:\program files\python37\lib\site-packages\onedrivecmd\utils\actions.py", line 87, in init_business
service_info = ResourceDiscoveryRequest().get_service_info(auth.access_token)[0]
File "c:\program files\python37\lib\site-packages\onedrivesdk\helpers\resource_discovery.py", line 25, in get_service_info
response = json.loads(requests.get(self._discovery_service_url, headers=headers).text)
File "c:\program files\python37\lib\site-packages\requests\api.py", line 75, in get
return request('get', url, params=params, kwargs)
File "c:\program files\python37\lib\site-packages\requests\api.py", line 60, in request
return session.request(method=method, url=url, kwargs)
File "c:\program files\python37\lib\site-packages\requests\sessions.py", line 533, in request
resp = self.send(prep, send_kwargs)
File "c:\program files\python37\lib\site-packages\requests\sessions.py", line 646, in send
r = adapter.send(request, kwargs)
File "c:\program files\python37\lib\site-packages\requests\adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.office.com', port=443): Max retries exceeded with url: /discovery/v2.0/me/services (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000001945ACFAD88>: Failed to establish a new connection: [WinError 10060] Se produjo un error durante el intento de conexión ya que la parte conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexión establecida ya que el host conectado no ha podido responder'))`
Hi, I am using onedrivecmd with my personal account. Now, I tried to use it with my bussiness account but it does not let me connect.
After pasting the text from /login.microsoftonline.com...cnbeining.com I got the following error_
`Traceback (most recent call last): File "c:\program files\python37\lib\site-packages\urllib3\connection.py", line 157, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "c:\program files\python37\lib\site-packages\urllib3\util\connection.py", line 84, in create_connection raise err File "c:\program files\python37\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection sock.connect(sa) TimeoutError: [WinError 10060] Se produjo un error durante el intento de conexión ya que la parte conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexión establecida ya que el host conectado no ha podido responder
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "c:\program files\python37\lib\site-packages\urllib3\connectionpool.py", line 672, in urlopen chunked=chunked, File "c:\program files\python37\lib\site-packages\urllib3\connectionpool.py", line 376, in _make_request self._validate_conn(conn) File "c:\program files\python37\lib\site-packages\urllib3\connectionpool.py", line 994, in _validate_conn conn.connect() File "c:\program files\python37\lib\site-packages\urllib3\connection.py", line 334, in connect conn = self._new_conn() File "c:\program files\python37\lib\site-packages\urllib3\connection.py", line 169, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x000001945ACFAD88>: Failed to establish a new connection: [WinError 10060] Se produjo un error durante el intento de conexión ya que la parte conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexión establecida ya que el host conectado no ha podido responder
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "c:\program files\python37\lib\site-packages\requests\adapters.py", line 449, in send timeout=timeout File "c:\program files\python37\lib\site-packages\urllib3\connectionpool.py", line 720, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "c:\program files\python37\lib\site-packages\urllib3\util\retry.py", line 436, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.office.com', port=443): Max retries exceeded with url: /discovery/v2.0/me/services (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000001945ACFAD88>: Failed to establish a new connection: [WinError 10060] Se produjo un error durante el intento de conexión ya que la parte conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexión establecida ya que el host conectado no ha podido responder'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "c:\program files\python37\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "c:\program files\python37\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Program Files\Python37\Scripts\onedrivecmd.exe__main__.py", line 7, in
File "c:\program files\python37\lib\site-packages\onedrivecmd\onedrivecmd.py", line 47, in main
client = do_init(client, args)
File "c:\program files\python37\lib\site-packages\onedrivecmd\utils\actions.py", line 149, in do_init
client = init_business(client)
File "c:\program files\python37\lib\site-packages\onedrivecmd\utils\actions.py", line 87, in init_business
service_info = ResourceDiscoveryRequest().get_service_info(auth.access_token)[0]
File "c:\program files\python37\lib\site-packages\onedrivesdk\helpers\resource_discovery.py", line 25, in get_service_info
response = json.loads(requests.get(self._discovery_service_url, headers=headers).text)
File "c:\program files\python37\lib\site-packages\requests\api.py", line 75, in get
return request('get', url, params=params, kwargs)
File "c:\program files\python37\lib\site-packages\requests\api.py", line 60, in request
return session.request(method=method, url=url, kwargs)
File "c:\program files\python37\lib\site-packages\requests\sessions.py", line 533, in request
resp = self.send(prep, send_kwargs)
File "c:\program files\python37\lib\site-packages\requests\sessions.py", line 646, in send
r = adapter.send(request, kwargs)
File "c:\program files\python37\lib\site-packages\requests\adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.office.com', port=443): Max retries exceeded with url: /discovery/v2.0/me/services (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000001945ACFAD88>: Failed to establish a new connection: [WinError 10060] Se produjo un error durante el intento de conexión ya que la parte conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexión establecida ya que el host conectado no ha podido responder'))`