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
Shiny apps not rendering after updated to v1.3.0 #2372
Comments
|
Can you put Also, if you could provide a minimal reproducible example, that would help. |
|
Ok, here is the reprex with |
|
@andresrcs What do you see in your browser's JavaScript console when it fails to load? |
|
BTW I get the same behaviour on a Debian Stretch (Raspbian Stretch) server, so I think this is not related to Ubuntu 18. |
@jcheng5 |
|
It almost looks like httpuv wasn't upgraded to 1.5.1... |
|
@andresrcs Does your code call |
|
@andresrcs It seems likely that this is a problem with your proxy configuration. Please see https://support.rstudio.com/hc/en-us/articles/213733868-Running-Shiny-Server-with-a-Proxy |
|
This post on Community is about the same issue: https://community.rstudio.com/t/failed-to-load-resource/28142 |
|
For future reference, the user on community gave an example of his broken configuration, and then the working one: Not working: Working: |
|
We've merged a pull request in httpuv which makes it more lenient with proxies that are misconfigured this way. It can be installed with: |
|
@wch What confuses me the most is this line: If I use this instead What could be the problem? I get this behaviour on Ubuntu 18.04.2 LTS - nginx 1.14.0-0ubuntu1.2 and Debian Stretch - nginx 1.10.3-1+deb9u2 |
|
connection_upgrade is a variable that is declared using that "map $http_upgrade $connection_upgrade {...}" part. Make sure to include that map directive in your config. |
|
Thanks, I have missed that part, I'm still confused about why this works |
|
Yeah, it's a bit confusing. httpuv specifically detects and rejects |
|
Thanks for the clarification, I have fixed the problem and everything is working fine now |
I also had issues with shiny v.1.3.0 not loading apps properly and I fixed them by adding the |





All my apps have stopped rendering after I updated to shiny v 1.3.0 and I get not error messages in the logs, for example this app under v 1.3.0 renders like this
And after downgrading to v1.2.0 it renders normally, I get the same behaviour with all my apps.
My shiny-server version is 1.5.9.923 open source, running under ubuntu server 18.04.2 LTS
The text was updated successfully, but these errors were encountered: