docker-funkwhale icon indicating copy to clipboard operation
docker-funkwhale copied to clipboard

Port is up but cannot visit?

Open einverne opened this issue 4 years ago • 0 comments

Describe the bug I am run the image with the following on my nas with IP (192.168.2.200) :

docker run \
        --name=funkwhale \
        -e FUNKWHALE_HOSTNAME=192.168.2.200 \
        -e NESTED_PROXY=0 \
        -v /share/Container/funkwhale/data:/data \
        -v /share/Music:/music:ro \
        -p 6000:80 \
        thetarkus/funkwhale

After the container is running, I cannot visit with my computer with IP (192.168.2.110).

Logs Please submit relevant logs between three backticks.

347:M 16 Feb 11:21:44.580 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
347:M 16 Feb 11:21:44.580 * Ready to accept connections
2020-02-16 11:21:59,288 INFO     Starting server at tcp:port=8000:interface=127.0.0.1
2020-02-16 11:21:59,289 INFO     HTTP/2 support not enabled (install the http2 and tls Twisted extras)
2020-02-16 11:21:59,290 INFO     Configuring endpoint tcp:port=8000:interface=127.0.0.1
2020-02-16 11:21:59,295 INFO     Listening on TCP address 127.0.0.1:8000
# Logs are located in the `/var/log/funkwhale/` directory.
docker exec -it ${CONTAINER_ID} cat /var/log/funkwhale/{gunicorn,celery-worker,celery-beat}.log

under /var/log/funkwhale  there is no gunicorn.log

celery-worker.log and celery-beat log is empty.

System information

  • OS: QNAP QTS 4.4
  • Run tool: docker command
  • Docker version: Docker version 17.09.1-ce, build 0bbe3ac
  • Tag: I am using the latest tag.

Additional context

I tried to curl 192.168.2.200:6000

it gave me:

<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/front/favicon.png><title>Funkwhale</title><link href=/front/css/index.9dd8f49e.css rel=preload as=style><link href=/front/js/index.58d3beab.js rel=preload as=script><link href=/front/css/index.9dd8f49e.css rel=stylesheet>
<meta content="website" property="og:type" />
<meta content="Funkwhale" property="og:site_name" />
<meta property="og:description" />
<meta content="http://192.168.2.200/front/favicon.png" property="og:image" />
<meta content="http://192.168.2.200/" property="og:url" />
</head><body><noscript><strong>We're sorry but Funkwhale doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/front/js/index.58d3beab.js></script></body></html>%  

But when I use my browser to visit this address, it shows

This site can’t be reachedThe webpage at http://192.168.2.200:6000/front/favicon.png might be temporarily down or it may have moved permanently to a new web address.
ERR_UNSAFE_PORT

einverne avatar Feb 16 '20 11:02 einverne