Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] HandshakeFailed when run fossa analyze #1417

Closed
0exception opened this issue Apr 25, 2024 · 3 comments
Closed

[BUG] HandshakeFailed when run fossa analyze #1417

0exception opened this issue Apr 25, 2024 · 3 comments

Comments

@0exception
Copy link

Describe the bug

  1. i can correctly visit https://fossa.tc.lenovo.com/ from native browser
  2. i set my api key correctly

and then i run fossa analyze, HandshakeFailed, i tried this Documentation: https://github.com/fossas/fossa-cli/blob/v3.9.13/docs/walkthroughs/ssl-cert.md ,but It doesn't seem to be working

image

Copy link

Thank you @0exception for creating this issue. If this is in regards to a defect, product question or feature request: you should use our support portal at https://support.fossa.com to file a request, as you would receive more immediate support.

@csasarak
Copy link
Contributor

csasarak commented May 1, 2024

Hello, this should be resolved in versions >= 3.9.15. Release Notes.

@csasarak csasarak closed this as completed May 1, 2024
@xuchenCN
Copy link

@csasarak still occur this issue in 3.9.98

SSL_CERT_FILE=/home/fossa/fossa.pem /home/fossa/fossa analyze --endpoint https://fossa.labs-my.com --fossa-api-key xxxxxxxxxxxxxxxxxx

[ERROR] An issue occurred

  *** Relevant Errors ***

      Error: A socket-level error occurred when accessing the FOSSA API
        HandshakeFailed (Error_Protocol "certificate has unknown CA" UnknownCa)

      These errors are usually related to TLS issues or the host being unreachable.
      Documentation: https://github.com/fossas/fossa-cli/blob/v3.9.38/docs/walkthroughs/ssl-cert.md
      Support: If you believe this to be a defect, please report a bug to FOSSA support at https://support.fossa.com
      Help: For troubleshooting steps with TLS issues, please refer to the provided documentation
      Documentation: https://github.com/fossas/fossa-cli/blob/v3.9.38/README.md#generating-an-api-key
      Help: Ensure that you are using a valid FOSSA_API_KEY. Refer to the provided documentation for guidance on how to generate and retrieve your API key.

I confirm that the api key is correct

OS: Rocky 9.2
fossa-cli verision: 3.9.98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants