Client failed to upload key
Using:
- bitmask-dev: (0.9.4+120.gedb5249b bundle)
- leap env:_ with master platform and beta soledad 0.9.3+0~201703151429
2017-04-19T16:00:53+0200 [leap.bitmask.keymanager.openpgp#info] Keys for kwadronaut@leap.se have been successfully generated.
2017-04-19T16:00:53+0200 [leap.bitmask.core.mail_services#info] key generated for kwadronaut@leap.se
2017-04-19T16:00:53+0200 [leap.bitmask.core.mail_services#info] sending public key to server
2017-04-19T16:00:53+0200 [leap.bitmask.keymanager#debug] getting key for kwadronaut@leap.se
2017-04-19T16:00:53+0200 [twisted.python.log#info] "127.0.0.1" - - [19/Apr/2017:14:00:52 +0000] "POST /API/events/poll HTTP/1.1" 200 89 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.5.1 Safari/538.1"
2017-04-19T16:00:53+0200 [leap.common.http._HTTP11ClientFactory#info] Starting factory <leap.common.http._HTTP11ClientFactory instance at 0x7ff4dafe2830>
2017-04-19T16:00:53+0200 [twisted.python.log#info] "127.0.0.1" - - [19/Apr/2017:14:00:52 +0000] "POST /API/events/poll HTTP/1.1" 200 89 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.5.1 Safari/538.1"
2017-04-19T16:00:53+0200 [twisted.python.log#info] "127.0.0.1" - - [19/Apr/2017:14:00:52 +0000] "POST /API/events/poll HTTP/1.1" 200 81 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.5.1 Safari/538.1"
2017-04-19T16:00:53+0200 [twisted.python.log#info] "127.0.0.1" - - [19/Apr/2017:14:00:52 +0000] "POST /API/events/poll HTTP/1.1" 200 81 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.5.1 Safari/538.1"
2017-04-19T16:00:53+0200 [twisted.python.log#info] "127.0.0.1" - - [19/Apr/2017:14:00:52 +0000] "POST /API/events/poll HTTP/1.1" 200 75 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.5.1 Safari/538.1"
2017-04-19T16:00:53+0200 [twisted.python.log#info] "127.0.0.1" - - [19/Apr/2017:14:00:52 +0000] "POST /API/events/poll HTTP/1.1" 200 75 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.5.1 Safari/538.1"
2017-04-19T16:00:53+0200 [leap.bitmask.core.mail_services#error] Error while sending key!
2017-04-19T16:00:53+0200 [leap.bitmask.core.mail_services#error] Unable to format event {'log_namespace': 'leap.bitmask.core.mail_services', 'log_level': <LogLevel=error>, 'log_logger': <Logger 'leap.bitmask.core.mail_services'>, 'log_time': 1492610453.676028, 'log_source': None, 'log_format': <twisted.python.failure.Failure twisted.web._newclient.ResponseNeverReceived: [<twisted.python.failure.Failure service_identity.exceptions.VerificationError: VerificationError(errors=[DNSMismatch(mismatched_id=DNS_ID(hostname='api.leap.se'))])>]>}: Log format must be unicode or bytes, not <twisted.python.failure.Failure twisted.web._newclient.ResponseNeverReceived: [<twisted.python.failure.Failure service_identity.exceptions.VerificationError: VerificationError(errors=[DNSMismatch(mismatched_id=DNS_ID(hostname='api.leap.se'))])>]>
2017-04-19T16:00:53+0200 [twisted.internet.defer#critical] Unhandled error in Deferred:
2017-04-19T16:00:53+0200 [twisted.internet.defer#critical]
Traceback (most recent call last):
File "site-packages/twisted/internet/defer.py", line 498, in errback
File "site-packages/twisted/internet/defer.py", line 565, in _startRunCallbacks
File "site-packages/twisted/internet/defer.py", line 651, in _runCallbacks
File "site-packages/twisted/internet/defer.py", line 1355, in gotResult
--- <exception caught here> ---
File "site-packages/twisted/internet/defer.py", line 1297, in _inlineCallbacks
File "site-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
File "leap/bitmask/keymanager/nicknym.py", line 87, in put_key
twisted.web._newclient.ResponseNeverReceived: [<twisted.python.failure.Failure service_identity.exceptions.VerificationError: VerificationError(errors=[DNSMismatch(mismatched_id=DNS_ID(hostname='api.leap.se'))])>]
2017-04-19T16:00:53+0200 [leap.common.http._HTTP11ClientFactory#info] Stopping factory <leap.common.http._HTTP11ClientFactory instance at 0x7ff4dafe2830>