InternalError |
Python 3.11.2: /usr/bin/python Sat Jul 5 21:13:50 2025 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/lib/python3/dist-packages/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>) |
565 """Runs the handler, flushes the streams, and ends the request.""" |
566 try: |
=> 567 protocolStatus, appStatus = self.server.handler(self) |
568 except: |
569 output = io.StringIO() |
protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi.WSGIServer object>, self.server.handler = <bound method BaseFCGIServer.handler of <flup.server.fcgi.WSGIServer object>> |
/usr/lib/python3/dist-packages/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object>, req=<flup.server.fcgi_base.Request object>) |
1129 try: |
1130 try: |
=> 1131 result = self.application(environ, start_response) |
1132 try: |
1133 for data in result: |
result = None, self = <flup.server.fcgi.WSGIServer object>, self.application = <function application>, environ = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/home/www/public_html/', 'CONTEXT_PREFIX': '', 'DOCUMENT_ROOT': '/home/www/public_html/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'petkli.de', ...}, start_response = <function BaseFCGIServer.handler.<locals>.start_response> |
/usr/lib/python3/dist-packages/cm4all/fcgi/launcher.py in application(environ={'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/home/www/public_html/', 'CONTEXT_PREFIX': '', 'DOCUMENT_ROOT': '/home/www/public_html/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'petkli.de', ...}, start_response=<function BaseFCGIServer.handler.<locals>.start_response>) |
15 |
16 def application(environ, start_response): |
=> 17 return cache[environ['SCRIPT_FILENAME']](environ, start_response) |
18 |
19 def launch(): |
global cache = {}, environ = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/home/www/public_html/', 'CONTEXT_PREFIX': '', 'DOCUMENT_ROOT': '/home/www/public_html/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'petkli.de', ...}, start_response = <function BaseFCGIServer.handler.<locals>.start_response> |
/usr/lib/python3/dist-packages/cm4all/fcgi/launcher.py in __missing__(self={}, path='/home/www/public_html/python3/dist-packages/cryp...backends/openssl/__pycache__/x509.cpython-311.pyc') |
6 name, ext = os.path.splitext(os.path.split(path)[-1]) |
7 if ext in ('.pyc', '.py3c'): |
=> 8 mod = imp.load_compiled(name, path) |
9 else: |
10 mod = imp.load_source(name, path) |
mod undefined, global imp = <module 'imp' from '/usr/lib/python3.11/imp.py'>, imp.load_compiled = <function load_compiled>, name = 'x509.cpython-311', path = '/home/www/public_html/python3/dist-packages/cryp...backends/openssl/__pycache__/x509.cpython-311.pyc' |
/usr/lib/python3.11/imp.py in load_compiled(name='x509.cpython-311', pathname='/home/www/public_html/python3/dist-packages/cryp...backends/openssl/__pycache__/x509.cpython-311.pyc', file=None) |
190 module = _exec(spec, sys.modules[name]) |
191 else: |
=> 192 module = _load(spec) |
193 # To allow reloading to potentially work, use a non-hacked loader which |
194 # won't rely on a now-closed file object. |
module undefined, global _load = <function _load>, spec = ModuleSpec(name='x509.cpython-311', loader=<imp....ckends/openssl/__pycache__/x509.cpython-311.pyc') |
/usr/bin/<frozen importlib._bootstrap> in _load(spec=ModuleSpec(name='x509.cpython-311', loader=<imp....ckends/openssl/__pycache__/x509.cpython-311.pyc')) |
/usr/bin/<frozen importlib._bootstrap> in _load_unlocked(spec=ModuleSpec(name='x509.cpython-311', loader=<imp....ckends/openssl/__pycache__/x509.cpython-311.pyc')) |
/usr/bin/<frozen importlib._bootstrap_external> in exec_module(self=<imp._LoadCompiledCompatibility object>, module=<module 'x509.cpython-311' from '/home/www/publi...ckends/openssl/__pycache__/x509.cpython-311.pyc'>) |
/usr/bin/<frozen importlib._bootstrap> in _call_with_frames_removed(f=<built-in function exec>, *args=(<code object <module> at 0x7f7ca404da50, file "/...ography/hazmat/backends/openssl/x509.py", line 1>, {'UnsupportedAlgorithm': <class 'cryptography.exceptions.UnsupportedAlgorithm'>, '__builtins__': {'ArithmeticError': <class 'ArithmeticError'>, 'AssertionError': <class 'AssertionError'>, 'AttributeError': <class 'AttributeError'>, 'BaseException': <class 'BaseException'>, 'BaseExceptionGroup': <class 'BaseExceptionGroup'>, 'BlockingIOError': <class 'BlockingIOError'>, 'BrokenPipeError': <class 'BrokenPipeError'>, 'BufferError': <class 'BufferError'>, 'BytesWarning': <class 'BytesWarning'>, 'ChildProcessError': <class 'ChildProcessError'>, ...}, '__cached__': '/home/www/public_html/python3/dist-packages/cryp...backends/openssl/__pycache__/x509.cpython-311.pyc', '__doc__': None, '__file__': '/home/www/public_html/python3/dist-packages/cryp...backends/openssl/__pycache__/x509.cpython-311.pyc', '__loader__': <imp._LoadCompiledCompatibility object>, '__name__': 'x509.cpython-311', '__package__': 'x509', '__spec__': ModuleSpec(name='x509.cpython-311', loader=<imp....ckends/openssl/__pycache__/x509.cpython-311.pyc'), 'absolute_import': _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0), 262144), ...}), **kwds={}) |
/home/www/public_html/python3/dist-packages/cryptography/hazmat/backends/openssl/x509.py in <module> |
10 from cryptography import utils, x509 |
11 from cryptography.exceptions import UnsupportedAlgorithm |
=> 12 from cryptography.hazmat.backends.openssl.decode_asn1 import ( |
=> 13 _CERTIFICATE_EXTENSION_PARSER, _CERTIFICATE_EXTENSION_PARSER_NO_SCT, |
=> 14 _CRL_EXTENSION_PARSER, _CSR_EXTENSION_PARSER, |
cryptography undefined, _CERTIFICATE_EXTENSION_PARSER undefined, _CERTIFICATE_EXTENSION_PARSER_NO_SCT undefined, _CRL_EXTENSION_PARSER undefined, _CSR_EXTENSION_PARSER undefined, _REVOKED_CERTIFICATE_EXTENSION_PARSER undefined, _asn1_integer_to_int undefined, _asn1_string_to_bytes undefined, _decode_x509_name undefined, _obj2txt undefined, _parse_asn1_time undefined |
/usr/lib/python3/dist-packages/cryptography/hazmat/backends/openssl/__init__.py in <module> |
4 |
5 |
=> 6 from cryptography.hazmat.backends.openssl.backend import backend |
7 |
8 |
cryptography undefined, backend undefined |
/usr/lib/python3/dist-packages/cryptography/hazmat/backends/openssl/backend.py in <module> |
61 x509 as rust_x509, |
62 ) |
=> 63 from cryptography.hazmat.bindings.openssl import binding |
64 from cryptography.hazmat.primitives import hashes, serialization |
65 from cryptography.hazmat.primitives._asymmetric import AsymmetricPadding |
cryptography undefined, binding undefined |
/usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/binding.py in <module> |
226 _verify_package_version(cryptography.__version__) |
227 |
=> 228 Binding.init_static_locks() |
229 |
230 _verify_openssl_version(Binding.lib) |
Binding = <class 'cryptography.hazmat.bindings.openssl.binding.Binding'>, Binding.init_static_locks = <bound method Binding.init_static_locks of <clas...graphy.hazmat.bindings.openssl.binding.Binding'>> |
/usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/binding.py in init_static_locks(cls=<class 'cryptography.hazmat.bindings.openssl.binding.Binding'>) |
186 @classmethod |
187 def init_static_locks(cls): |
=> 188 cls._ensure_ffi_initialized() |
189 |
190 |
cls = <class 'cryptography.hazmat.bindings.openssl.binding.Binding'>, cls._ensure_ffi_initialized = <bound method Binding._ensure_ffi_initialized of...graphy.hazmat.bindings.openssl.binding.Binding'>> |
/usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/binding.py in _ensure_ffi_initialized(cls=<class 'cryptography.hazmat.bindings.openssl.binding.Binding'>) |
174 cls.ffi.NULL, b"legacy" |
175 ) |
=> 176 _openssl_assert( |
=> 177 cls.lib, cls._legacy_provider != cls.ffi.NULL |
=> 178 ) |
global _openssl_assert = <function _openssl_assert>, cls = <class 'cryptography.hazmat.bindings.openssl.binding.Binding'>, cls.lib = <module 'lib'>, cls._legacy_provider = <cdata 'OSSL_PROVIDER *' NULL>, cls.ffi = <_cffi_backend.FFI object>, cls.ffi.NULL = <cdata 'void *' NULL> |
/usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/binding.py in _openssl_assert(lib=<module 'lib'>, ok=False, errors=[<cryptography.hazmat.bindings.openssl.binding._OpenSSLError object>, <cryptography.hazmat.bindings.openssl.binding._OpenSSLError object>, <cryptography.hazmat.bindings.openssl.binding._OpenSSLError object>]) |
88 errors_with_text = _errors_with_text(errors) |
89 |
=> 90 raise InternalError( |
=> 91 "Unknown OpenSSL error. This error is commonly encountered when " |
=> 92 "another library is not cleaning up the OpenSSL error stack. If " |
global InternalError = <class 'cryptography.exceptions.InternalError'>, "this. ({0!r})".format undefined, errors_with_text = [_OpenSSLErrorWithText(code=310378599, lib=37, re...ort routines::could not load the shared library'), _OpenSSLErrorWithText(code=310378599, lib=37, re...ort routines::could not load the shared library'), _OpenSSLErrorWithText(code=126353445, lib=15, re...80025:common libcrypto routines::reason(524325)')] |
InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack. If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=310378599, lib=37, reason=103, reason_text=b'error:12800067:DSO support routines::could not load the shared library'), _OpenSSLErrorWithText(code=310378599, lib=37, reason=103, reason_text=b'error:12800067:DSO support routines::could not load the shared library'), _OpenSSLErrorWithText(code=126353445, lib=15, reason=524325, reason_text=b'error:07880025:common libcrypto routines::reason(524325)')])
add_note =
<built-in method add_note of InternalError object>
args =
("Unknown OpenSSL error. This error is commonly en...025:common libcrypto routines::reason(524325)')])",)
err_code =
[_OpenSSLErrorWithText(code=310378599, lib=37, re...ort routines::could not load the shared library'), _OpenSSLErrorWithText(code=310378599, lib=37, re...ort routines::could not load the shared library'), _OpenSSLErrorWithText(code=126353445, lib=15, re...80025:common libcrypto routines::reason(524325)')]
with_traceback =
<built-in method with_traceback of InternalError object>