-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined blank page with firefox #117
Comments
Just an additional info: |
Some context:
application.yml
Dockerfile:
The app is run using the entrypoint:
The dockers are run like this:
Then:
|
Hi kforner, Experimenting the same issue from two days, can't find a solution... Did you succeed to fix it ? Thanks a lot, Clément |
Hmm in my case I have an apache proxy on top of it, so I think I just redirected on the app url. |
@kforner @Cala3len Did you succeed to fix it? Thank you. |
Having the same error here with a similar situation. Did anyone manage to get a sense of what's going on? |
Was a long time ago and i do not remember the details. But for me it was a matching issue between shiny-server, docker and host ports... |
Hi all I encountered this issue today and tried to investigate it. As reported above the error does not happen when using Chromium/Chrome. It also only seems to happen when using a container that takes a bit longer to startup. With the following container I can easily reproduce it:
More interesting, this only happens when you access ShinyProxy from the server host. It doesn't happen when you access it from a different PC/VM. And finally it doesn't happen with the Kuberntes backend. Unfortunately I don't find any solution for this problem, I hope I'll eventually find a solution, but for now I can at least reproduce it. |
Same problem. But if you wait and reload it continues. Anyone has a fix? |
Hi everyone First of all: this issue should only be happening if you are using ShinyProxy with docker in combination with Firefox on the same host that ShinyProxy and docker are running on. This is an inconvenient problem, but it should not affect your production environments. However, I again did some research on this issue and it seems to be a bug in Firefox. I found this bug report on bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1238377 , which seems quite related. A workaround in the report is to set I did some more testing and I can reproduce the problem without ShinyProxy (using a simple Flaks application). Therefore I created a bug report in the Firefox bug tracker: https://bugzilla.mozilla.org/show_bug.cgi?id=1720833 let's see whether they can solve it. |
The bug is still present in Firefox, but versions 3.0.2 of ShinyProxy includes a workaround for this. This also improves the startup when a request fails for any other reason. |
I have a shinyproxy with a unique shiny app.
This app takes a while to start.
When I open it in firefox, I got in the logs:
The problem is that firefox displays a blank page with "undefined" as unique message before the log message "Proxy activated"
If hit ENTER in the URL bar, it displays the page properly.
If I do the same thing in Chromium, it works just fine:
My understanding is that Firefox does not wait properly for the activation.
The text was updated successfully, but these errors were encountered: