Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module crashing on invalid certificate #17

Open
lindskogen opened this issue Jul 10, 2014 · 4 comments
Open

Module crashing on invalid certificate #17

lindskogen opened this issue Jul 10, 2014 · 4 comments
Labels

Comments

@lindskogen
Copy link

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 spolu added the Bug label Jul 10, 2014
@spolu
Copy link
Member

spolu commented Jul 10, 2014

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

@markbahnman
Copy link

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
Copy link
Author

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

@spolu
Copy link
Member

spolu commented Jul 10, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants