error:: Traceback (most recent call last): File "/usr/local/python/python-3.9/std/lib64/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/local/python/python-3.9/std/lib64/python3.9/site-packages/urllib3/connectionpool.py", line 445, in _make_request six.raise_from(e, None) File "", line 3, in raise_from File "/usr/local/python/python-3.9/std/lib64/python3.9/site-packages/urllib3/connectionpool.py", line 440, in _make_request httplib_response = conn.getresponse() File "/opt/python/python-3.9/lib64/python3.9/http/client.py", line 1371, in getresponse response.begin() File "/opt/python/python-3.9/lib64/python3.9/http/client.py", line 319, in begin version, status, reason = self._read_status() File "/opt/python/python-3.9/lib64/python3.9/http/client.py", line 280, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/opt/python/python-3.9/lib64/python3.9/socket.py", line 704, in readinto return self._sock.recv_into(b) File "/opt/python/python-3.9/lib64/python3.9/ssl.py", line 1241, in recv_into return self.read(nbytes, buffer) File "/opt/python/python-3.9/lib64/python3.9/ssl.py", line 1099, in read return self._sslobj.read(len, buffer) ConnectionResetError: [Errno 104] Connection reset by peer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/python/python-3.9/std/lib64/python3.9/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/local/python/python-3.9/std/lib64/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/local/python/python-3.9/std/lib64/python3.9/site-packages/urllib3/util/retry.py", line 532, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/local/python/python-3.9/std/lib64/python3.9/site-packages/urllib3/packages/six.py", line 769, in reraise raise value.with_traceback(tb) File "/usr/local/python/python-3.9/std/lib64/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/local/python/python-3.9/std/lib64/python3.9/site-packages/urllib3/connectionpool.py", line 445, in _make_request six.raise_from(e, None) File "", line 3, in raise_from File "/usr/local/python/python-3.9/std/lib64/python3.9/site-packages/urllib3/connectionpool.py", line 440, in _make_request httplib_response = conn.getresponse() File "/opt/python/python-3.9/lib64/python3.9/http/client.py", line 1371, in getresponse response.begin() File "/opt/python/python-3.9/lib64/python3.9/http/client.py", line 319, in begin version, status, reason = self._read_status() File "/opt/python/python-3.9/lib64/python3.9/http/client.py", line 280, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/opt/python/python-3.9/lib64/python3.9/socket.py", line 704, in readinto return self._sock.recv_into(b) File "/opt/python/python-3.9/lib64/python3.9/ssl.py", line 1241, in recv_into return self.read(nbytes, buffer) File "/opt/python/python-3.9/lib64/python3.9/ssl.py", line 1099, in read return self._sslobj.read(len, buffer) urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/u/nenka/.local/lib/python3.9/site-packages/office365/runtime/auth/providers/acs_token_provider.py", line 41, in get_app_only_access_token realm = self._get_realm_from_target_url() File "/u/nenka/.local/lib/python3.9/site-packages/office365/runtime/auth/providers/acs_token_provider.py", line 70, in _get_realm_from_target_url response = requests.head(url=self.url, headers={'Authorization': 'Bearer'}) File "/usr/local/python/python-3.9/std/lib64/python3.9/site-packages/requests/api.py", line 102, in head return request('head', url, **kwargs) File "/usr/local/python/python-3.9/std/lib64/python3.9/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/python/python-3.9/std/lib64/python3.9/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/local/python/python-3.9/std/lib64/python3.9/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/local/python/python-3.9/std/lib64/python3.9/site-packages/requests/adapters.py", line 498, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/codemill/nenka/sharepoint_dev/spopython/SPOnline_ReadData.py", line 21, in context_auth.acquire_token_for_app( File "/u/nenka/.local/lib/python3.9/site-packages/office365/runtime/auth/authentication_context.py", line 82, in acquire_token_for_app return self._provider.ensure_app_only_access_token() File "/u/nenka/.local/lib/python3.9/site-packages/office365/runtime/auth/providers/acs_token_provider.py", line 36, in ensure_app_only_access_token self._cached_token = self.get_app_only_access_token() File "/u/nenka/.local/lib/python3.9/site-packages/office365/runtime/auth/providers/acs_token_provider.py", line 45, in get_app_only_access_token self.error = e.response.text AttributeError: 'NoneType' object has no attribute 'text'