Issues with Basic Python 3 Runtime

Hello all,

I’ve been experiencing this error for two days now:

anvil.server.RuntimeUnavailableError: Server resources not available for 'python3-sandbox'. If this error persists for more than a few minutes, please contact support@anvil.works.

this error also:

anvil.server.RuntimeUnavailableError: The downlink server disconnected

I emailed support last night and got a response first thing this morning saying that there was an outage yesterday that should be fixed now but the error is still being thrown for me.

I also found this post that says the error has been resolved but then with other people saying it isn’t resolved for them.

I also found this fix, but this hasn’t work for me.

The error occurs on startup of my app, sometime before my login page and sometimes afterwards, when the error is thrown is inconsistent.

For reference this is a server call that runs on a module at startup:

# In module
data = anvil.server.call('get_data')

Which calls these:

# In Server
def get_data():
  data = {'capabilities':  get_capabilities(),
          'accreditations': get_accreditations()
         }
  return data

def get_capabilities():
  return app_tables.capabilities.search()

def get_accreditations():
  return app_tables.accreditations.search()

I’m not sure if I’ve reached the limit of server resources on the free plan or if this is an error on anvils side of things. It could also be a bug in my code. Just looking for some guidance as the issue has not been resolved for me. I’ve also emailed anvil support again today, I will update this post with what they say.

Thanks everyone!