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

webui redirects to "https://undefined:9090"  #2697

Closed
@ggarri

Description

@ggarri
  • Version:
    js-ipfs version: 0.40.0-
    Repo version: 7
    System version: x64/linux
    Node.js version: v11.15.0
  • Platform: Linux 4.15.0-72-generic jsipfs block http-api and cli #81-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
  • Subsystem: webui

Type: Bug

Severity: Low

Description:

After running ipfs daemon when user try to access to default webui url(http://127.0.0.1:5002/webui) it is redirecting to http://undefined:9090//ipfs/Qmexhq2sBHnXQbvyP2GfUdbnY7HCagH2Mw5vUNSBn2nxip.

Steps to reproduce the error:

  • Run js-ipfs daemon
$> jsipfs daemon
Initializing IPFS daemon...
js-ipfs version: 0.40.0
System version: x64/linux
Node.js version: 11.15.0
....
API listening on /ip4/127.0.0.1/tcp/5002/http
Gateway (read only) listening on /ip4/127.0.0.1/tcp/9090/http
Web UI available at http://127.0.0.1:5002/webui
  • Go to your favorite browser an open a tab with http://127.0.0.1:5002/webui
  • You are redirected to http://undefined:9090//ipfs/Qmexhq2sBHnXQbvyP2GfUdbnY7HCagH2Mw5vUNSBn2nxip

Expected result

  • Run js-ipfs daemon
  • Go to your favorite browser an open a tab with http://127.0.0.1:5002/webui
  • You are redirected to http://127.0.0.1:9090//ipfs/Qmexhq2sBHnXQbvyP2GfUdbnY7HCagH2Mw5vUNSBn2nxip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions