Skip to content

client fails badly if the clock is slow

bitmask --version => 0.5.3

if the system clock is behind, bitmask fails badly. i suspect the problem is that it gets a new client certificate but it does not appear to be valid yet.

One fix might be to just modify the webapp to create certificates with earlier valid dates, in case the clock is a bit off.

  • install bitmask
  • run bitmask
  • go through wizard
  • login
  • hit Turn ON
  • get error "Could not load encrypted internet configuration"

The logs looks like this:

2014-07-02 20:14:08,898 - DEBUG    - L#59   : leap.bitmask.gui.statemachines:onEntry() - State Encrypted Internet::connecting entered. Emitting signal ...
2014-07-02 20:14:08,912 - DEBUG    - L#315  : leap.bitmask.services.eip.eipconfig:get_client_cert_path() - Using OpenVPN cert /home/elijah/.config/leap/providers/riseup.net/keys/client/openvpn.pem
2014-07-02 20:14:08,913 - ERROR    - L#623  : leap.bitmask.backend.components:_can_start() - The client should redownload the certificate, cannot autostart
2014-07-02 20:14:08,913 - DEBUG    - L#453  : leap.bitmask.backend.components:start() - EIP: no errors
2014-07-02 20:14:08,915 - ERROR    - L#637  : leap.bitmask.gui.eip_status:_on_eip_connection_aborted() - Tried to start EIP but cannot find any available provider!
2014-07-02 20:14:08,915 - ERROR    - L#358  : leap.bitmask.gui.eip_status:set_eip_status() - Could not load Encrypted Internet configuration.
  • Quit bitmask, start again.
  • Try to hit connect, it hangs forever saying "Encrypted internet is starting..."
2014-07-02 20:11:04,978 - ERROR    - L#327  : leap.bitmask.gui.mainwindow:_backend_bad_call() - Bad call to the backend:
2014-07-02 20:11:04,978 - ERROR    - L#328  : leap.bitmask.gui.mainwindow:_backend_bad_call() - EIP.start(), no provider loaded

(from redmine: created on 2014-07-09, closed on 2014-07-09)