DNSMismatch when directly logging into non-configured provider
Steps to reproduce:
- move ~/.config/leap out of the way
- download and start latest bundle
- directly login with your existing xyz@leap.se account (if you first configure a provider it works, but fails when you skip this step)
The result is a never-ending animation after clicking on the login button, without any UI feedback (only bitmaskd.log shows the error).
This error will occur in bitmaskd.log:
2017-06-09T13:17:35+0200 [leap.bitmask.core.dispatcher#error] [DISPATCHER] Unexpected error!
2017-06-09T13:17:35+0200 [leap.bitmask.core.dispatcher#error] ResponseNeverReceived([<twisted.python.failure.Failure service_identity.exceptions.VerificationError: VerificationError(errors=[DNSMismatch(mismatched_id=DNS_ID(hostname='api.leap.se'))])>],)
2017-06-09T13:17:35+0200 [leap.bitmask.core.dispatcher#error] Traceback (most recent call last):
Failure: twisted.web._newclient.ResponseNeverReceived: [<twisted.python.failure.Failure service_identity.exceptions.VerificationError: VerificationError(errors=[DNSMismatch(mismatched_id=DNS_ID(hostname='api.leap.se'))])>]
Here's the full log: bitmaskd.log