firebase / firebase/firebase-tools-ui

Firestore emulator UI - loading collection state does not complete when emulator is run in container

Open
#900 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
291
Forks
74
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
The Firestore emulator UI is in perpetual "Loading Collection" state. This is from initial pristine state (i.e. this occurs on emulator start - no additional action needed.). I am running the emulator in a Docker container and have forwarded all the ports used by emulated features (firestore - 8080, ui - 4000, and 4500 and 4400 for good measure)

**To Reproduce**
Steps to reproduce the behavior:

1. Setup a docker container using debian image
2. Install firebase
3. Initialize the project and emulator features
4. Modify the firebase.json to add host property i.e. host: '0.0.0.0'
5. Run emulator: firebase --project emulators:start
6. Goto http://0.0.0.0/4000

**Expected behavior**
Expect to see Firestore emulated UI show no collections, and provide UI widgets to create collection and documents. Instead the 'Loading Collection' spinner is shown and it does not complete.

**Screenshots**
See
[firebase-debug.log](https://github.com/firebase/firebase-tools-ui/files/10334680/firebase-debug.log)
version-9 23 3
loading-collections-spinner

**Desktop (please complete the following information):**

- OS: MacOS, Docker (debian image)
- Browser chrome
- Version 108.0.5359.124 (Official Build) (x86_64)

**Additional context**

Thanks in advance. I want to transition the project to local emulated development workflow and being able to access the Firestore UI locally is key.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.