Hi friends,
I created a shiny application and dockerized it using the below dockerfile
FROM r-base:3.5.1
RUN apt-get update && apt-get install -y
sudo
gdebi-core
pandoc
pandoc-citeproc
libcurl4-gnutls-dev
libcairo2-dev/unstable
libxt-dev
libssl-dev
RUN wget --no-verbose …
gdebi -n ss-latest.deb &&
rm -f version.txt ss-latest.deb
RUN R -e “install.packages(c(‘shiny’,‘shinydashboard’, ‘DT’, ‘plotly’), repos=’,…’)”
COPY /app /srv/trialconnect-dashboard
COPY Rprofile.site /usr/lib/R/etc/
EXPOSE 3838
CMD [“R”, “-e”,“shiny::runApp(’/srv/trialconnect-dashboard’,port=3838,host=‘0.0.0.0’)”]
And my shinyproxy applicaiton.yml is as below for the app section
id: trialconnect-dashboard
display-name: Trinetx Trial Connect
description: Trial Connect Studies with Provider Information
container-cmd: [“R”, “-e”, “shiny::runApp(’/srv/trialconnect-dashboard’)”]
container-image: trialconnect-dashboard
And I am getting this error, can you please help me with this issue…
2019-03-25 23:44:39.202 WARN 9621 — [ XNIO-2 task-4] e.o.shinyproxy.ShinyProxyTestStrategy : Container unresponsive, trying again (9/10): http://f09f00a3c33b:3838
2019-03-25 23:44:41.204 WARN 9621 — [ XNIO-2 task-4] e.o.shinyproxy.ShinyProxyTestStrategy : Container unresponsive, trying again (10/10): http://f09f00a3c33b:3838
2019-03-25 23:44:43.773 ERROR 9621 — [ XNIO-2 task-4] io.undertow.request : UT005023: Exception handling request to /app/trialconnect-dashboard
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is eu.openanalytics.containerproxy.ContainerProxyException: Container did not respond in time
at