0

我的滚动条突然在我的 django python 应用程序上不起作用。在我合并某些东西之前它一直在工作。它看起来更像是 openssl 问题?

>>> import rollbar
>>> rollbar.init('xxxxxx', 'production') 
>>> rollbar.report_message('Got an IOError in the main loop', 'warning')
'xxxx-xxx-xxx-xxx-xxx'
>>> From cffi callback <function _verify_callback at 0x7f08351e8730>:
Traceback (most recent call last):
  File "/home/deploy/railerdotcom/railerdotcomenv/lib/python3.5/site-packages/OpenSSL/SSL.py", line 313, in wrapper
    _lib.X509_up_ref(x509)
AttributeError: module 'lib' has no attribute 'X509_up_ref'

我在用:

Django==1.11.7
Ubuntu version 16.04
4

1 回答 1

1

发生这种情况是因为 pyOpenssl 需要密码学 2.1.4 或更高版本:

https://github.com/pyca/pyopenssl/issues/728

于 2018-06-26T11:52:05.677 回答