104 questions
2
votes
1
answer
443
views
Failed to start the container when testing the shinyproxy-demo
I'm new to shinyproxy so I'm going to start learning from the wizard https://www.shinyproxy.io/documentation/
I followed every instruction in it all, I managed to access localhost:8080 however, I can'...
1
vote
1
answer
177
views
Why does "Docker startup options" of the ShinyProxy "Getting Started" manual state 127.0.0.1:2375?
The Getting started page of ShinyProxy states to do the following. I will reproduce this so we're all on the same page.
---------- start reproduction ----------
sudo systemctl edit docker
This ...
1
vote
0
answers
179
views
How to Use ShinyProxy in Production
Apologize in advance if this question is general or basic, but I need help in understanding some foundational practices.
What I have:
Dockerized shiny apps deployed using ShinyProxy, hosted with on ...
0
votes
0
answers
913
views
Error: occurred while trying to authenticate the user
my ldap authentication do not work, here is the part of the application file:
port: 8080
authentication: ldap
admin-groups: admins
users:
• name: admin
password: password
groups: admins
• name: ...
0
votes
1
answer
445
views
Container failed to start error when running RStudio server with ShinyProxy
I'm trying to run RStudio server using ShinyProxy. I can run a container without ShinyProxy fine like this:
docker run -p 80:8787 -e DISABLE_AUTH=true rocker/rstudio
when I navigate to localhost, I ...
1
vote
1
answer
282
views
Shiny-proxy in iframe - Adding CSP does not solve chrome blocking it
I have a shiny application running with shiny-proxy and I want to embed this application within another hub application.
I configured the application.yml in shiny-proxy to:
frame-options: allow-from ...
0
votes
1
answer
274
views
SSL Configuration on Nginx, ShinyProxy (SSL Key Issue?)
I'm currently working with the following tools to allow web-based access for containers:
Client Web Browser > Nginx > ShinyProxy > Docker. The server is running on Ubuntu 22.04 LTS.
Docker ...
0
votes
1
answer
86
views
Connection impossible when using "usage-stats-url: jdbc:postgresql://localhost/postgres"
I'm trying to store the shinyproxy stats in a PostgreSQL database, to do this, I created a database and the event table like indicated on the documentation.
This problem is similar to the one occurred ...
1
vote
1
answer
318
views
How to set ldap configuration in your shinyproxy.yml to filter app access by group?
We are trying to set a shinyproxy server with ldap security.
In the shinyproxy.yml the ldap configuration is set as:
ldap:
url: ldap://ourIP:389/dc=ourdomain,dc=com
manager-dn: cn=admin,dc=...
2
votes
1
answer
505
views
How can I use R Arrow and AWS S3 in a shiny app deployed on EC2 with shinyproxy
I have been testing out the apache-arrow R package to fetch data from S3 (parquet files) for some shiny apps and have had some success. However, while everything works as expected during local ...
1
vote
0
answers
316
views
Shiny proxy on AKS behind an Azure Application Gateway
I’ve been using shiny proxy on AKS for the past couple of months and it’s been fantastic, no problems at all, however, the need for a more secure setup has arised, and I have to use it behind an Azure ...
2
votes
1
answer
363
views
Configure subdomain shinyproxy
First things first, I'm quite a beginner at hosting shiny apps on docker and shinyproxy. The terms I use might be a bit layman and incorrect.
I have my application running well on shinyproxy and can ...
0
votes
1
answer
317
views
Running ShinyProxy through a reverse proxy on another server resulting in "The redirect URI is wrong" from Auth0
I've been working on this for about two weeks now - I feel like I'm missing something :)
Here's a diagram of what I'm working on:
I'm using IIS to do a Reverse Proxy to provide SSL for ShinyProxy. I ...
9
votes
2
answers
2k
views
Where to place .Renviron file when deploying shiny app with shinyproxy?
I'm learning how to use shinyproxy to deploy R shiny applications but I can't figure out where to place my .Renviron file which contains global variables used to access a database.
The docker image ...
1
vote
1
answer
2k
views
Localhost:8080 cannot connect (Shinyproxy at Wiindows)
Following getting started at shinyproxy.io I installed shinyproxy at windows 11
docker: pulled the image: “docker pull openanalytics/shinyproxy-demo”
installed java v.15
downloaded shinyproxy-2.6.1....
1
vote
1
answer
633
views
Docker container failing to start with connection to database from shinyproxy
I want to connect an individual app within shiny proxy to a docker network.
I have a few apps on shinyproxy, only one needs to connect to the database.
It is a postgresql DB running on the same ...
0
votes
0
answers
80
views
Shinyproxy with PWA
I am trying to host a progressive web app (PWA) on a shinyproxy server using keycloak user authentication. However, the webmanifest cannot be loaded. Is there any advice how to host a PWA compatible ...
1
vote
0
answers
492
views
Hosting ShinyProxy on Azure
I'm exploring the Docker capabilities for ShinyProxy on Azure and I want to set it up in a simple, expandable, and affordable way. As far as I understand there are five ways to set up Docker-based ...
0
votes
0
answers
712
views
Docker-Image works on PC but not on the Server
I have created a Docker image (R-Shiny) and tested it on my PC (Windows10) - via localhost. Everything works great.
But as soon as I load and host my Docker image on my server (Ubuntu) (via Shinyproxy ...
0
votes
0
answers
267
views
How does "ClusterRoleBinding" works and how do i get rid of it?
It finally worked! I was able to host my ShinyApp over an EKS cluster with ShinyProxy and Kubernetes!
Unfortunately, I have now noticed that it doesn't quite work as I had imagined.
Briefly about my ...
2
votes
1
answer
677
views
"ERR_EMPTY_RESPONSE" - ShinyApp hosted over AWS (EC2 / EKS / ShinyProxy) does not work
Update #2:
I have checked the health status of my instances within the auto scaling group - here the instances are titled as "healthy". (Screenshot added)
I followed this trouble-shooting ...
2
votes
0
answers
128
views
opening shinyproxy-app via iFrame kills shinyproxy
After having published my Shiny app via ShinyProxy and Docker with some success, I am now trying to integrate it via an iFrame.
Unfortunately, my app always crashes when it is called via the iFrame. ...
1
vote
1
answer
1k
views
mailR Error - Sending email to the following server failed: smtp.gmail.com:587 - ShinyProxy / Docker / Ubuntu
I am currently trying to publish my Shiny app via ShinyProxy and Docker.
Unfortunately, my app does not work after publishing - on the PC itself it works without any problems.
One of my problems ...
0
votes
0
answers
738
views
Warning: Error in magick_image_readpath: R: unable to open image '02-Backrounds/1F602.png' No such file or directory @ error/blob.c/OpenBlob/2924
I am currently trying to host my RShiny app and am running into a problem:
"Warning: Error in magick_image_readpath: R: unable to open image '02-Backrounds/1F602.png' No such file or directory @ ...
-1
votes
1
answer
200
views
"function %>% not found" - dplyr-package is loaded
I am currently trying to get my r-application running via shinyproxy in combination with docker - unfortunately without success.
The app works without problems when started via R-Studio. However, as ...
1
vote
0
answers
280
views
Is there anyway to globally configure a credential spec file in docker?
We currently are in the process of setting up Shiny Proxy on a windows server to host a series of R Shiny Web Apps. One of the complications is that some of the apps integrate with SQL Servers. We ...
2
votes
0
answers
593
views
Shinyproxy: Message: Container did not respond in time (500)
after building an rShiny app, I would like to host it online on my own server.
I currently have a server with Ubuntu (latest version), on which I would like to run the hosting with the help of Docker, ...
0
votes
1
answer
121
views
Scope of global.R
I think of the global.R file as a file that is being run once before app starts. That means we can use it for all sorts of data processing, running models, and, of course, to load in your data. In ...
0
votes
0
answers
288
views
Error in installing precompiled r packages in a docker image for shinyproxy
I am trying to deploy an application via docker and shinyproxy. I am using the shinyproxy-template and the standard-Dockerfile that I have modified as follows:
RUN apt-get update && apt-get ...
0
votes
0
answers
1k
views
Status code 500 : Container did not respond in time
I would like to run an R Shiny application via Shinyproxy locally first.
My Application is functional, after docking it, it still works with a docker command.
I created a ‘shinyproxy’ image and ...
2
votes
1
answer
1k
views
Not getting shinyproxy.log to save in container
I’m not able to get shinyproxy to output a log file for some reason. I’m running shinyproxy in a countainer. When I bash into the container I can’t find the main log anywhere. However, when I run ...
0
votes
1
answer
816
views
Can I pass Username instead of Firstname + Lastname to shiny prox
I am using Shinyproxy with Keycloak and read the username with
userName <- Sys.getenv("SHINYPROXY_USERNAME")
Unfortunately I receive a concatenation of FirstName and LastName, which is ...
-1
votes
1
answer
330
views
ShinyProxy and authentication with IdentityServer4
My ShinyProxy is up and running. If I use the authentication basic, it is working. I wanted to connect the ShinyProxy with my IdentityServer4.
Follow the documentation of ShinyProxy, I configure my ...
0
votes
2
answers
835
views
Deploy ShinyProxy and an application with Azure DevOps
I'm trying to deploy a ShinyProxy in a Docker container to Azure. Also, I have the ShinyApp repositories in Azure DevOps. Every time a developer updates the code in a repository, I want to the CD/CI ...
2
votes
0
answers
615
views
Shiny app does not appear when deployed using Shinyproxy
I'm trying to learn how to deploy a shiny app using Shinyproxy, and I'm using the templated "euler app" (from this repo), but the application does not appear when I navigate to http://...
0
votes
1
answer
627
views
App not displaying properly with Safari - Nginx configuration problem?
I am deploying 10 shiny apps using Shinyproxy inside docker-compose. I have set up a Nginx reverse proxy on my server for information. The apps are loading perfectly fine on Google Chrome but not when ...
2
votes
0
answers
902
views
Designing ShinyProxy Landing Page
I would like to know how I can customize the Shinyproxy landing page below.
I have read somewhere on the community that the html file can be found in this folder: src/main/resources/templates but I ...
1
vote
1
answer
968
views
Passing SQL credentials to shinyproxy app
I have a working shinyproxy app with LDAP authentication. However, for retrieving data from the SQL-database I now use (not recommended) a hardcoded connection string in my R code with the credentials ...
4
votes
2
answers
7k
views
Every command results in a fatal error: runtime: out of memory
To add context, I have a small server with 1GB memory on which I am trying to deploy a lot of shiny apps by dockerizing ShinyProxy using docker-compose.
I am adding app after app on ShinyProxy and ...
-1
votes
1
answer
2k
views
Docker desktop for Mac: bind to tcp port
I'm running ShinyProxy (https://www.shinyproxy.io/) locally on my mac, together with Docker Desktop for Mac.
ShinyProxy requires access to the Docker daemon via tcp, rather than just via unix socket.
...
1
vote
2
answers
903
views
Shinyproxy error 500 : Failed to start container / Caused by: java.io.IOException: Permission denied
The shinyproxy page is displayed and after authentication I can see the nav bar, 2 links to the 2 applications. Then, when I click on one of them, I got en error 500 / "Failed to start container&...
0
votes
0
answers
380
views
How to share Database connection pool between shiny apps under ShinyProxy
In my practice, many shiny apps needs to access Postgresql DB which installed on host.
I use pool package to get connection pool of Postgresql, and set it to global variable shared for other apps.
But ...
0
votes
1
answer
435
views
Shinyproxy with keycloak redirected too many times
I'm trying to get a basic example of shinyproxy working with keycloak. This is my Dockerfile
FROM openjdk:11-jre
RUN mkdir -p /opt/shinyproxy/
RUN wget https://www.shinyproxy.io/downloads/shinyproxy-...
0
votes
1
answer
186
views
How to add custom error page to app served with shinyproxy
I am serving a R app using ShinyProxy with default configurations. When there is an error, the default error page exposes a lot of information about what caused the error. I would like to replace the ...
1
vote
0
answers
131
views
How to access dockerized app on remote host
I have dockerized shinyproxy app and I can reach it through http://localhost:8080. But I cant reach it outside the host computer.
I tried http://my-ip-adress:8080
I allowed port 8080 through windows ...
3
votes
1
answer
1k
views
Shiny Proxy in Docker Container - Bind to 127.0.0.1 or 0.0.0.0?
I am following the instructions in order to secure shinyproxy as per https://shinyproxy.io/security/. Is it possible to run shinyproxy in a container and bind to 127.0.0.1 so that my nginx reverse ...
1
vote
0
answers
839
views
Shinyproxy error 500 :Failed to start container
I encountered Error 500 when I try to run shinyproxy. these are the errors I got.
Caused by: com.spotify.docker.client.exceptions.DockerException: java.util.concurrent.ExecutionException: javax.ws.rs....
2
votes
1
answer
1k
views
ShinyProxy Docker - Max Threads (max concurrent users)
I am creating an enterprise wide form entry solution in R Shiny that will be aimed at approximately 400 users.
My question is (in a nutshell): Since R is a single threaded process, do I need 200 cores ...
1
vote
1
answer
809
views
Apache Reverse Proxy and ShinyProxy
I wrote a shiny web application and deploy it on a server using ShinyProxy. Accessing the app directly via the IP address and port 8080 works fine. However, I need to connect it to a URL. On the ...
1
vote
1
answer
836
views
Return to shinyproxy login page after inactivity
I’m using simple authentication and running ShinyProxy in a Docker container.
I notice that after logging in if I leave the tab open but do not interact with the tab for some time (30 min will do it), ...