Admin note: This post was separated from an old thread with a different cause
I am getting a similar error (RuntimeError: Connection to server failed (1006)), but the dictionary I am attempting to return to the Anvil app is not remarkably large. I am also using Anvil Uplink, and it consistently breaks after I call a function which returns a dictionary to the app. Is there a good workaround for this?