question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Shinyproxy error 500

See original GitHub issue

Hi I have encounter Error 500 when I try to run shinyproxy. Here are the errors.

Caused by: com.spotify.docker.client.exceptions.DockerException: java.util.concurrent.ExecutionException: javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:2375 [localhost/127.0.0.1] failed: Connection refused (Connection refused) Caused by: java.util.concurrent.ExecutionException: javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:2375 [localhost/127.0.0.1] failed: Connection refused (Connection refused)

and application.yml

`proxy: title: Open Analytics Shiny Proxy logo-url: http://www.openanalytics.eu/sites/www.openanalytics.eu/themes/oa/logo.png landing-page: / heartbeat-rate: 10000 heartbeat-timeout: 60000 port: 3838 authentication: simple admin-groups: scientists hide-navbar: true

users:

  • name: jack password: password groups: scientists
  • name: jeff password: password groups: mathematicians

docker: url: http://localhost:2375 port-range-start: 20000 specs:

  • id: Euler display-name: Try2 description: Application which demonstrates the basics of a Shiny app port: 3838 container-cmd: [“R”, “-e”, “shiny::runApp(‘/root/euler’)”] container-image: gokcekeskus/euler access-groups: [scientists, mathematicians]

logging: file: shinyproxy.log`

I allowed port3838 in windows firewall but didnt fix the problem. I checked Expose daemon on tcp://localhost:2375 without TLS in docker settings. Uninstall and re-install docker but none of these helped.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
aysegokcecommented, Aug 16, 2020

I removed url: http://localhost:2375 from application.yml and it is working now.

0reactions
LEDfancommented, Sep 25, 2020

@aysegokce since your problem is solved I’m going to close this issue. Feel free to open a new issue if you encounter another problem or have a suggestion!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ShinyProxy Error 500: container faild to start
Please help troubleshooting. Getting an error while running the app in shiny proxy: Error. Status code: 500. Message: Container failed to start.
Read more >
Shinyproxy error 500 :Failed to start container - Stack Overflow
The error message shows that the connection to Docker was refused. Are you sure that docker is running on localhost?
Read more >
FAQ | ShinyProxy
Error Status code: 500 Message: Container did not respond in time ... This almost always means an R error is triggered when docker...
Read more >
Shinyproxy error 500 : Failed to start container / Caused by ...
Coding example for the question Shinyproxy error 500 : Failed to start container / Caused by: java.io.IOException: Permission denied-docker.
Read more >
Error
Error. Status code: 500. Message: Failed to start container. Stack Trace: ... at eu.openanalytics.shinyproxy.controllers. ... at javax.servlet.http.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found