auth timeout avoids mail from starting
Note that I am still running 0.3.7.
When logging into bm email, I get 'unable to login, problem with provider.'
Oddly, email was working fine this morning, then for other reasons I rebooted my machine, and upon reboot, it will not work.
2013-11-30 15:45:57,256 - leap.bitmask.util.keyring_helpers:has_keyring:L#43 - DEBUG - Selected keyring:
2013-11-30 15:45:57,256 - leap.bitmask.util.keyring_helpers:has_keyring:L#47 - DEBUG - Not using this keyring since it is obsolete
2013-11-30 15:45:57,256 - leap.bitmask.provider.providerbootstrapper:_check_name_resolution:L#108 - DEBUG - Checking name resolution for bitmask.net
2013-11-30 15:45:57,315 - leap.bitmask.provider.providerbootstrapper:_check_https:L#122 - DEBUG - Checking https for bitmask.net
2013-11-30 15:45:57,883 - leap.bitmask.provider.providerbootstrapper:_download_provider_info:L#157 - DEBUG - Downloading provider info for bitmask.net
2013-11-30 15:45:57,889 - leap.bitmask.config.providerconfig:get_ca_cert_path:L#183 - DEBUG - Going to verify SSL against /home/sunbird/software/Bitmask-linux64-0.3.7/config/leap/providers/bitmask.net/keys/ca/cacert.pem
2013-11-30 15:45:57,889 - leap.bitmask.provider.providerbootstrapper:_download_provider_info:L#192 - DEBUG - Requesting for provider.json... uri: https://api.bitmask.net:4430/provider.json, verify: /home/sunbird/software/Bitmask-linux64-0.3.7/config/leap/providers/bitmask.net/keys/ca/cacert.pem, headers: {'if-modified-since': 'Fri Nov 15 08:31:13 2013 GMT'}
2013-11-30 15:46:12,902 - leap.bitmask.gui.mainwindow:_load_provider_config:L#846 - ERROR - HTTPSConnectionPool(host='api.bitmask.net', port=4430): Read timed out.
I also have this traceback, but I don't think it's related to this bug. Let me know if I should open another bug.
2013-11-30 13:40:45,047 - leap.bitmask.crypto.srpauth:_errback:L#701 - ERROR - Error logging in [Failure instance: Traceback: : Unknown error: Timeout(ReadTimeoutError("HTTPSConnectionPool(host='api.bitmask.net', port=4430): Read timed out.",),)
/home/sunbird/software/Bitmask-linux64-0.3.7/lib/threading.py:524:__bootstrap
/home/sunbird/software/Bitmask-linux64-0.3.7/lib/threading.py:551:__bootstrap_inner
/home/sunbird/software/Bitmask-linux64-0.3.7/lib/threading.py:504:run
--- ---
/home/sunbird/software/Bitmask-linux64-0.3.7/lib/twisted/python/threadpool.py:172:_worker
/home/sunbird/software/Bitmask-linux64-0.3.7/lib/twisted/python/context.py:118:callWithContext
/home/sunbird/software/Bitmask-linux64-0.3.7/lib/twisted/python/context.py:81:callWithContext
/home/sunbird/software/Bitmask-linux64-0.3.7/apps/leap/bitmask/crypto/srpauth.py:275:_start_authentication
]
2013-11-30 13:41:04,182 - leap.bitmask.util.keyring_helpers:has_keyring:L#43 - DEBUG - Selected keyring:
2013-11-30 13:41:04,183 - leap.bitmask.util.keyring_helpers:has_keyring:L#47 - DEBUG - Not using this keyring since it is obsolete
2013-11-30 13:41:04,184 - leap.bitmask.provider.providerbootstrapper:_check_name_resolution:L#108 - DEBUG - Checking name resolution for bitmask.net
2013-11-30 13:41:04,240 - leap.bitmask.provider.providerbootstrapper:_check_https:L#122 - DEBUG - Checking https for bitmask.net
2013-11-30 13:41:19,262 - leap.bitmask.provider.providerbootstrapper:_check_https:L#147 - ERROR - HTTPSConnectionPool(host='bitmask.net', port=443): Read timed out.
Traceback (most recent call last):
File "/home/sunbird/software/Bitmask-linux64-0.3.7/apps/leap/bitmask/provider/providerbootstrapper.py", line 136, in _check_https
timeout=REQUEST_TIMEOUT)
File "/home/sunbird/software/Bitmask-linux64-0.3.7/lib/requests/sessions.py", line 369, in get
return self.request('GET', url, **kwargs)
File "/home/sunbird/software/Bitmask-linux64-0.3.7/lib/requests/sessions.py", line 357, in request
resp = self.send(prep, **send_kwargs)
File "/home/sunbird/software/Bitmask-linux64-0.3.7/lib/requests/sessions.py", line 460, in send
r = adapter.send(request, **kwargs)
File "/home/sunbird/software/Bitmask-linux64-0.3.7/lib/requests/adapters.py", line 360, in send
raise Timeout(e)
Timeout: HTTPSConnectionPool(host='bitmask.net', port=443): Read timed out.
2013-11-30 13:41:19,305 - leap.bitmask.gui.mainwindow:_intermediate_stage:L#1590 - ERROR - Provider does not support HTTPS
(from redmine: created on 2013-11-30, closed on 2014-07-17, relates #5377 (closed))