S
S
sumrakx2019-05-03 14:50:14
ruby
sumrakx, 2019-05-03 14:50:14

How to fix OpenSSL error in ruby ​​project?

I downloaded the sources I was interested in from the github, and when I try to start the project, an error OpenSSL falls out. All libraries are installed.


E, [2019-05-02T00:34:06.493139 #7960] ERROR -- : [Rollbar] Error processing the item: OpenSSL::SSL::SSLError, SSL_connect returned=1 errno=0 state=error: certificate verify failed. Item: {"access_token"=>"bbde48f7f8ae436485fa6d144a8eeeed", "data"=>{:timestamp=>1556746439, :environment=>"unspecified", :level=>"error", :language=>"ruby", :framework =>"Plain", :server=>{:host=>"DESKTOP-BQR4V95", :pid=>7960}, :notifier=>{:name=>"rollbar-gem", :version=>"2.18. 0"}, :body=>{:trace=>{:frames=>[{:filename=>"bin/run", :lineno=>6, :method=>""}, {:filename=>" C:/Users/sunDY/Desktop/hwm_worker/lib/hwm_worker.rb", :lineno=>9, :method=>"run"}, {:filename=>

Who works with Ruby, what could be the problem? studying the code, as far as I understood, everything was written on Linux under Linux.
Who cares about the link to the github project: https://github.com/zhisme/hwm_worker.
Compiled under Windows 10.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2019-05-03
@2ord

The error indicates that the SSL certificate has not been validated. This may indicate a real error, as well as the fact that the Ruby installer had outdated lists of trust centers.
What is the version of Ruby and where was it downloaded from?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question