Failed to launch server runtime

What I’m trying to do:
I am trying to test the script I built with a very basic UI.

What I’ve tried and what’s not working:
tried looking other places for answers and changing certain things in my code bot its not working. The code stars running and after around 2 minutes I get this error: anvil.server.RuntimeUnavailableError: Failed to launch server runtime

any idea how I can go around this?

Thanks!

Welcome to the forum!

That’s a pretty generic error message, so doesn’t really give us enough to go on. We’d need more details about what your app was doing. You can post code to show that, surrounding it by three backticks to maintain indentation and Python formatting, or post a clone link (Anvil Docs | Cloning Apps).

In this particular case the clone link might be best so that we’d be able to run the app and play with it. Do note that when someone clones your app they get a copy of the code on the master branch, and a copy of whatever is in the data tables.

1 Like