Closed banddans closed 3 months ago
Are you here now?
Hi
Yea so how to solve this?
It seems your SSL certificate is failing, but the weird thing is that the same thing should also happen when you use scratchattach
What you need a certificate for this?
for the connection to the cloud server
I'll add an option to try connect without certificate when it can't use one
Or whats that i thoguht it was a liscenese first
?
There is a certificate to verify that the server is the one you are trying to connect to
Tried with tomething simplier now but its still not working.
import scratchcommunication
session = scratchcommunication.Session("banddans", session_id="nono")
cloud = communication_session.create_cloudconnection(
project_id = "1037074040"
)
So everybody have a certificate?
Just wait, I'll make a new update soon, then you can download and it should work.
Try updating your scratchcommunication by typing pip install scratchcommunication>=2.10.4
into your terminal and add allow_no_certificate=True to the function call that creates the cloud socket:
cloud_socket = session.create_cloud_socket(
project_id = "884190099",
security = security,
allow_no_certificate = True # Add this line
)
Is it working?
Try pip install -U scratchcommunication
and then pip show scratchcommunication
and send me the output
so?
Got you real name lol
Just try pip install --force-reinstall scratch communication
banddans @.***> schrieb am Mo., 17. Juni 2024, 09:28:
Got you real name lol
— Reply to this email directly, view it on GitHub https://github.com/TheCommCraft/scratchcommunication/issues/3#issuecomment-2172502352, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCKMZW2I2DCX2VLRMKRSEDZH2F2VAVCNFSM6AAAAABJI7DV4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZSGUYDEMZVGI . You are receiving this because you commented.Message ID: @.***>
sorry i meant scratchcomnunication not scratch communication bad autocorrect
banddans @.***> schrieb am Mo., 17. Juni 2024, 12:39:
Skarmavbild.2024-06-17.kl.12.39.03.png (view on web) https://github.com/TheCommCraft/scratchcommunication/assets/172638654/3684cfb2-41e9-4719-b8b5-29b176870776
— Reply to this email directly, view it on GitHub https://github.com/TheCommCraft/scratchcommunication/issues/3#issuecomment-2173016709, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCKMZRPSLKYO4DUPVQRSOTZH24G3AVCNFSM6AAAAABJI7DV4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZTGAYTMNZQHE . You are receiving this because you commented.Message ID: @.***>
Traceback (most recent call last):
File "/Users/tomcronow/Documents/LiClipse Workspace/Platformer share/main.py", line 6, in
So I guess i failed downloading the new version :(
Bottom here if you didn't see it:
try pip install --no-cache --force-reinstall scratchcommunication
Still not working :(((
What did it say?
banddans @.***> schrieb am Mo., 17. Juni 2024, 19:51:
Still not working :(((
— Reply to this email directly, view it on GitHub https://github.com/TheCommCraft/scratchcommunication/issues/3#issuecomment-2173992274, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCKMZQQRR7WKJILPGWMS73ZH4O25AVCNFSM6AAAAABJI7DV4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZTHE4TEMRXGQ . You are receiving this because you commented.Message ID: @.***>
Do you have Python 3.12 or 3.11?
Simon Gilde @.***> schrieb am Mo., 17. Juni 2024, 20:06:
What did it say?
banddans @.***> schrieb am Mo., 17. Juni 2024, 19:51:
Still not working :(((
— Reply to this email directly, view it on GitHub https://github.com/TheCommCraft/scratchcommunication/issues/3#issuecomment-2173992274, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCKMZQQRR7WKJILPGWMS73ZH4O25AVCNFSM6AAAAABJI7DV4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZTHE4TEMRXGQ . You are receiving this because you commented.Message ID: @.***>
3.12 I think
Can you show me the error from installing?
What happens when you try pip install scratchcomnunication==2.10.6
Your python or pip is broken. You'd need to reinstall them for it to work.
I reinstalled it but I still get the same error.
You reinstalled python?
banddans @.***> schrieb am Mi., 19. Juni 2024, 19:04:
I reinstalled it but I still get the same error.
— Reply to this email directly, view it on GitHub https://github.com/TheCommCraft/scratchcommunication/issues/3#issuecomment-2179160937, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCKMZXTN5QMBX5D54JQC3LZIG2YPAVCNFSM6AAAAABJI7DV4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZZGE3DAOJTG4 . You are receiving this because you commented.Message ID: @.***>
Try these and tell me if one or more install scratchcommunication==2.10.7:
pip install -no-cache scratchcommunication==2.10.7
pip install --upgrade --no-cache scratchcommunication
pip install --force-reinstall --no-cache scratchcommunication
pip install git+https://github.com/thecommcraft/scratchcommunication
If none of them work, please reply with the errors.
Yessss! I managed to connect but the cloud variable does still not change :(
In what way?
banddans @.***> schrieb am Mi., 19. Juni 2024, 20:36:
Yessss! I managed to connect but the cloud variable does still not change :(
— Reply to this email directly, view it on GitHub https://github.com/TheCommCraft/scratchcommunication/issues/3#issuecomment-2179295467, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCKMZUKMW5AKYXF6QTZAVDZIHFSPAVCNFSM6AAAAABJI7DV4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZZGI4TKNBWG4 . You are receiving this because you commented.Message ID: @.***>
What do you mean? When i try to change a cloud variable it just doesn't change.
Does it show an update in the cloud logs?
banddans @.***> schrieb am Do., 20. Juni 2024, 13:02:
What do you mean? When i try to change a cloud variable it just doesn't change.
— Reply to this email directly, view it on GitHub https://github.com/TheCommCraft/scratchcommunication/issues/3#issuecomment-2180400115, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCKMZS672C2ZD2KWTQ6KFLZIKZDRAVCNFSM6AAAAABJI7DV4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBQGQYDAMJRGU . You are receiving this because you commented.Message ID: @.***>
?
Closing as completed. If you get any new errors, you can reopen this issue or create a new one.
I get this error each time I try to connect:
/Users/banddanas/Library/Python/3.12/lib/python/site-packages/scratchcommunication/session.py:75: UserWarning: Couldn't find XToken. Most features will probably still work. warnings.warn("Couldn't find XToken. Most features will probably still work.") Traceback (most recent call last): File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/scratchcommunication/cloud.py", line 170, in _connect self.websocket.connect( File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_core.py", line 256, in connect self.sock, addrs = connect( ^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 151, in connect sock = _ssl_socket(sock, options.sslopt, hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 311, in _ssl_socket sock = _wrap_sni_socket(sock, sslopt, hostname, check_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 281, in _wrap_sni_socket return context.wrap_socket( ^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 455, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1042, in _create self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1320, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/scratchcommunication/cloud.py", line 170, in _connect self.websocket.connect( File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_core.py", line 256, in connect self.sock, addrs = connect( ^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 151, in connect sock = _ssl_socket(sock, options.sslopt, hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 311, in _ssl_socket sock = _wrap_sni_socket(sock, sslopt, hostname, check_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 281, in _wrap_sni_socket return context.wrap_socket( ^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 455, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1042, in _create self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1320, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/scratchcommunication/cloud.py", line 170, in _connect self.websocket.connect( File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_core.py", line 256, in connect self.sock, addrs = connect( ^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 151, in connect sock = _ssl_socket(sock, options.sslopt, hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 311, in _ssl_socket sock = _wrap_sni_socket(sock, sslopt, hostname, check_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 281, in _wrap_sni_socket return context.wrap_socket( ^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 455, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1042, in _create self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1320, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/scratchcommunication/cloud.py", line 170, in _connect self.websocket.connect( File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_core.py", line 256, in connect self.sock, addrs = connect( ^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 151, in connect sock = _ssl_socket(sock, options.sslopt, hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 311, in _ssl_socket sock = _wrap_sni_socket(sock, sslopt, hostname, check_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 281, in _wrap_sni_socket return context.wrap_socket( ^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 455, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1042, in _create self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1320, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/scratchcommunication/cloud.py", line 170, in _connect self.websocket.connect( File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_core.py", line 256, in connect self.sock, addrs = connect( ^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 151, in connect sock = _ssl_socket(sock, options.sslopt, hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 311, in _ssl_socket sock = _wrap_sni_socket(sock, sslopt, hostname, check_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 281, in _wrap_sni_socket return context.wrap_socket( ^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 455, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1042, in _create self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1320, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/scratchcommunication/cloud.py", line 170, in _connect self.websocket.connect( File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_core.py", line 256, in connect self.sock, addrs = connect( ^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 151, in connect sock = _ssl_socket(sock, options.sslopt, hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 311, in _ssl_socket sock = _wrap_sni_socket(sock, sslopt, hostname, check_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 281, in _wrap_sni_socket return context.wrap_socket( ^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 455, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1042, in _create self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1320, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/scratchcommunication/cloud.py", line 170, in _connect self.websocket.connect( File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_core.py", line 256, in connect self.sock, addrs = connect( ^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 151, in connect sock = _ssl_socket(sock, options.sslopt, hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 311, in _ssl_socket sock = _wrap_sni_socket(sock, sslopt, hostname, check_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 281, in _wrap_sni_socket return context.wrap_socket( ^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 455, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1042, in _create self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1320, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/scratchcommunication/cloud.py", line 170, in _connect self.websocket.connect( File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_core.py", line 256, in connect self.sock, addrs = connect( ^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 151, in connect sock = _ssl_socket(sock, options.sslopt, hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 311, in _ssl_socket sock = _wrap_sni_socket(sock, sslopt, hostname, check_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 281, in _wrap_sni_socket return context.wrap_socket( ^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 455, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1042, in _create self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1320, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/scratchcommunication/cloud.py", line 170, in _connect self.websocket.connect( File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_core.py", line 256, in connect self.sock, addrs = connect( ^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 151, in connect sock = _ssl_socket(sock, options.sslopt, hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 311, in _ssl_socket sock = _wrap_sni_socket(sock, sslopt, hostname, check_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 281, in _wrap_sni_socket return context.wrap_socket( ^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 455, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1042, in _create self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1320, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/scratchcommunication/cloud.py", line 170, in _connect self.websocket.connect( File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_core.py", line 256, in connect self.sock, addrs = connect( ^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 151, in connect sock = _ssl_socket(sock, options.sslopt, hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 311, in _ssl_socket sock = _wrap_sni_socket(sock, sslopt, hostname, check_hostname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/websocket/_http.py", line 281, in _wrap_sni_socket return context.wrap_socket( ^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 455, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1042, in _create self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ssl.py", line 1320, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/Users/banddanas/Documents/LiClipse Workspace/Platformer share/main.py", line 6, in
cloud = session.create_cloudconnection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/scratchcommunication/session.py", line 158, in create_cloudconnection
return cloud.CloudConnection(project_id=project_id, session=self, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/scratchcommunication/cloud.py", line 127, in init
self._connect()
File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/scratchcommunication/cloud.py", line 184, in _connect
self._connect(retry=retry - 1)
File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/scratchcommunication/cloud.py", line 184, in _connect
self._connect(retry=retry - 1)
File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/scratchcommunication/cloud.py", line 184, in _connect
self._connect(retry=retry - 1)
[Previous line repeated 6 more times]
File "/Users/banddanas/Library/Python/3.12/lib/python/site-packages/scratchcommunication/cloud.py", line 181, in _connect
raise ConnectionError(
ConnectionError: There was an error while connecting to the cloud server.