ipfs-webui
ipfs-webui copied to clipboard
Status page doesn't refresh to display new multiaddresses
Describe the bug
I had originally opened https://github.com/ipfs/go-ipfs/issues/9043 since it seemed RelayClient took a while to get public multiaddresses. However, as I've just realised the public multiaddresses are probably found fairly early, but, the WebUI has to be refreshed to show the public multiaddresses that are found later on.
To Reproduce Steps to reproduce the behavior:
- Run
ipfs daemon(RelayClientenabled). - Look under Advanced and see local multiaddresses only.
- Wait until public multiaddresses have evidently been found (other peers can find you).
- Observe that the information under Advanced hasn't updated.
- Refresh the page and see the public multiaddresses show up under Advanced.
Expected behavior When new multiaddresses are detected, the Status page should refresh by itself, or just update the information under Advanced, to reflect the current status.
Desktop
- OS: Arch Linux
- Browser: Firefox v102.0.1
- Version: v2.15.1 (originally found: v2.15.0)
:+1: webui should periodically update addresses via /api/v0/id or /api/v0/swarm/addrs/listen call.