Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Dec 2022 10:16:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268290] net-im/py-matrix-synapse: AttributeError: module 'OpenSSL.SSL' has no attribute 'TLS_METHOD'
Message-ID:  <bug-268290-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268290

            Bug ID: 268290
           Summary: net-im/py-matrix-synapse: AttributeError: module
                    'OpenSSL.SSL' has no attribute 'TLS_METHOD'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: co+org.freebsd@io7m.com
                CC: ports@skyforge.at
             Flags: maintainer-feedback?(ports@skyforge.at)
                CC: ports@skyforge.at

Hello!

After upgrading from 1.71 to 1.72 today, the server fails to start with the
following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 188, in _run_module_as_main
    mod_name, mod_spec, code =3D _get_module_details(mod_name, _Error)
  File "/usr/local/lib/python3.9/runpy.py", line 111, in _get_module_details
    __import__(pkg_name)
  File "/usr/local/lib/python3.9/site-packages/synapse/__init__.py", line 2=
3,
in <module>
    from synapse.util.rust import check_rust_lib_up_to_date
  File "/usr/local/lib/python3.9/site-packages/synapse/util/__init__.py", l=
ine
31, in <module>
    from synapse.logging import context
  File "/usr/local/lib/python3.9/site-packages/synapse/logging/__init__.py",
line 17, in <module>
    from synapse.logging._remote import RemoteHandler
  File "/usr/local/lib/python3.9/site-packages/synapse/logging/_remote.py",
line 29, in <module>
    from twisted.internet.endpoints import (
  File "/usr/local/lib/python3.9/site-packages/twisted/internet/endpoints.p=
y",
line 69, in <module>
    from twisted.internet.ssl import (
  File "/usr/local/lib/python3.9/site-packages/twisted/internet/ssl.py", li=
ne
63, in <module>
    from twisted.internet import interfaces, tcp
  File "/usr/local/lib/python3.9/site-packages/twisted/internet/tcp.py", li=
ne
38, in <module>
    from twisted.internet._newtls import (
  File "/usr/local/lib/python3.9/site-packages/twisted/internet/_newtls.py",
line 18, in <module>
    from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProt=
ocol
  File "/usr/local/lib/python3.9/site-packages/twisted/protocols/tls.py", l=
ine
45, in <module>
    from twisted.internet._sslverify import _setAcceptableProtocols
  File "/usr/local/lib/python3.9/site-packages/twisted/internet/_sslverify.=
py",
line 1828, in <module>
    defaultCiphers =3D OpenSSLAcceptableCiphers.fromOpenSSLCipherString(
  File "/usr/local/lib/python3.9/site-packages/twisted/internet/_sslverify.=
py",
line 1807, in fromOpenSSLCipherString
    SSL.TLS_METHOD,
AttributeError: module 'OpenSSL.SSL' has no attribute 'TLS_METHOD'

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268290-7788>