Skip to content
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

server not being generated #4

Open
5 tasks
LunaSare opened this issue Aug 16, 2018 · 0 comments
Open
5 tasks

server not being generated #4

LunaSare opened this issue Aug 16, 2018 · 0 comments

Comments

@LunaSare
Copy link
Member

LunaSare commented Aug 16, 2018

We are systematically getting a "Disconnected from server" message while loading datelife.org
The javascript console on safari indicates that the server.js files are not being generated.

google searches disconnected from server shiny and shiny app runs locally but not on shiny server main results:

https://support.rstudio.com/hc/en-us/articles/218294867-Why-does-my-Shiny-app-hang-or-disconnect-on-my-Shiny-Server-after-some-time-

https://support.rstudio.com/hc/en-us/articles/220315848-Troubleshooting-applications-in-Shiny-Server-Pro

https://support.rstudio.com/hc/en-us/articles/231249288-Why-does-my-app-work-locally-but-not-on-my-Shiny-Server-

Summary of search results:
"Of course, an app may run well locally, but fail on Shiny Server. This could happen for a variety of reasons, including but not limited to:

  • Missing packages or incorrect package versions on the server - make sure that the server has the necessary packages installed for the code you're running and that the versions match the versions you're running locally.
  • Environment variables differing between your local setup and your server
  • The application timeouts not being set correctly - see here for more.
    • It might be a start time thing. But it is set up to 60s, so it should be enough time.
  • Forgetting to close each database connection after loading in data (the connection limit may be hit)
  • Making multiple long-running calls to a public API (the API request limit may be hit)
    Sub-optimal application instance or worker provisioning (you may need to tweak your scheduler settings (see here).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant