Sometimes the graph won't loaded

I deployed my app on aws.there are many graphs in my page. Sometimes there are graphs that won’t loaded. I inspect and find there are many error 504.it is from" _dash-update-component". But after some hours. the page is fine. Really don’t understand why.

Like this:


Any help is appreciated.

Thanks

https://community.plotly.com/t/loading-states-api-and-a-loading-component-prerelease/16406/3