The most likely cause of any connection issues are when users are not:
using Python 3
using the most up to date version of the CDS API
So before trying anything else check these two things.
If you're still having problems check out the most frequency causes below
If you are still experiencing connection issues
Timeout Errors
If you're error message mentions 'timed out' like the example below.