ipfs-webui icon indicating copy to clipboard operation
ipfs-webui copied to clipboard

blank screen on files tab when using gateway port instead of api port

Open swedneck opened this issue 4 years ago • 2 comments

Describe the bug A clear and concise description of what the bug is.

When the address entered for the API port is instead for the gateway port (e.g. http://webui.ipfs.io.ipns.localhost:8080/) the files tab will simply result in a blank page.

To Reproduce Steps to reproduce the behavior:

  1. Go to the settings tab
  2. Click on change the api address to the gateway address
  3. Go to the files tab
  4. See blank screen

Expected behavior A clear and concise description of what you expected to happen. It should probably show an error, instead of being blank

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Fedora 32
  • Browser: Firefox 82

swedneck avatar Nov 07 '20 13:11 swedneck

Thanks @swedneck - we will look more closely in our next triage. Can you reliably replicate this?

jessicaschilling avatar Nov 07 '20 15:11 jessicaschilling

yes, although on double checking reproducibility i noticed that it actually seems to be restricted to subdomain gateway addresses, like /dns4/webui.ipfs.io.localhost/tcp/8080. /dns4/webui.ipfs.io.localhost/tcp/5001 and /dns4/localhost/tcp/8080 do not result in a blank page.

swedneck avatar Nov 07 '20 17:11 swedneck