Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebUI for non local machine does not work #252

Closed
dsvi opened this issue May 26, 2017 · 4 comments
Closed

WebUI for non local machine does not work #252

dsvi opened this issue May 26, 2017 · 4 comments
Labels
kind/enhancement A net-new feature or improvement to an existing feature

Comments

@dsvi
Copy link

dsvi commented May 26, 2017

for version 1.6
The WebUI menu loads the ipfs webui page. But the page itself assumes localhost as the api address. Could that be possible for the plugin to change the localhost in the page to Custum Gateway Host from the plugin settings?

@lidel lidel added duplicate kind/enhancement A net-new feature or improvement to an existing feature labels May 26, 2017
@lidel
Copy link
Member

lidel commented May 26, 2017

Thank you for reporting this.

Good news: providing alternative hostname for API port is already addressed in 2.x versions:

2017-05-17 08_24_12-add-ons manager

It will take some time before we release 2.x.x as a stable version, but if you like to test experimental things feel free to install latest "alpha" from Development Channel:

@lidel lidel closed this as completed May 26, 2017
@dsvi
Copy link
Author

dsvi commented May 26, 2017

you probably didn't understand the problem. its not in a separate config, it's in the fact that WebUI page (at QmPhnvn747LqwPYMJmQVorMaGbMSgA7mRRoyyZYz3DoZRQ) has hardcoded localhost in it. so no matter what you have configured, it still tries to connect to localhost.

The problem is obviously still there, in 2.0 branch.

@lidel
Copy link
Member

lidel commented May 26, 2017

Ah, indeed! My apologies.

Just to be clear, all this add-on does when you click "Open WebUI" is to open <IPFS API URL>/webui in a new tab. That's it. Then, the gateway redirects you to the latest version of WebUI.

WebUI is developed as a separate project and if it has a bug or usability issue it should to be reported upstream. Please create a new issue at https://github.com/ipfs/webui/issues
(It is the only way to fix this in a future-proof way, hacking WebUI from WebExtension is not robust enough)

PS. If you need a workaround that "just works right now", try ssh tunnel method described in ipfs/ipfs-webui#95 (comment)

@dsvi
Copy link
Author

dsvi commented May 26, 2017

I see. thanks for the links! I'll report it there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants