No json object could be decoded when logging out too fast after signing up
Create a user through bitmask, logout before it finished the 'preparing your mail account', log back in and get a: No json object could be decoded Account seems to be pretty broken. With latest 0.10 bundle build: bitmask_core: 0.10a1+37.g6f961fc0
2017-06-08T13:51:44+0200 [leap.bitmask.bonafide.config.Provider#debug] Provider already initialized
2017-06-08T13:51:44+0200 [leap.bitmask.core.mail_services.SoledadService#debug] On_passphrase_entry: New Soledad Instance: kwadronaut@provider
2017-06-08T13:51:44+0200 [leap.bitmask.bonafide.config.Provider#debug] Provider already initialized
2017-06-08T13:51:44+0200 [leap.bitmask.bonafide._protocol.BonafideProtocol#debug] AUTH for kwadronaut@provider
2017-06-08T13:51:44+0200 [leap.bitmask.bonafide.session.Session#debug] POST to https://api.user.leap.se:4430/1/sessions
2017-06-08T13:51:44+0200 [twisted.web.client._HTTP11ClientFactory#info] Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x7f0bd5294f38>
2017-06-08T13:51:45+0200 [leap.bitmask.bonafide.session.Session#debug] PUT to https://api.user.leap.se:4430/1/sessions/kwadronaut
2017-06-08T13:51:45+0200 [twisted.web.client._HTTP11ClientFactory#info] Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x7f0bd5294f38>
2017-06-08T13:51:45+0200 [twisted.web.client._HTTP11ClientFactory#info] Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x7f0bd52a2878>
2017-06-08T13:51:45+0200 [leap.bitmask.core.dispatcher#error] [DISPATCHER] Unexpected error!
2017-06-08T13:51:45+0200 [leap.bitmask.core.dispatcher#error] ValueError('No JSON object could be decoded',)
2017-06-08T13:51:45+0200 [leap.bitmask.core.dispatcher#error] Traceback (most recent call last):
File "site-packages/leap/bitmask/bonafide/_protocol.py", line 115, in maybe_finish_provider_bootstrap
File "site-packages/leap/bitmask/bonafide/config.py", line 458, in download_services_config_with_auth
File "site-packages/twisted/internet/defer.py", line 321, in addCallback
File "site-packages/twisted/internet/defer.py", line 310, in addCallbacks
--- <exception caught here> ---
File "site-packages/twisted/internet/defer.py", line 653, in _runCallbacks
File "site-packages/leap/bitmask/bonafide/config.py", line 444, in complete_bootstrapping
File "site-packages/leap/bitmask/bonafide/config.py", line 542, in _get_config_for_all_services
File "site-packages/leap/bitmask/bonafide/config.py", line 564, in _load_provider_configs
File "json/__init__.py", line 291, in load
File "json/__init__.py", line 339, in loads
File "json/decoder.py", line 364, in decode
File "json/decoder.py", line 382, in raw_decode
exceptions.ValueError: No JSON object could be decoded
2017-06-08T13:51:45+0200 [twisted.python.log#info] "127.0.0.1" - - [08/Jun/2017:11:51:45 +0000] "POST /API/bonafide/user/authenticate HTTP/1.1" 200 60 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.5.1 Safari/538.1"
2017-06-08T13:51:45+0200 [twisted.web.client._HTTP11ClientFactory#info] Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x7f0bd52a2878>