Skip to content

Sentry error: API request failed caused by: [60] SSL peer certificate or SSH remote key was not OK #53934

@diegobejardelaguila

Description

@diegobejardelaguila

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

How are you running Sentry?

On-Premise docker [Version xyz]
Saas (sentry.io)
Other [briefly describe your environment]
Description
Originally logged in getsentry/sentry-cli#666

Getting SSL error on Githhub action sourcemap upload for webpack plugin.

When I try locally, it works fine, but on jenkins seems to fail

Steps to Reproduce

  �[0m�[91mSentry CLI Plugin: Command failed: /****/node_modules/@sentry/cli/sentry-cli releases new 
  Bb4k9N0eLFX9KHebLkD_9
  error: API request failed
    caused by: [60] SSL peer certificate or SSH remote key was not OK (SSL certificate problem: unable to get local issuer 
  certificate)
  
  Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
  Please attach the full debug log to all bug reports.
  
  �[0m�[91m
  �[0m�[91m> Build failed because of webpack errors
  �[0m�[91merror Command failed with exit code 1.
  �[0minfo Visit ****://yarnpkg.com/en/docs/cli/run for documentation about this command.

Expected Result

What you expected to happen
Should successfully upload similar to other standard CI / workstation environments

Actual Result

Actual Result
Should successfully upload similar to other standard CI / workstation environments

  �[0m�[91mSentry CLI Plugin: Command failed: /****/node_modules/@sentry/cli/sentry-cli releases new 
  Bb4k9N0eLFX9KHebLkD_9
  error: API request failed
    caused by: [60] SSL peer certificate or SSH remote key was not OK (SSL certificate problem: unable to get local issuer 
  certificate)

Product Area

Issues

Link

No response

DSN

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions