Hi everone, i’m facing a problem since 2 months ago and i don’t know what to do.
What happens is that i’m trying to create a django website using plotly to create some graphs. The problem is: i did it locally in my computer and worked well. When i try to deploy this website in a google cloud machine, i have some problems that i will describe bellow:
I have in my database a lot of artificial inteligence models to predict some variable. Each model has an ID to identify which model i want to predict and this id is given by url. For exemple: in this picture bellow i have id=3 so my django app will get all the models information to plot the graph and to generate the textinputs.
All text input displayed are variable and depend on which model I am using. when i run locally, it works.
but not when i go to deploy, i faced this problem bellow:
The first time that i acess the page, the django dash gives me that the plotapp was not found. After i reload my page like 5 times, the graph is shown and works.
but when i change the id to 4, for exemple, the graph that is shown is the graph with id 3, not 4.
And there are some cases that my graph doesn’t even appers:
Does anyone faced this? I don’t know what to do.