aitjcize / alec

Alec the trading bot.
0 stars 0 forks source link

add pyOpenSSL. #21

Closed tony0325 closed 6 years ago

kcwu commented 7 years ago

which program use pyopenssl?

tony0325 commented 7 years ago

./lend_bot keeps complaining if there's no pyOpenSSL.

(.env)tonycwlin@tonycwlin-z840:~/bfxbot/alec/bin$ ./lend_bot

11:41:47 LendBot started /usr/local/google/home/tonycwlin/bfxbot/alec/.env/local/lib/python2.7/site-packages/urllib3/util/ssl.py:339: 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 mor e information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings SNIMissingWarning /usr/local/google/home/tonycwlin/bfxbot/alec/.env/local/lib/python2.7/site-packages/urllib3/util/ssl.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from config uring 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-usag e.html#ssl-warnings

aitjcize commented 7 years ago

I think this is because your python version is too old. Python >= 2.7.10 should have proper ssl support.

kcwu commented 6 years ago

assume this could be closed per @aitjcize's comment