Open nishantlnmiit opened 2 years ago
@LEDfan , Please help me on this
@LEDfan @oflasch - Please help me out .
Hi
Are you running any reverse proxies or loadbalancer in front of ShinyProxy? If so, these are causing the 504 timeout errors. You should update the configuration of the proxy to allow for a longer timeout.
Thank you very much for your reply on my query.
Yes we are using nginx as reverse proxy, first request goes to nginx and then it forwarded to shinyproxy. I tried to add some timeout configuration in nginx conf file and reload nginx conf but nothing happened.
What other solution can be fruitful here ?
On Tue, 20 Jul 2021, 20:33 Tobia De Koninck, @.***> wrote:
Hi
Are you running any reverse proxies or loadbalancer in front of ShinyProxy? If so, these are causing the 504 timeout errors. You should update the configuration of the proxy to allow for a longer timeout.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/openanalytics/shinyproxy/issues/310#issuecomment-883466613, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLN6WZHBUA5WJGYYBMACKDTYWF5ZANCNFSM5APPCIWQ .
Can you post your application.yml
file and the configuration of nginx? How long does it takes to load the page before you get the timeout?
it loads till 1 minute then we get timeout error. we are getting this error only in 1 dashboard , probably we are loading large data files om dashboard load. What solution can be helpful here ? I have also tried to increase below mentioned parameters in nginx conf file but nothing changed. proxy_connect_timeout 600; proxy_send_timeout 600; proxy_read_timeout 600; send_timeout 600;
Wouls request you to help me out on this topic.
On Thu, Jul 22, 2021 at 4:49 PM Tobia De Koninck @.***> wrote:
Can you post your application.yml file and the configuration of nginx? How long does it takes to load the page before you get the timeout?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/openanalytics/shinyproxy/issues/310#issuecomment-884836598, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLN6W2RYH6VCSDJIDF6AB3TY75FXANCNFSM5APPCIWQ .
@LEDfan , would request you to help me out on this.
That configuration should work and cause no timeouts. Are you sure it's configured at the correct location? (i.e. in the correct server block) If so, I suspect you have another proxy or loadbalancer in front of nginx which is causing the timeout. Sometimes you can determine the software which is causing the error from the exact error page that is shown.
I cannot help much further with this, as I don't know your complete environment. You'll have to do some debugging.
@LEDfan - tried few more things , nothing worked Need your assistance here.
Hi, ShinyProxy 3.0.0 changed the behavior when starting an app. Instead of performing a single HTTP request to start an app, it sends multiple requests and each request is limited to 10 seconds, no matter how long the app takes to startup. Therefore, you should no longer experience a timeout of your proxy or loadbalancer. Could you test this with a recent release of ShinyProxy and let us know whether this fixes your issue?
We have shinyproxy where we have deployed multiple shiny dashboards.
Few dashboards are not loaded , get 504 timeout error after 1 minute.
Tried to increase container wait time configuration in application.yml file but nothing happened.
Could you please help me to resolve this issue.
However when we try to refresh it 2-3 times , dashboard is loaded.
Please help me to fund resolution for this.