Skip to content

Commit e33414a

Browse files
committed
adjust ocmment
1 parent 494295e commit e33414a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/imagekit/internal/transport/pooled_net_requester.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ def connect(url)
3636

3737
# Temporary workaround for SSL verification issue on some
3838
# platforms. Similar to: https://github.com/stripe/stripe-ruby/pull/397
39+
# Without this fix you may see errors like:
40+
# .rbenv/versions/3.2.0/lib/ruby/3.2.0/net/protocol.rb:46:in `connect_nonblock':
41+
# SSL_connect returned=1 errno=0 peeraddr=52.23.130.57:443 state=error:
42+
# certificate verify failed (unable to get certificate CRL) (OpenSSL::SSL::SSLError)
3943
if _1.use_ssl?
4044
cert_store = OpenSSL::X509::Store.new
4145
cert_store.set_default_paths

0 commit comments

Comments
 (0)