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

Fixes #18153: rudder-api-client install a non fonctionning rudder-cli #36

Conversation

ncharles
Copy link
Member

@ncharles ncharles commented Sep 1, 2020

cli/rudder-cli Outdated

requests.packages.urllib3.disable_warnings(requests.packages.urllib3.exceptions.InsecureRequestWarning)
import urllib3
urllib3.disable_warnings()
Copy link
Member

Choose a reason for hiding this comment

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

You have to do both in a try catch because request can use either one depending on situaion

Copy link
Member Author

Choose a reason for hiding this comment

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

we do only the later in ncf, i figured it would be safe

Copy link
Member

Choose a reason for hiding this comment

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

that's why we still have many unsecure request warnings log on some servers

@ncharles
Copy link
Member Author

ncharles commented Sep 1, 2020

PR updated with a new commit

@Normation-Quality-Assistant

OK, squash merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant force-pushed the bug_18153/rudder_api_client_install_a_non_fonctionning_rudder_cli branch from 5237114 to 9bcd4b1 Compare September 1, 2020 21:15
@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 9bcd4b1 into Normation:master Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants