sentry-cli: SSL Error Github Actions

Error: Command failed: /app/node_modules/@sentry/cli/sentry-cli releases new xxxxxxxxx
error: API request failed
  caused by: [60] SSL peer certificate or SSH remote key was not OK

Where do I start on this? is it an SSL verification issue?

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 24 (9 by maintainers)

Most upvoted comments

NICE! the properties file worked!

I specified:

[defaults]
project=<redacted>
org=<redacted>
[auth]
token=<redacted>
[log]
level=debug
[http]
verify_ssl=false

Which not only turned on the debug log level for sentry-cli but verify_ssl option seemed to fix the SSL error I was having.

I’m going to remove that and see if the debug output catches the original SSL error and pass that on to you.

I encountered this problem in a minimal Docker container where CA certificates were missing. The log did not really help, however I manged to guess the following command to fix it for my buster-slim image:

# apt install ca-certificates

The issue was that curl was not available for sentry-cli to use. The error could be more explicit I guess 😃 We installed curl and the issue was resolved.

I was having this issue when using an older version of sentry-cli with jenkins operator. updating the sentry-cli image to the latest sentry-cli:1.41 -> 1.72.1 seems to have resolved it.

Closing the issue, as it seems like the original issue has been partially resolved or there is a working solution. Please do not hesitate to ping me if it is still relevant, and I will happily reopen and work on it. Cheers!