If there is a problem connecting to the service that is not an http error (eg DNS lookup fails) _do_poll_problems raises a TypeError with the message "'<=' not supported between instances of 'int' and 'NoneType'", which is confusing and obfuscates the root issue.
If there is a problem connecting to the service that is not an http error (eg DNS lookup fails) _do_poll_problems raises a TypeError with the message "'<=' not supported between instances of 'int' and 'NoneType'", which is confusing and obfuscates the root issue.