Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shinyproxy-docker-compose-example_nginx-forwarder_1 exited with code 1 #2

Open
hl5biw opened this issue Mar 28, 2021 · 4 comments
Open

Comments

@hl5biw
Copy link

hl5biw commented Mar 28, 2021

When I run "docker-compose up" , nginx-forwarder exited with following messages. Please check it.

--- docker-compose messages ------
Attaching to shinyproxy-docker-compose-example_nginx-forwarder_1, shinyproxy-docker-compose-example_shinyproxy_1, shinyproxy-docker-compose-example_app-in-compose_1
nginx-forwarder_1 | 2021/03/28 09:09:12 [emerg] 6#6: no host in upstream ":3838/" in /etc/nginx/nginx.conf:22
nginx-forwarder_1 | nginx: [emerg] no host in upstream ":3838/" in /etc/nginx/nginx.conf:22
shinyproxy-docker-compose-example_nginx-forwarder_1 exited with code 1

@shrektan
Copy link
Owner

shrektan commented Apr 5, 2021

You mean you cloned the repo, run docker-compose up without any modification and you got the above error message?

@DarwinCV
Copy link

DarwinCV commented Jun 7, 2021

Hi @shrektan I also get the same error,

app-in-compose_1 | Loading required package: shiny
nginx-forwarder_1 | 2021/06/07 19:42:34 [emerg] 8#8: no host in upstream ":3838/" in /etc/nginx/nginx.conf:21
nginx-forwarder_1 | nginx: [emerg] no host in upstream ":3838/" in /etc/nginx/nginx.conf:21
shinyproxy_1 | Error: Unable to access jarfile /opt/shinyproxy/shinyproxy.jar
shinyproxy-docker-compose-example_nginx-forwarder_1 exited with code 1

@jeffreyhanson
Copy link

@shrektan, thanks so much for putting togeather this example!

Just in case anyone else experiences similar issues, I had to do the following to get the shinyproxy service working on my computer (YMMV):

  1. Download the most recent version of shinyproxy (e.g. shinyproxy-2.5.0.jar from https://www.shinyproxy.io/downloads/shinyproxy-2.5.0.jar).
  2. Rename the .jar file as shinyproxy.jar
  3. Move the file to shinyproxy-docker-compose-example/shinyproxy/shinyproxy.jar

Note that this didn't fix the nginx forwarder, which terminates with the following log:

nginx-forwarder_1  | 2021/08/04 00:30:59 [emerg] 7#7: no host in upstream ":3838/" in /etc/nginx/nginx.conf:21
nginx-forwarder_1  | nginx: [emerg] no host in upstream ":3838/" in /etc/nginx/nginx.conf:21
shinyproxy-docker-compose-example_nginx-forwarder_1 exited with code 1

shrektan added a commit that referenced this issue Nov 8, 2021
@alsator
Copy link

alsator commented Sep 14, 2022

I have the same problem too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants