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

Add verify = false to fix SSL errors #116

Merged

Conversation

shubham-html-css-js
Copy link
Contributor

Hi @jhutar , i was seeing SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: errors in the job.

I think adding verify = false would fix it, but is it the right approach?

@@ -184,13 +184,15 @@ def upload(self):
response = requests.get(
f"{self.args.horreum_host}/api/test/byName/{self.args.test_name_horreum}",
headers=headers,
verify=False
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls make this CLI option. Anyway merging for now.

Copy link
Contributor

@jhutar jhutar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@jhutar
Copy link
Contributor

jhutar commented Jan 23, 2024

Also black complaints a bit. Let's fix it in followup commit.

@jhutar jhutar merged commit 035981d into redhat-performance:main Jan 23, 2024
1 check failed
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

Successfully merging this pull request may close these issues.

2 participants