Nickserver error while fetching key when backslash is in URL
For the provider workshop on crytporave I set up a provider from scratch (workshop.bitmask.net). I tried to send mail from a newly registered account using Bitmask Mail. The first key lookup went fine, but subsequent ones fail:
2017-05-05T19:37:09+0200 [leap.bitmask.keymanager.nicknym.Nicknym#warn] Error retrieving key: ResponseNeverReceived([<twisted.python.failure.Failure twisted.internet.defer.TimeoutError: Getting https://nicknym.workshop.bitmask.net:6425?address=...@...org took longer than 30 seconds.>],)
2017-05-05T19:38:28+0200 [leap.bitmask.keymanager.nicknym.Nicknym#warn] Error retrieving key: ResponseNeverReceived([<twisted.python.failure.Failure twisted.internet.defer.TimeoutError: Getting https://nicknym.workshop.bitmask.net:6425?address=...@...de took longer than 30 seconds.>],)
here's the server log:
Starting nickserver 127.0.0.1:64250
I, [2017-05-05T15:56:41.618583 #28895] INFO -- : GET /?address=...@riseup.net
D, [2017-05-05T15:56:41.618945 #28895] DEBUG -- : {"address"=>["...@riseup.net"]}
I, [2017-05-05T15:56:48.225442 #28895] INFO -- : -> 200
I, [2017-05-05T17:36:41.534156 #28895] INFO -- : GET /?address=...@...org
D, [2017-05-05T17:36:41.534339 #28895] DEBUG -- : {"address"=>["...@...org"]}
I, [2017-05-05T17:38:01.153213 #28895] INFO -- : GET /?address=...@...de
D, [2017-05-05T17:38:01.153374 #28895] DEBUG -- : {"address"=>["...@...de"]}
I, [2017-05-05T17:41:00.799444 #28895] INFO -- : -> 200
I, [2017-05-05T17:42:19.403846 #28895] INFO -- : -> 200
E, [2017-05-05T17:47:54.651712 #28895] ERROR -- : bad URI(is not URI?): /?address\=...@...de (URI::InvalidURIError)
/usr/lib/ruby/2.1.0/uri/common.rb:176:in `split'
/usr/lib/ruby/2.1.0/uri/common.rb:211:in `parse'
/usr/lib/ruby/2.1.0/uri/common.rb:747:in `parse'
/usr/lib/ruby/2.1.0/uri/common.rb:1232:in `URI'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/reel-0.6.1/lib/reel/mixins.rb:48:in `uri'
/srv/leap/nickserver/lib/nickserver/reel_server.rb:38:in `handle_request'
/srv/leap/nickserver/lib/nickserver/reel_server.rb:30:in `block in on_connection'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/reel-0.6.1/lib/reel/connection.rb:73:in `each_request'
/srv/leap/nickserver/lib/nickserver/reel_server.rb:29:in `on_connection'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/reel-0.6.1/lib/reel/server.rb:50:in `call'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/reel-0.6.1/lib/reel/server.rb:50:in `handle_connection'
/srv/leap/nickserver/lib/nickserver/reel_server.rb:24:in `block in handle_connection'
/srv/leap/nickserver/lib/kernel_ext.rb:11:in `block in silence_warnings'
/srv/leap/nickserver/lib/kernel_ext.rb:24:in `with_warnings'
/srv/leap/nickserver/lib/kernel_ext.rb:11:in `silence_warnings'
/srv/leap/nickserver/lib/nickserver/reel_server.rb:23:in `handle_connection'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `public_send'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `dispatch'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/celluloid-0.17.3/lib/celluloid/call/async.rb:7:in `dispatch'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/celluloid-0.17.3/lib/celluloid/cell.rb:50:in `block in dispatch'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/celluloid-0.17.3/lib/celluloid/cell.rb:76:in `block in task'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/celluloid-0.17.3/lib/celluloid/actor.rb:339:in `block in task'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/celluloid-0.17.3/lib/celluloid/task.rb:44:in `block in initialize'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/celluloid-0.17.3/lib/celluloid/task/fibered.rb:14:in `block in create'
E, [2017-05-05T17:47:54.651938 #28895] ERROR -- : /usr/lib/ruby/2.1.0/uri/common.rb:176:in `split'
/usr/lib/ruby/2.1.0/uri/common.rb:211:in `parse'
/usr/lib/ruby/2.1.0/uri/common.rb:747:in `parse'
/usr/lib/ruby/2.1.0/uri/common.rb:1232:in `URI'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/reel-0.6.1/lib/reel/mixins.rb:48:in `uri'
/srv/leap/nickserver/lib/nickserver/reel_server.rb:38:in `handle_request'
/srv/leap/nickserver/lib/nickserver/reel_server.rb:30:in `block in on_connection'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/reel-0.6.1/lib/reel/connection.rb:73:in `each_request'
/srv/leap/nickserver/lib/nickserver/reel_server.rb:29:in `on_connection'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/reel-0.6.1/lib/reel/server.rb:50:in `call'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/reel-0.6.1/lib/reel/server.rb:50:in `handle_connection'
/srv/leap/nickserver/lib/nickserver/reel_server.rb:24:in `block in handle_connection'
/srv/leap/nickserver/lib/kernel_ext.rb:11:in `block in silence_warnings'
/srv/leap/nickserver/lib/kernel_ext.rb:24:in `with_warnings'
/srv/leap/nickserver/lib/kernel_ext.rb:11:in `silence_warnings'
/srv/leap/nickserver/lib/nickserver/reel_server.rb:23:in `handle_connection'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `public_send'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `dispatch'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/celluloid-0.17.3/lib/celluloid/call/async.rb:7:in `dispatch'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/celluloid-0.17.3/lib/celluloid/cell.rb:50:in `block in dispatch'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/celluloid-0.17.3/lib/celluloid/cell.rb:76:in `block in task'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/celluloid-0.17.3/lib/celluloid/actor.rb:339:in `block in task'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/celluloid-0.17.3/lib/celluloid/task.rb:44:in `block in initialize'
/srv/leap/nickserver/vendor/bundle/ruby/2.1.0/gems/celluloid-0.17.3/lib/celluloid/task/fibered.rb:14:in `block in create'
I obfuscated the emai addr, but they all exist and there's a gpg key on the keyservers for each of them.