Hello,
We are getting Openssl related errors when we try to use 'parallel' gem for our time consuming process.
time = Benchmark.realtime do
results = Parallel.map(collection, in_processes: 16) do |entity|
result = time_consuming_rest_api_response_for(entity)
end
end
Logger.info "time_consuming_rest_api_response took #{time.round(3)} seconds"
results.flatten
When we run the above script, its running fine and then after some time, its throwing the below error and exit.
Parallel::UndumpableException: OpenSSL::SSL::SSLError: SSL_read: decryption failed or bad record mac
from /Users/dev/.rbenv/versions/2.5.3/lib/ruby/2.5.0/openssl/buffering.rb:57:in `sysread'
Any thoughts?
Hello,
We are getting Openssl related errors when we try to use 'parallel' gem for our time consuming process.
When we run the above script, its running fine and then after some time, its throwing the below error and exit.
Any thoughts?