ipfs/ipfs-companion

Node type Embedded in chrome do not work with localhost IP and cannot use webui

Open

#1,040 建立於 2022年1月3日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (1,992 star) (364 fork)batch import
P3effort/hoursgood first issuehelp wantedkind/bug

描述

Describe the bug I try to use ipfs companion with bode type Embedded in chrome, which is experimental, but I have expected that it should still work without local ipfs node and daemon, but it seem not the case. Especially the link in welcome page which specifically try to open localhost

To Reproduce Steps to reproduce the behavior:

  1. Install IPFS companion in chrome

  2. Change Node Type to Embedded

  3. Open the extension welcome page 3.1 Such as at the IPFS icon in the extension image

  4. Click on any button below to open webui

It would be opened into something like this

  1. I could open https://webui.ipfs.io/ but then it said Could not connect to the IPFS API

Not sure this was a problem of companion itself or the webui

Expected behavior Should the chrome companion also work as a daemon by itself? I think it should be able to detect the ipfs node of the companion and change the link of extension to be the link of the embed node, or did I was misunderstand and the embed node still require daemon anyway?

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 96.0.4664.110

Additional context I am very new with IPFS and I still don't want to install ipfs things into my machine. I don't even create my node or upload anything yet. I wish I could run IPFS node and daemon directly inside chrome browser. And so I would leave my OS environment out of anything related ipfs. I would like to sorry in advance if I wrongly did any step I need to

貢獻者指南