aboutsummaryrefslogtreecommitdiffstats
path: root/docs/faq.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-12 16:21:24 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-12 16:21:24 -0400
commitfcf6fca1d584aa2af7e9917e566347b1797213b0 (patch)
tree94d935608d25561183e96f1d69027960e9d5fec4 /docs/faq.rst
parentd32f2d77f372a651b521f4f895464b411a8c63bc (diff)
downloadcryptography-fcf6fca1d584aa2af7e9917e566347b1797213b0.tar.gz
cryptography-fcf6fca1d584aa2af7e9917e566347b1797213b0.tar.bz2
cryptography-fcf6fca1d584aa2af7e9917e566347b1797213b0.zip
add two faq entries for common errors
Diffstat (limited to 'docs/faq.rst')
-rw-r--r--docs/faq.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/faq.rst b/docs/faq.rst
index 363a350f..14077691 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -23,5 +23,20 @@ OpenSSL. You're seeing this error because your copy of pip is too old to find
our wheel files. Upgrade your copy of pip with ``pip install -U pip`` and then
try install ``cryptography`` again.
+Starting ``cryptography`` using ``mod_wsgi`` produces an ``InternalError`` during a call in ``_register_osrandom_engine``
+-------------------------------------------------------------------------------------------------------------------------
+
+This happens because ``mod_wsgi`` uses sub-interpreters, which can cause a
+problem during initialization of the OpenSSL backend. To resolve this set the
+`WSGIApplicationGroup`_ to ``%{GLOBAL}`` in the ``mod_wsgi`` configuration.
+
+``cryptography`` raised an ``InternalError`` and I'm not sure what to do?
+-------------------------------------------------------------------------
+
+Frequently ``InternalError`` is raised when there are errors on the OpenSSL
+error stack that were placed there by other libraries that are also using
+OpenSSL. Try removing the other libraries and see if the problem persists.
+
.. _`NaCl`: https://nacl.cr.yp.to/
.. _`PyNaCl`: https://pynacl.readthedocs.org
+.. _`WSGIApplicationGroup`: https://modwsgi.readthedocs.org/en/develop/configuration-directives/WSGIApplicationGroup.html