We’re currently experiencing an outage affecting several Anvil services, including the development environment and apps. I’m sorry for the inconvenience, and I’ll post here again as soon as we have an update for you. We expect to have everything back up and running again in a few minutes.
I had all of my uplinks restart after failed connections at the 27th minute of the last hour, but they are all fine since:
(my scripts exit out after getting the uplink connection error, and a scheduler restarts them every one minute if they are no longer running)
If anyone is able to post an App ID (these aren’t secret or sensitive) along with the name of a sometimes-misbehaving Uplink function, that would be really helpful. Thanks!
Thank you @david.wylie. Would it be safe for me to try calling that function for the purposes of debugging? I’m assuming that you expect the behaviour to be that sometimes it works, and other times you get an UplinkDisconnected error?
`anvil.server.UplinkDisconnected: Uplink disconnected`
* `at NumberStuff, line 458`
* `called from NumberStuff, line 412`
* `called from A_Numbers.Numbers, line 86`
`AppOfflineError: Connection to server failed (error)`
* `at A_Main.Main, line 75`
That is the report from when it “ran successfully” but errored.
How frequently are you seeing the UplinkDisconnected error? I just tried calling the function 1000 times, and it ran successfully every time. If this was the most common type of Uplink issue, I would expect the failure rate to be more like 50%, so this is going to take some more investigation. Are you able to get it to fail at all now?
Thanks @david.wylie. It’s possible that this issue resolved itself when the last of an old set of server nodes was rotated out of service at about 18:00 UTC. Anyone still seeing the problem, please let us know here, including an App ID and function name if possible. Thanks!