Questions tagged [shinyproxy]

a proxy to deploy Shiny apps in an enterprise context. It has built-in functionality for LDAP authentication and authorization, makes securing Shiny traffic (over TLS) a breeze and has no limits on concurrent usage of a Shiny app.

ShinyProxy is a way to deploy Shiny apps in an enterprise context. It has built-in functionality for LDAP authentication and authorization, makes securing Shiny traffic (over TLS) a breeze and has no limits on concurrent usage of a Shiny app.

Why use it?

  • you want to seamlessly deploy Shiny apps that were developed locally using the Shiny R package

  • you need enterprise features but want to stay with open source

  • you trust Java on the server side for running your Shiny apps
  • you want to get all benefits offered by Docker-based technology

Open Source

ShinyProxy is 100% open source, released under the Apache License version 2.0 and the sources are on Github.

For more information go to the shinyproxy.io website.

110 questions
0
votes
1 answer

Kerberos: S4U2self ticket must be FORWARDABLE (Containerproxy)

I'm using ShinyProxy to implement Kerberos authentication for Shiny apps, with ticket delegation for a underlying database. So basically: User -> ShinyProxy/Shiny Apps -> Database Login into Shiny using Kerberos works, however, ShinyProxy is unable…
Michel Jung
  • 2,966
  • 6
  • 31
  • 51
0
votes
1 answer

How to solve IllegalArgumentException error?

I am trying to deploy my R application using ShinyProxy and docker. As soon as run the command, java -jar I get a nested exception in docker terminal stating Illegal argument exception. I am attaching the last traceback error. I referred…
Karthik
  • 2,181
  • 4
  • 10
  • 28
0
votes
1 answer

Fileupload in Flask/ShinyProxy

uploading a file via a form/POST request in my Flask app works fine when the app is executed directly but fails when Shinyproxy hosts the Flask app. I tracked the issue down to the point that Shinyproxy is not executing the form POST request…
shosaco
  • 5,915
  • 1
  • 30
  • 48
0
votes
0 answers

downloadhandler error only with shinyproxy in prod

I developed an app with shiny and put in production with ShinyProxy. The app display some data and the user can filter and download in xlsx format the resulting table. Download is working when launching the app locally, but I got an error when using…
Marco Fumagalli
  • 2,307
  • 3
  • 23
  • 41
0
votes
1 answer

Installation shinyProxy: file location

(i’m using centOS 7) I’m following this tutorial, I’m at the part Download ShinyProxy and i download the rpm file. I install it with this command $ sudo yum localinstall shinyproxy_2.3.0_x86_64.rpm The folder /etc/shinyproxy is empty. My question…
problème0123
  • 841
  • 2
  • 9
  • 23
0
votes
0 answers

Shinyproxy - How to pass Hosts to docker image

How can I pass the hosts saved in /etc/hosts into the docker image while building it. I want to do this automatically, so that this snippet works on all server environments. I tried this in the Dockerfile: COPY /etc/hosts /etc/hosts But obviously…
SeGa
  • 9,454
  • 3
  • 31
  • 70
0
votes
0 answers

Limit the default number of CPU for each docker container using cgroups

I was wondering whether there is a way to automatically limit the number of CPUs all docker container can use when running as by default, each container uses all the available resources. When running the docker run command, I know I can specify the…
0
votes
0 answers

Parse or run docker shell command in python

Let's take following shinyproxy yaml as example: 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 …
Taz
  • 5,755
  • 6
  • 26
  • 63
0
votes
1 answer

Using googleAnalyticsR inside a shiny app

I try to allow user to connect to google analytics account inside a shiny app (using shinyproxy): library(shiny) library("googleAnalyticsR") options(googleAuthR.verbose=2) ui <- fluidPage( actionButton(inputId = "go",label = "go"), …
Vincent Guyader
  • 2,927
  • 1
  • 26
  • 43
0
votes
1 answer

Shiny proxy : Connect to localhost:2375 failed - Connection refused

When I am trying to start application in shinyproxy I get the following error Caused by: java.util.concurrent.ExecutionException: javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:2375…
Balajee
  • 143
  • 1
  • 2
  • 13
0
votes
1 answer

Apache blocks websocket protocol for Shiny

I've deployed a web-app using Shinyproxy and Shiny. If I go to http://localhost/mycontextpath/app/01_example everything works perfectly. The ProxyPass and ProxyPassReverse have been set up in Apache and now I can go directly to…
benhid
  • 124
  • 1
  • 17
0
votes
1 answer

How to retrieve error logs of shiny server inside docker?

Same question as here: https://support.openanalytics.eu/t/retrieve-log-files-of-shiny-session-when-launched-on-shinyproxy/494?u=mimaque I launch the .jar executable, everything works but some errors happen when doing some actions inside the shiny…
Miguel M.
  • 251
  • 1
  • 3
  • 15
0
votes
1 answer

Docker: error 500 - failed to start container

I encounter this issue after running java -jar shinyproxy-1.0.2.jar and access my app: Error Status code: 500 Message: Failed to start container: Request error: POST http://localhost:2375/containers/create: 400, body: {“message”:“invalid reference…
Miguel M.
  • 251
  • 1
  • 3
  • 15
0
votes
1 answer

Input doesn't pass through into attached container with R session

I was trying to do some debugging in R code when it's already on the container. After doing docker attach #container-id, I attach as expected to the running process, I get to see the browser prompt as well. However, I cannot interact with the R…
UpsideDownRide
  • 528
  • 1
  • 4
  • 12
0
votes
1 answer

Error: "Failed to start container" when trying to launch euler's app

I’m having problem launching the euler’s app on ShinyProxy. I can build the docker image without problem, and if I run it directly on Docker using the command: docker run -it -p 3838:3838 openanalytics/shinyproxy-template the app works…
miditower
  • 107
  • 2
  • 9