We are aware that there is an ongoing issue affecting some apps using the Basic Python 3 runtime. We are currently working on resolving the issue. I will combine all the related forum posts into this thread so that it’s easier to keep everyone updated when it is fixed.
If you have emailed support@anvil.works about the issue, please know that we’ve seen your email and will update you as soon as the issue is resolved.
The issue is only with the Basic Python 3 runtime, so if you are able to switch your runtime to Full Python 3 or Python 3.10, this will solve the errors.
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.
UPDATE: My apps are still not working, the main error I’ve been seeing is:
anvil.server.RuntimeUnavailableError: The downlink server disconnected
I’ve tested apps that have worked in the past and that have not changed since and the error is still coming up almost immediately now. Also something to note is that the apps that I just mentioned are on a different account.
I have the same error happening for some days now, exactly as you describe. it seems like 3/4 of server calls fails. If it is an issue related to the free plan, it would be good to know if that was the case.
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.
on Free Plan.
I have made no changes to my site - it was working on 15th June but not now! - Hope it gets fixed soon.
I have sent an email to: support@anvil.works - but no reply to-date.
Today across a handful of our apps we started seeing a downlink server disconnected error on all server callable calls. It seems to be specific to Basic Python 3 version running on the server, as the solution I found was to switch from Basic Python 3 to any of the other available python versions.
I imagine this is a known issue and is getting resolved, but in case any readers are getting this error and need an instant fix, try changing your server python version.
Great suggestion! I wonder if something changed. I never had this issue before, now it keeps happening all the time without any changes from my side. Hopefuly it gets resolved soon.
IDE will not save. Thinks I’m connected elsewhere. Keeps reverting to last commit. This misbehavior persists through logout+login, browser shutdown+restart, and switch to different browser entirely.
Seconded. IDE was unable to save for two periods of several minutes between 11am-1pm PDT. Sporadic latency spikes in debug and production application (from 2sec to >10sec, sometimes resulting in ‘Server code took too long’) throughout the day. At one point, the production site would not even load the client side and showed “Anvil will be available in a few seconds’ time” for a period of several minutes.
Apologies - I can confirm that we had degraded service yesterday evening (UK time), with main slowdowns experienced between 19:45 and 20:30 UTC, at which time the incident was resolved.