question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The login page at localhost:8080 can't be reached

See original GitHub issue

I followed the Installation instructions, but after running the docker-compose up -d command, I get a “connection was reset” error in chrome, and don’t see the login page.

The output of the docker-compose up -d command was: Creating network "cvat_default" with the default driver Creating cvat_db ... done Creating cvat_redis ... done Creating cvat ... done

And docker ps outputs:

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ec26a5065b07 cvat “/usr/bin/supervisord” 25 minutes ago Up 25 minutes 0.0.0.0:8080->8080/tcp, 8443/tcp cvat

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
jamebozocommented, Jun 26, 2019

1.docker-compose down 2.docker-compose up -d fixed the problem for me. Thanks!

5reactions
Riqzzcommented, Apr 14, 2019

I meet this problem today. It can works well yesterday. I changed my laptap’s motherboard this morning because of some faults, but I did not change any data.How can I reach the workspace page?

this is the cvat log:

Unlinking stale socket /tmp/supervisord/supervisor.sock 2019-04-14 18:08:56,251 INFO RPC interface ‘supervisor’ initialized 2019-04-14 18:08:56,292 CRIT Server ‘unix_http_server’ running without any HTTP authentication checking 2019-04-14 18:08:56,292 INFO supervisord started with pid 1 2019-04-14 18:08:57,295 INFO spawned: ‘ssh-agent’ with pid 9 2019-04-14 18:08:57,296 INFO spawned: ‘git_status_updater’ with pid 10 2019-04-14 18:08:57,298 INFO spawned: ‘rqworker_low’ with pid 11 2019-04-14 18:08:57,299 INFO spawned: ‘runserver’ with pid 12 2019-04-14 18:08:57,300 INFO spawned: ‘rqworker_default_0’ with pid 13 2019-04-14 18:08:57,302 INFO spawned: ‘rqworker_default_1’ with pid 14 2019-04-14 18:08:57,608 DEBG ‘rqworker_low’ stderr output: wait-for-it.sh: waiting for redis:6379 without a timeout

2019-04-14 18:08:57,608 DEBG ‘runserver’ stderr output: wait-for-it.sh: waiting for db:5432 without a timeout

2019-04-14 18:08:57,608 DEBG ‘rqworker_default_0’ stderr output: wait-for-it.sh: waiting for cvat_redis:6379 without a timeout

2019-04-14 18:08:57,609 DEBG ‘git_status_updater’ stderr output: wait-for-it.sh: waiting for redis:6379 without a timeout

2019-04-14 18:08:57,609 DEBG ‘rqworker_default_1’ stderr output: wait-for-it.sh: waiting for cvat_redis:6379 without a timeout

2019-04-14 18:08:57,654 DEBG ‘ssh-agent’ stdout output: SSH_AUTH_SOCK=/tmp/ssh-agent.sock; export SSH_AUTH_SOCK; echo Agent pid 36;

2019-04-14 18:08:57,654 DEBG ‘ssh-agent’ stderr output: debug2: fd 3 setting O_NONBLOCK

2019-04-14 18:08:57,725 DEBG ‘git_status_updater’ stderr output: wait-for-it.sh: redis:6379 is available after 0 seconds

2019-04-14 18:08:57,725 DEBG ‘rqworker_low’ stderr output: wait-for-it.sh: redis:6379 is available after 0 seconds

2019-04-14 18:08:57,725 DEBG ‘runserver’ stderr output: wait-for-it.sh: db:5432 is available after 0 seconds

2019-04-14 18:08:57,727 DEBG ‘git_status_updater’ stderr output: bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell

2019-04-14 18:08:57,727 DEBG ‘rqworker_low’ stderr output: bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell

2019-04-14 18:08:57,727 DEBG ‘runserver’ stderr output: bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell

2019-04-14 18:08:57,727 DEBG ‘rqworker_default_0’ stderr output: wait-for-it.sh: cvat_redis:6379 is available after 0 seconds bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell

2019-04-14 18:08:57,727 DEBG ‘rqworker_default_1’ stderr output: wait-for-it.sh: cvat_redis:6379 is available after 0 seconds

2019-04-14 18:08:57,728 DEBG ‘rqworker_default_1’ stderr output: bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell

2019-04-14 18:08:58,729 INFO success: ssh-agent entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2019-04-14 18:08:58,729 INFO success: git_status_updater entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2019-04-14 18:08:58,730 INFO success: rqworker_low entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2019-04-14 18:08:58,730 INFO success: runserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2019-04-14 18:08:58,730 INFO success: rqworker_default_0 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2019-04-14 18:08:58,730 INFO success: rqworker_default_1 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2019-04-14 18:08:59,161 DEBG ‘ssh-agent’ stderr output: debug2: fd 4 setting O_NONBLOCK

2019-04-14 18:08:59,174 DEBG ‘ssh-agent’ stderr output: debug1: type 17

2019-04-14 18:08:59,176 DEBG ‘ssh-agent’ stderr output: debug1: XXX shrink: 3 < 4

2019-04-14 18:08:59,179 DEBG ‘ssh-agent’ stderr output: debug2: fd 4 setting O_NONBLOCK debug1: type 11

2019-04-14 18:08:59,179 DEBG ‘ssh-agent’ stderr output: debug1: XXX shrink: 3 < 4

2019-04-14 18:08:59,181 DEBG ‘ssh-agent’ stderr output: debug2: fd 4 setting O_NONBLOCK

2019-04-14 18:08:59,182 DEBG ‘ssh-agent’ stderr output: debug1: type 17

2019-04-14 18:08:59,184 DEBG ‘ssh-agent’ stderr output: debug1: XXX shrink: 3 < 4

2019-04-14 18:08:59,186 DEBG ‘ssh-agent’ stderr output: debug2: fd 4 setting O_NONBLOCK debug1: type 11

2019-04-14 18:08:59,187 DEBG ‘ssh-agent’ stderr output: debug1: XXX shrink: 3 < 4

2019-04-14 18:08:59,189 DEBG ‘ssh-agent’ stderr output: debug2: fd 4 setting O_NONBLOCK

2019-04-14 18:08:59,190 DEBG ‘ssh-agent’ stderr output: debug1: type 17

2019-04-14 18:08:59,192 DEBG ‘ssh-agent’ stderr output: debug1: XXX shrink: 3 < 4

2019-04-14 18:08:59,194 DEBG ‘ssh-agent’ stderr output: debug2: fd 4 setting O_NONBLOCK debug1: type 11

2019-04-14 18:08:59,194 DEBG ‘ssh-agent’ stderr output: debug1: XXX shrink: 3 < 4

2019-04-14 18:08:59,197 DEBG ‘ssh-agent’ stderr output: debug2: fd 4 setting O_NONBLOCK

2019-04-14 18:08:59,198 DEBG ‘ssh-agent’ stderr output: debug1: type 17

2019-04-14 18:08:59,200 DEBG ‘ssh-agent’ stderr output: debug1: XXX shrink: 3 < 4

2019-04-14 18:08:59,202 DEBG ‘ssh-agent’ stderr output: debug2: fd 4 setting O_NONBLOCK debug1: type 11

2019-04-14 18:08:59,202 DEBG ‘ssh-agent’ stderr output: debug1: XXX shrink: 3 < 4

2019-04-14 18:08:59,205 DEBG ‘ssh-agent’ stderr output: debug2: fd 4 setting O_NONBLOCK

2019-04-14 18:08:59,206 DEBG ‘ssh-agent’ stderr output: debug1: type 17

2019-04-14 18:08:59,208 DEBG ‘ssh-agent’ stderr output: debug1: XXX shrink: 3 < 4

2019-04-14 18:08:59,210 DEBG ‘ssh-agent’ stderr output: debug2: fd 4 setting O_NONBLOCK debug1: type 11

2019-04-14 18:08:59,210 DEBG ‘ssh-agent’ stderr output: debug1: XXX shrink: 3 < 4

2019-04-14 18:09:07,160 DEBG ‘rqworker_default_1’ stderr output: 18:09:07 Registering birth of worker 2262aced3bb6.14

2019-04-14 18:09:07,160 DEBG ‘rqworker_default_0’ stderr output: 18:09:07 Registering birth of worker 2262aced3bb6.13

2019-04-14 18:09:07,162 DEBG ‘rqworker_default_0’ stderr output: 18:09:07 RQ worker ‘rq:worker:2262aced3bb6.13’ started, version 0.13.0

2019-04-14 18:09:07,162 DEBG ‘rqworker_default_0’ stderr output: 18:09:07 *** Listening on default…

2019-04-14 18:09:07,163 DEBG ‘rqworker_default_0’ stderr output: 18:09:07 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.

2019-04-14 18:09:07,163 DEBG ‘rqworker_default_1’ stderr output: 18:09:07 RQ worker ‘rq:worker:2262aced3bb6.14’ started, version 0.13.0

2019-04-14 18:09:07,163 DEBG ‘rqworker_default_0’ stderr output: 18:09:07 Cleaning registries for queue: default

2019-04-14 18:09:07,163 DEBG ‘rqworker_default_1’ stderr output: 18:09:07 *** Listening on default…

2019-04-14 18:09:07,164 DEBG ‘rqworker_default_0’ stderr output: 18:09:07 *** Listening on default…

2019-04-14 18:09:07,164 DEBG ‘rqworker_default_1’ stderr output: 18:09:07 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.

2019-04-14 18:09:07,165 DEBG ‘rqworker_default_0’ stderr output: 18:09:07 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.

2019-04-14 18:09:07,165 DEBG ‘rqworker_default_1’ stderr output: 18:09:07 Cleaning registries for queue: default

2019-04-14 18:09:07,166 DEBG ‘rqworker_default_1’ stderr output: 18:09:07 *** Listening on default…

2019-04-14 18:09:07,166 DEBG ‘rqworker_default_1’ stderr output: 18:09:07 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.

2019-04-14 18:09:07,199 DEBG ‘rqworker_low’ stderr output: 18:09:07 Registering birth of worker 2262aced3bb6.11

2019-04-14 18:09:07,201 DEBG ‘rqworker_low’ stderr output: 18:09:07 RQ worker ‘rq:worker:2262aced3bb6.11’ started, version 0.13.0

2019-04-14 18:09:07,201 DEBG ‘rqworker_low’ stderr output: 18:09:07 *** Listening on low…

2019-04-14 18:09:07,201 DEBG ‘rqworker_low’ stderr output: 18:09:07 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.

2019-04-14 18:09:07,201 DEBG ‘rqworker_low’ stderr output: 18:09:07 Cleaning registries for queue: low

2019-04-14 18:09:07,202 DEBG ‘rqworker_low’ stderr output: 18:09:07 *** Listening on low…

2019-04-14 18:09:07,202 DEBG ‘rqworker_low’ stderr output: 18:09:07 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.

2019-04-14 18:09:09,086 DEBG ‘runserver’ stdout output: Operations to perform: Apply all migrations: admin, auth, contenttypes, engine, git, sessions Running migrations: No migrations to apply.

2019-04-14 18:09:09,320 DEBG ‘ssh-agent’ stderr output: debug2: fd 4 setting O_NONBLOCK

2019-04-14 18:09:09,322 DEBG ‘ssh-agent’ stderr output: debug1: type 17

2019-04-14 18:09:09,324 DEBG ‘ssh-agent’ stderr output: debug1: XXX shrink: 3 < 4

2019-04-14 18:09:09,326 DEBG ‘ssh-agent’ stderr output: debug2: fd 4 setting O_NONBLOCK debug1: type 11

2019-04-14 18:09:09,326 DEBG ‘ssh-agent’ stderr output: debug1: XXX shrink: 3 < 4

2019-04-14 18:09:09,866 DEBG ‘runserver’ stdout output:

0 static files copied to ‘/home/django/static’, 301 unmodified.

2019-04-14 18:09:09,993 DEBG ‘ssh-agent’ stderr output: debug2: fd 4 setting O_NONBLOCK

2019-04-14 18:09:09,994 DEBG ‘ssh-agent’ stderr output: debug1: type 17

2019-04-14 18:09:09,996 DEBG ‘ssh-agent’ stderr output: debug1: XXX shrink: 3 < 4

2019-04-14 18:09:09,998 DEBG ‘ssh-agent’ stderr output: debug2: fd 4 setting O_NONBLOCK debug1: type 11

2019-04-14 18:09:09,998 DEBG ‘ssh-agent’ stderr output: debug1: XXX shrink: 3 < 4

2019-04-14 18:09:10,665 DEBG ‘runserver’ stdout output: Successfully ran command. Server URL : http://localhost:8080/ Server Root : /tmp/mod_wsgi-localhost:8080:1000 Server Conf : /tmp/mod_wsgi-localhost:8080:1000/httpd.conf Error Log File : /dev/stderr (INFO) Request Capacity : 5 (1 process * 5 threads) Request Timeout : 60 (seconds) Startup Timeout : 15 (seconds) Queue Backlog : 100 (connections) Queue Timeout : 45 (seconds) Server Capacity : 20 (event/worker), 20 (prefork) Server Backlog : 500 (connections) Locale Setting : C.UTF-8

2019-04-14 18:09:10,960 DEBG ‘runserver’ stdout output: httpd (pid 11) already running

2019-04-14 18:09:10,961 DEBG fd 25 closed, stopped monitoring <POutputDispatcher at 140353333040984 for <Subprocess at 140353333362840 with name runserver in state RUNNING> (stderr)> 2019-04-14 18:09:10,961 DEBG fd 21 closed, stopped monitoring <POutputDispatcher at 140353333040696 for <Subprocess at 140353333362840 with name runserver in state RUNNING> (stdout)> 2019-04-14 18:09:10,961 INFO exited: runserver (exit status 0; expected) 2019-04-14 18:09:10,961 DEBG received SIGCLD indicating a child quit

ooh I start it successfully again when I use the command:1.docker-compose down 2.docker-compose up -d

Read more comments on GitHub >

github_iconTop Results From Across the Web

Localhost Refused to Connect Error: 5 Confirmed Ways to Fix It
Localhost refused to connect error can be caused by an incorrectly configured port, insufficient permissions, or an inoperative web server.
Read more >
Localhost Can't be Reached, Refused to Connect on a Browser
If you are getting this error on your browser when you try to connect to localhost via browser, all you need to do...
Read more >
Chrome cannot connect to http://localhost:8080 but http://127.0 ...
Using Chrome (version 58), I can successfully connect to http://127.0.0.1:8080 , but I can't connect to http://localhost:8080 - it gives me ERR ...
Read more >
Localhost Refused to Connect - How to Fix the Error
1. First, stop all instances running in WAMP with the End Task button. · 2. Then, open the httpd. · 3. Locate the...
Read more >
Localhost:8080 - Site can't be reached - openHAB Community
I installed the latest OpenHab on an RPI4, standalone, connected with ethernet to my router. I did login directly to the PI (connected...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found