Seahorse::Client::NetworkingError (SSL_connect returned=1 errno=0)

When I try to upload a file to Digital Ocean Spaces from Rails, I get this error: Seahorse::Client::NetworkingError (SSL_connect returned=1 errno=0 state=error: certificate verify failed. I provdied the public and secret keys in the config. This is my config in config/storage.yml
digitalocean_spaces:
service: S3
access_key_id: <%= Rails.application.credentials.dig(:digitalocean_spaces, :access_key_id) %>
secret_access_key: <%= Rails.application.credentials.dig(:digitalocean_spaces, :secret_access_key) %>
region: nyc3
endpoint: "https://<myspace>.nyc3.digitaloceanspaces.com"
bucket: <mybucket>
digitalocean_spaces:
service: S3
access_key_id: <%= Rails.application.credentials.dig(:digitalocean_spaces, :access_key_id) %>
secret_access_key: <%= Rails.application.credentials.dig(:digitalocean_spaces, :secret_access_key) %>
region: nyc3
endpoint: "https://<myspace>.nyc3.digitaloceanspaces.com"
bucket: <mybucket>
Do you have any idea how can I fix it?
3 Replies
Percy
Percy2y ago
Project ID: 9f7462d8-db93-4287-b7c2-a65bbe26065c
Percy
Percy2y ago
No search results found.
⚠️ experimental feature
Stibnite
StibniteOP2y ago
9f7462d8-db93-4287-b7c2-a65bbe26065c Okay, works fine. The endpoint should be
endpoint: "https://nyc3.digitaloceanspaces.com"
endpoint: "https://nyc3.digitaloceanspaces.com"
instead of
endpoint: "https://<myspace>.nyc3.digitaloceanspaces.com"
endpoint: "https://<myspace>.nyc3.digitaloceanspaces.com"
Want results from more Discord servers?
Add your server