Google API causing SSL timeout
Description
Occasionally, a sync job will fail with the following while communicating with Google APIs:
File "/usr/local/lib/python3.10/ssl.py", line 1163, in read
return self._sslobj.read(len, buffer)
TimeoutError: The read operation timed out
e.g. https://gitlab.developers.cam.ac.uk/uis/devops/gsuite/sync-deploy/-/jobs/1729508
Investigate if there is any way to prevent, mitigate (increased timeout?) and/or catch-retry these failures.
Task list
- Investigate handling of SSL timeouts
Acceptance criteria
- Less sync run's will fail