-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
[BUG] SSLError
when downloading model weights of model type: bpemb
#156
Comments
Thank you for you interest in improving Deepparse. |
@AjinkyaIndulkar It's BPEmb to fix it since they do the request call. I've opened an issue. Their SSL certificate must have expired. In the meantime, can you open a PR with your hot-fix so we can release a hot-fix to make it until the bug is fixed? |
yeah sure. |
@davebulaval I've opened a PR with the hotfix: #157 can you please review? |
Done. I've changed the place to wrap around BPEmb instead of deepparse address parser code. Will publish it as soon as tests pass. |
Release in 0.9.2. As per BPEmb's mention, they have also pushed a temporary hot-fix that removes SSL certificate verification and will investigate why the certificate is not working since it has been renewed recently. The patch will be used to handle the potential certificate error. |
Describe the bug
When trying to use the
deepparse.parser.AddressParser
class withmodel_type="bpemb"
, the model weights download fails due to anSSLError
:To Reproduce
Delete model weights cache, most likely
~/.cache/deepparse
, and attempt to initialise the class:Expected behavior
The model download should not fail.
Desktop:
I am using
deepparse==0.9.1
.Additional context
For the moment, I have implemented a dirty fix using a
no_ssl_verification
(from https://gist.github.com/ChenTanyi/0c47652bd916b61dc196968bca7dad1d) where I initialise the class under this context.The text was updated successfully, but these errors were encountered: