Skip to content

AttributeError: 'NoneType' object has no attribute 'makeConnection' with SSL/Twisted on Python #39

@Leonm3003

Description

@Leonm3003

Environment Details:

OS: Windows 10 (10.0.19045.5737)

Python: 3.13.1 (in virtualenv)

ctrader_open_api: 0.9.3

Twisted: 24.3.0

pyOpenSSL: 24.1.0

service_identity: 24.2.0

Issue Summary:
Receiving the following error when attempting to connect to demo.ctraderapi.com:5035 via SSL:

pgsql
Copy
Edit
AttributeError: 'NoneType' object has no attribute 'makeConnection'
Steps Taken:

Confirmed all dependencies are installed

Tried multiple Twisted versions (e.g., 24.2.0, 24.3.0)

Error persists even in clean virtualenv

Reproducible Code:
(Include test_connection.py content here)

Request:
Please advise if this is a bug in ctrader_open_api or a compatibility issue with Twisted/Python 3.13.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions