Dear Anvil,
What I’m trying to do:
I am trying to test the basic anvil uplink connect from my Azure Ubuntu VM.
What I’ve tried and what’s not working:
Code Sample:
import anvil.server
anvil.server.connect("XXXXXXXXX")
@anvil.server.callable
def say_hello(name):
print("Hello from the uplink, %s!" % name)
anvil.server.wait_forever()
~
This is the error I am getting:
File “/usr/local/lib/python3.9/dist-packages/anvil/server.py”, line 353, in connect
_get_connection()
File “/usr/local/lib/python3.9/dist-packages/anvil/server.py”, line 335, in _get_connection
raise e
File “/usr/local/lib/python3.9/dist-packages/anvil/server.py”, line 332, in _get_connection
_connection.connect()
File “/usr/local/lib/python3.9/dist-packages/ws4py/client/init.py”, line 217, in connect
self.sock.connect(self.bind_addr)
File “/usr/lib/python3.9/ssl.py”, line 1342, in connect
self._real_connect(addr, False)
File “/usr/lib/python3.9/ssl.py”, line 1333, in _real_connect
self.do_handshake()
File “/usr/lib/python3.9/ssl.py”, line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1123)
Has anyone come across this before or could give me some pointers?
Thanks
Clone link:
share a copy of your app