firebase-tools-ui icon indicating copy to clipboard operation
firebase-tools-ui copied to clipboard

Show error when Emulator UI cannot connect to the Storage Emulator

Open apeiniger opened this issue 3 years ago • 4 comments

I added the storage emulator to my project and started the emulators as always. When I access the emulator UI and click on the Storage tab I just get a white page and the following error shows up in the console:

image

I would appreciate any help with this and to see if this could be a bug.

apeiniger avatar May 25 '21 15:05 apeiniger

Sure! We'd love to look into this. Please dump the full logs in the Developer Tools (right-click > Save as... > Upload here in the comments). Also the firebase-debug.log and storage-debug.log generated from the firebase emulators:start run (in the directory where you started it) please.

yuchenshi avatar May 25 '21 17:05 yuchenshi

Happy to provide more details. Please find attached the firebase-debug.log and log export from Developer Tools. There is no storage-debug.log created in the directory.

firebase-debug.log

localhost-1621966127604.log

apeiniger avatar May 25 '21 18:05 apeiniger

I found the problem. I needed to add the new port 9199 to my ssh config for port forwarding. Maybe it would be possible to add some error messages to the UI in case it can't connect. Sorry for not seeing this earlier.

apeiniger avatar May 25 '21 20:05 apeiniger

Thanks for the update! Assigning @NothingEverHappens to triage.

yuchenshi avatar May 25 '21 21:05 yuchenshi