I had my code working last night and deployed it to test and worked fine. I then stopped the deployment by clicking both change uplink and access key (new to anvil so didn’t know which one to select so selected both).
I have now changed the uplink key in my code and it connects to the server in my colab instance but when i try to run the first callable code i get a
RuntimeError: Connection to server failed (error) at [Form1, line 30]
[An internal error has occurred]
and that line is just
standard_result = anvil.server.call(‘generate_text’, text_input, method_input)
not sure what i’ve done wrong or how to fix it as the code hasn’t changed in both the colab or the anvil app.
Thanks for any help
Welcome to the forum!
Have you published your app since it was working?
There are two keys, one for development version and one for the published version. Not sure if that would generate that error but will check later tonight.
I published it just for testing purposes but then wanted to stop the access for people i gave the link too until i finish the app. changing the uplink key i noticed that the website was still working so then saw the client key mentioned this would end the weblink (or somehing like that) and now when i run the code normally in anvil it keeps throwing this error, admittedly i’m trying this at my workplace in my break and there are limitations to certain access to websites based on our IT team. So will attempt to try this again at home tonight and see if I keep coming across this error. But as i said i have not changed any code with the exception of the new uplink key