-
Notifications
You must be signed in to change notification settings - Fork 1
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
Occasional segmentation fault when fetching Relaton from ITU #129
Comments
Also crashed in fetching from ISO:
|
This may be related to this: pmq20/ruby-packer#159 Apparently reading files from ruby-packer memfs is not thread safe. |
Maybe we can do this! We could replace this code: Lines 178 to 186 in c190486
With: https://ruby-doc.org/stdlib-2.4.0/libdoc/openssl/rdoc/OpenSSL/X509/Store.html cert_store = OpenSSL::X509::Store.new
cert_store.add_file 'cacert.pem' def bundled_certificate_store
store = OpenSSL::X509::Store.new
Gem::Request.get_cert_files.each do |ssl_cert|
store.add_file ssl_cert
end
store
end http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
http.cert_store = bundled_certificate_store |
Trying here: 7de83a2 |
This was temporarily fixed here: 09ffacf |
https://github.com/metanorma/packed-mn/runs/4420287475?check_suite_focus=true#logs
Not sure what the cause is.
The text was updated successfully, but these errors were encountered: