anvil.server.RuntimeUnavailableError: Downlink disconnected

A VBA macro sends chunks of an Excel sheet to an http endpoint. Each chunk is 100 rows and it is sent in JSON format in the body of a POST request.

Usually everything works well, but once in a while I get this error:
image

What’s going on?

Do I just need to retry or is there something else that I need to know?

2 Likes

did you find out what this was? sometimes our app logs are bombarded with this.

Sorry, I don’t remember about this error.

I have a few uplink scripts and Excel VBA macros that upload daily to some tables and they had no problems as far back as I can remember.

EDIT
Well… I just checked the log of an app that is uploaded every night, and it’s full of errors like that one. So thanks for reminding me!!

The app sends me an email reporting errors when the upload fails, and I remember checking whether the data was updated, it was, and I have procrastinated the investigation. So… perhaps the error (in my case) happens after the upload has been successfully completed. Perhaps.

As a heads-up for others - it turns out @joinlook’s problem was caused by his Server Modules trying to allocate too much memory and being killed ungracefully. We’re working on better reporting for this issue :slight_smile:

2 Likes

I must be doing the same… anvil.server.RuntimeUnavailableError

What’s the best approach to remedy potential over allocation?

This is an old question and the problem is very likely different from yours.

Can you provide some details about your case (in a new post)?