Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
pypy
pypy
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 594
    • Issues 594
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 10
    • Merge Requests 10
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

This instance will be upgraded to the latest Heptapod 0.20rc on 2021-02-26 at 11:00 UTC+1

  • PyPy
  • pypypypy
  • Issues
  • #3156

Closed
Open
Opened Jan 18, 2020 by Bitbucket Importer@bitbucket_importerMaintainer

Exception when creating SSLContext

Created originally on Bitbucket by robelcik (Robert Borys)

I’m getting the following exception when calling ssl.SSLContext()

‌

c:\prog\pypy36\pypy3.exe my_file.py
RPython traceback:
  File "pypy_interpreter.c", line 44890, in BuiltinCode2_fastcall_2
  File "implement_4.c", line 45668, in fastfunc_descr_getattribute_2_1
  File "pypy_module__cffi_backend.c", line 23310, in W_LibObject__get_attr
  File "pypy_module__cffi_backend_1.c", line 5824, in W_LibObject__build_attr
  File "pypy_module__cffi_backend_1.c", line 33180, in W_LibObject__build_cpython_func
  File "pypy_module__cffi_backend_1.c", line 42652, in W_RawFuncType_prepare_nostruct_fnptr
  File "pypy_module__cffi_backend_1.c", line 18993, in W_RawFuncType__unpack
  File "pypy_module__cffi_backend_1.c", line 30181, in realize_c_type
  File "pypy_module__cffi_backend_1.c", line 31910, in realize_c_type_or_func
  File "pypy_module__cffi_backend_1.c", line 42405, in __exit____star_3_1
RPython traceback:
  File "pypy_interpreter.c", line 44890, in BuiltinCode2_fastcall_2
  File "implement_4.c", line 45668, in fastfunc_descr_getattribute_2_1
  File "pypy_module__cffi_backend.c", line 23310, in W_LibObject__get_attr
  File "pypy_module__cffi_backend_1.c", line 5824, in W_LibObject__build_attr
  File "pypy_module__cffi_backend_1.c", line 33154, in W_LibObject__build_cpython_func
  File "pypy_module__cffi_backend_1.c", line 31910, in realize_c_type_or_func
  File "pypy_module__cffi_backend_1.c", line 42405, in __exit____star_3_1
Traceback (most recent call last):
  File "my_file.py", line 121, in <module>
    my_function()
  File "my_file.py", line 43, in another_function
    ssl_context = ssl.SSLContext()
  File "c:\prog\pypy36\lib-python\3\ssl.py", line 391, in __new__
    self = _SSLContext.__new__(cls, protocol)
  File "c:\prog\pypy36\lib_pypy\_cffi_ssl\_stdssl\__init__.py", line 933, in __new__
    self.verify_mode = CERT_NONE
  File "c:\prog\pypy36\lib-python\3\ssl.py", line 485, in verify_mode
    super(SSLContext, SSLContext).verify_mode.__set__(self, value)
  File "c:\prog\pypy36\lib_pypy\_cffi_ssl\_stdssl\__init__.py", line 1024, in verify_mode
    verify_cb = lib.SSL_CTX_get_verify_callback(self.ctx)
SystemError: unexpected internal exception (please report a bug): <RThreadError object at 0x6899b4ec>; internal traceback was dumped to stderr

‌

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: pypy/pypy#3156