firebase / firebase-tools-ui

A local-first UI for Firebase Emulator Suite.
https://firebase.googleblog.com/2020/05/local-firebase-emulator-ui.html
Apache License 2.0
270 stars 62 forks source link

Show error when Emulator UI cannot connect to the Storage Emulator #573

Open apeiniger opened 3 years ago

apeiniger commented 3 years ago

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.

yuchenshi commented 3 years ago

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.

apeiniger commented 3 years ago

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 commented 3 years ago

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.

yuchenshi commented 3 years ago

Thanks for the update! Assigning @NothingEverHappens to triage.