Skip to content
This repository was archived by the owner on Dec 12, 2023. It is now read-only.
This repository was archived by the owner on Dec 12, 2023. It is now read-only.

The explorer-webapp can't connect to the explorer-api on localhost:4000 #74

@mahermeg17

Description

@mahermeg17

Bug description

The explorer-webapp can't connect to the explorer-api on localhost:4000.

Docker and docker-compose version

Which version of Docker and docker-compose are you running?

  • Docker version: 20.10.12
  • Docker-compose version: 1.26.0

Hardware specification

Hetzner CX21

Steps To reproduce the bug

Explain how the maintainer can reproduce the bug.

  1. Having a running Hornet private node
  2. Add explorer : ./tangle-explorer.sh install

Expected behaviour

Seeing tangle info on the explorer web ui.

Actual behaviour

The explorer-webapp can't connect the explorer-api
On the explorer web ui get this message : Explorer is currently undergoing maintenance, please check back later.
On the navigator console (ctrl+F12) : GET http://localhost:4000/networks net::ERR_BLOCKED_BY_CLIENT

But when using external IP (not localhost) it works!

cheking from the explorer-webapp :

docker container exec -it 40ebbde32e44 sh
/usr/src/app # wget  http://localhost:4000
Connecting to localhost:4000 (127.0.0.1:4000)
wget: can't connect to remote host (127.0.0.1): Connection refused
/usr/src/app # wget  http://node1:4000
Connecting to explorer-api:4000 (172.18.0.5:4000)
saving to 'index.html'
index.html           100% |**************************************************************************|    41  0:00:00 ETA
'index.html' saved
/usr/src/app # wget  http://EXTERNAL_IP:4000
Connecting to EXTERNAL_IP:4000 (EXTERNAL_IP:4000)
saving to 'index.html'
index.html           100% |**************************************************************************|    41  0:00:00 ETA
'index.html' saved

Errors

On the explorer web ui get this message : Explorer is currently undergoing maintenance, please check back later.
On the navigator console (ctrl+F12) : GET http://localhost:4000/networks net::ERR_BLOCKED_BY_CLIENT

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions