App not starting

Greetings.

I have an app running in Shiny. It is wokring fine when accessing with http:url:3838.

I have set up shinyproxy.conf, to have a reverse proxy and a secure https connection. I also set up the Dockefile and the application.yml file. The authentication method is “simple”.

When I input my url in a browser, I land on the secured landing page: https:url/login.

When signing in, I arrive to a page where I can see a hyperlink to my app. The url for this page is https.url.

But then, when clicking on the hyperlink, am directed to the page url/app/name_of_the_app. I can’t see at what stage of the set up the “app” is asked to be inserted

I suppose my app is not lauching because the link should be url/name_of_the_app and not url/app/name_of_the_app?

Any help would be most useful

Hi

In ShinyProxy, it is expected that when launching an app the url is" https://example.com/app/my_app_id. Can you share the logs of ShinyProxy? This should explain why the app is not starting.

Hello,

Thanks a lot for your answer. Absolutely sorry for the late answer. I thought I had replied but realised only today I had not hit the “Reply” button. Must have been interrupted when I was doing this. And it seems there is a limit to what I can post in terms of links: I have replaced the links with “link” in the below. Please find the log below.

I had not undestood the “/app/” would come in. But then, I guess my nginx config is not right? I will have a further look at that.

Thanks again.

Antoine

90.92.93.92 - - [29/Jun/2023:08:14:46 +0000] “GET / HTTP/1.1” 302 0 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:46 +0000] “GET /login HTTP/1.1” 200 1079 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:46 +0000] “GET /webjars/bootstrap/3.4.1/css/bootstrap.min.css HTTP/1.1” 200 121457 “login” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:46 +0000] “GET /css/login.css HTTP/1.1” 200 1447 “login” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:46 +0000] “GET /webjars/bootstrap-social/5.1.1/bootstrap-social.css HTTP/1.1” 200 28071 “login” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:46 +0000] “GET /webjars/fontawesome/4.7.0/css/font-awesome.min.css HTTP/1.1” 200 31000 “login” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:46 +0000] “GET /webjars/jquery/3.6.1/jquery.min.js HTTP/1.1” 200 89664 “login” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:46 +0000] “GET /webjars/bootstrap/3.4.1/js/bootstrap.min.js HTTP/1.1” 200 39680 “login” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:46 +0000] “GET /favicon.ico HTTP/1.1” 404 48 “login” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:49 +0000] “POST /login HTTP/1.1” 302 0 “login” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:49 +0000] “GET / HTTP/1.1” 200 2701 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:49 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/css/default.css HTTP/1.1” 200 10651 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:49 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/webjars/bootstrap/3.4.1/css/bootstrap.min.css HTTP/1.1” 200 121457 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:49 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/webjars/jquery/3.6.1/jquery.min.js HTTP/1.1” 200 89664 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:49 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/webjars/bootstrap/3.4.1/js/bootstrap.min.js HTTP/1.1” 200 39680 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:49 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/webjars/handlebars/4.7.7/handlebars.runtime.min.js HTTP/1.1” 200 20696 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:49 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/js/shiny.app.js HTTP/1.1” 200 10510 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:49 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/js/shiny.api.js HTTP/1.1” 200 7335 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:49 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/js/shiny.connections.js HTTP/1.1” 200 13668 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:49 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/js/shiny.instances.js HTTP/1.1” 200 10529 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:49 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/js/shiny.ui.js HTTP/1.1” 200 11901 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:49 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/js/shiny.common.js HTTP/1.1” 200 8215 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:49 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/handlebars/precompiled.js HTTP/1.1” 200 26112 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:49 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/webjars/bootstrap/3.4.1/fonts/glyphicons-halflings-regular.woff2 HTTP/1.1” 200 18028 “https://lastatistique.com/30a97ee8c0f3457f57b1312fa31884c0556cf889/webjars/bootstrap/3.4.1/css/bootstrap.min.css” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:50 +0000] “GET /app/drivers HTTP/1.1” 200 3326 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:50 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/css/default.css HTTP/1.1” 200 10651 “https://lastatistique.com/app/drivers” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:50 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/js/shiny.app.js HTTP/1.1” 200 10510 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:50 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/webjars/bootstrap/3.4.1/css/bootstrap.min.css HTTP/1.1” 200 121457 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:50 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/webjars/bootstrap/3.4.1/js/bootstrap.min.js HTTP/1.1” 200 39680 "link “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:50 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/js/shiny.api.js HTTP/1.1” 200 7335 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:50 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/webjars/jquery/3.6.1/jquery.min.js HTTP/1.1” 200 89664 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:50 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/js/shiny.connections.js HTTP/1.1” 200 13668 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:50 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/webjars/handlebars/4.7.7/handlebars.runtime.min.js HTTP/1.1” 200 20696 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:50 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/js/shiny.instances.js HTTP/1.1” 200 10529 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:50 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/js/shiny.ui.js HTTP/1.1” 200 11901 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:50 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/js/shiny.common.js HTTP/1.1” 200 8215 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:50 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/handlebars/precompiled.js HTTP/1.1” 200 26112 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:50 +0000] “GET /30a97ee8c0f3457f57b1312fa31884c0556cf889/webjars/bootstrap/3.4.1/fonts/glyphicons-halflings-regular.woff2 HTTP/1.1” 200 18028 “link1” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:14:50 +0000] “POST /app_i/drivers/_ HTTP/1.1” 200 485 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:15:00 +0000] “GET /api/3357dd3a-af63-491e-89a9-ae21c726a486/status?watch=true&timeout=10 HTTP/1.1” 200 485 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:15:11 +0000] “GET /api/3357dd3a-af63-491e-89a9-ae21c726a486/status?watch=true&timeout=10 HTTP/1.1” 200 485 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”
90.92.93.92 - - [29/Jun/2023:08:15:12 +0000] “GET /api/3357dd3a-af63-491e-89a9-ae21c726a486/status?watch=true&timeout=10 HTTP/1.1” 200 227 “link” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36”