rocklabs-io / ic-py

Python Agent Library for the DFINITY Internet Computer
MIT License
125 stars 25 forks source link

exec query err: SSL: WRONG_VERSION_NUMBER #110

Open q2333gh opened 4 months ago

q2333gh commented 4 months ago

exec: ret = agent.query_raw(canister_id_local, "greet_test", encode([]))


Exception has occurred: ConnectError
[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1007)
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1007)

The above exception was the direct cause of the following exception:

httpcore.ConnectError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1007)

The above exception was the direct cause of the following exception:

  File "/home/btwl/code/ic/test1/backend/i_test/py_agent/upload_db_json_string", line 39, in <module>
    ret = agent.query_raw(canister_id_local, "greet_test", encode([]))
httpx.ConnectError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1007)