Hi Hub,
The recent weeks we have noticed an inconsistent authentication error with our deployed Cognite Functions. Seemingly, with no apparent reason, a function call fails with a https authentication error when trying to log into microsoft (see call log below).
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='login.microsoftonline.com', port=443): Max retries exceeded with url: /3b7e4170-8348-4aa4-bfae-06a3e1867469/oauth2/v2.0/token (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f8dee0070d0>: Failed to resolve 'login.microsoftonline.com' ([Errno -3] Temporary failure in name resolution)"))
The error is attributed to our first client call in our code,
for events in client.events()
where we loop over chunks of events.
Have anyone experienced something similar, and know the cause of the error?
Thanks in advance.,
Vetle.