breach / mod_strip

Breach default layout / tabbing module
38 stars 40 forks source link

Module crashing on invalid certificate #17

Open lindskogen opened 10 years ago

lindskogen commented 10 years ago

Visiting https://chalmers.it (my student union site) which doesn't have a valid SSL-certificate crashes mod_strip entirely, here's the output:

[2014-07-10T20:54:58.539Z] ERROR: unable to verify the first certificate
[2014-07-10T20:54:58.540Z] Error: unable to verify the first certificate
[2014-07-10T20:54:58.540Z]     at Error (native)
[2014-07-10T20:54:58.540Z]     at TLSSocket.<anonymous> (_tls_wrap.js:906:36)
[2014-07-10T20:54:58.540Z]     at TLSSocket.EventEmitter.emit (events.js:104:17)
[2014-07-10T20:54:58.540Z]     at TLSSocket._finishInit (_tls_wrap.js:457:8)
[2014-07-10T20:54:58.540Z] ---------------------------------------------
spolu commented 10 years ago

Definitely marking this one as a bug. Thanks for reporting that!

markbahnman commented 10 years ago

I get the same issue, it also locks up the strip and the inspector.

breach_error

There also isn't an obvious way to reset the data that mod_strip caches. I tried removing and reinstalling it, as well as removing and reinstalling Breach but it still saves my previous tabs triggering the error again.

lindskogen commented 10 years ago

A workaround is to use keyboard shortcuts to close the tab with the error and then reloading the module!

spolu commented 10 years ago

The data is stored in

OSX: ~/Library/Application Support/breach/gig.fs/modules/modules\:mod_strip\:tabs/

Linux ~/.breach/gig.fs/modules/modules\:mod_strip\:tabs/

You can remove the entire directory and relaunch Breach