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

reload_volume raises a warning #25

Open
iychoi opened this issue Jun 6, 2017 · 1 comment
Open

reload_volume raises a warning #25

iychoi opened this issue Jun 6, 2017 · 1 comment

Comments

@iychoi
Copy link
Member

iychoi commented Jun 6, 2017

iychoi@demo1:~/appspot_ms$ syndicate reload_volume_cert imicrobe
[2017-06-06 00:18:40,820] [ERROR] [certs:173] (12573) Volume cert downloader errors:
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning

reload_volume_cert command causes warning from urllib3 library and this is shown as an error. The command worked well so the warning needs to be suppressed.

@iychoi
Copy link
Member Author

iychoi commented Jun 7, 2017

More warnings from urllib3.

[2017-06-07 07:42:12,510] [ERROR] [certs:231] (587) User cert downloader errors:
/usr/local/lib/python2.7/dist-packages/urllib3/util/ssl_.py:335: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/urllib3/util/ssl_.py:133: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecurePlatformWarning

Here's the way to suppress or resolve the warning.
https://urllib3.readthedocs.io/en/latest/user-guide.html#ssl-py2

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

No branches or pull requests

1 participant