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

SKIP_SSL_VERIFICATION env doesn't work #584

Closed
mainey-cc opened this issue Nov 13, 2024 · 1 comment
Closed

SKIP_SSL_VERIFICATION env doesn't work #584

mainey-cc opened this issue Nov 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mainey-cc
Copy link

Describe the bug

setting SKIP_SSL_VERIFICATION to true while running edge would still make edge verify ssl

Steps to reproduce the bug

  • Set SKIP_SSL_VERIFICATION=true
  • Set upstream url with https:// url
  • Run edge

Expected behavior

It would skip ssl and doesnt spit out failed to validate tokens

Logs, error output, etc.

{"timestamp":"2024-11-13T04:35:53.856984Z","level":"INFO","fields":{"message":"Failed to validate tokens: [reqwest::Error { kind: Request, url: \"https://unleash.url.example/edge/validate\", source: hyper_util::client::legacy::Error(Connect, Ssl(Error { code: ErrorCode(1), cause: Some(Ssl(ErrorStack([Error { code: 167773200, library: \"SSL routines\", function: \"ssl3_read_bytes\", reason: \"sslv3 alert handshake failure\", file: \"../ssl/record/rec_layer_s3.c\", line: 1605, data: \"SSL alert number 40\" }]))) }, X509VerifyResult { code: 0, error: \"ok\" })) }]"},"target":"unleash_edge::http::unleash_client"}

Screenshots

No response

Additional context

No response

Unleash version

6.0.6

Subscription type

None

Hosting type

Self-hosted

SDK information (language and version)

No response

@mainey-cc mainey-cc added the bug Something isn't working label Nov 13, 2024
@mainey-cc
Copy link
Author

After testing, it seems setting it from cli with -s doesnt do anything either

@github-project-automation github-project-automation bot moved this from New to Done in Issues and PRs Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant