emilhe / dash-extensions

The dash-extensions package is a collection of utility functions, syntax extensions, and Dash components that aim to improve the Dash development experience

Home Page:https://www.dash-extensions.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ServersideOutput is not working in deployment [SOLVED]

marcstern14 opened this issue · comments

I am running my plotly dash app on a private company server. When I decided to add the serverside output to pass large data around, it works great locally, but when I try to deploy it, I'm unable to pass around any kind of data, even just a test string. Any help would be appreciated

commented

It may have something to do with this:

The syntax of the ServersideOutputTransform has been changed. Instead of using ServersideOutput in place of the Output, one must now wrap return values in Serverside objects

Any examples of the new syntax?

If the code works locally, but not deployed, it would indicate an issue with the deployment. What backend are you using? And how many instances are you running?

Thanks for the replies! It turned out to be a permissions issue on my end with GCP, and it works great now! Also worth noting that the Internal Server Error caused by the lack of permission was causing the program to crash, thus I couldn't pass around a test string.