firebase / firebase/firebase-tools

Unable to access Emulators UI [Current version: 8.15.1]

Open
#2,793 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.5k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
84

Description

### [REQUIRED] Environment info

**firebase-tools:**
8.15.1

**Platform:**
Windows 10 - Version: 20H2 (OS Build 19042.572)
WSL 2 - Ubuntu
WSL 2 - Debian
_Confirmed via wsl --list --verbose_

Reference:
Firebase Tools UI
[Bug 332](https://github.com/firebase/firebase-tools-ui/issues/332)
Emulators Code Lab
[Bug 9](https://github.com/firebase/emulators-codelab/issues/9)
Note: I am posting here based on request from @yuchenshi [comment](https://github.com/firebase/emulators-codelab/issues/9#issuecomment-722743052) to post follow up issues to firebase-tools

### [REQUIRED] Test case
I followed the [Emulators Code Lab](https://firebase.google.com/learn/codelabs/firebase-emulator#1) tutorial with a clean pull from git into a new folder. I follow the steps to get the Emulator UI running. There does not appear to be any obvious errors except that after starting the Emulators UI, I'm still unable to access any of the associated webpages e.g.
│ ✔ All emulators ready! View status and logs at http://127.0.0.1:4000
├───────────┼────────────────┼─────────────────────────────────┤
│ Functions │ 127.0.0.1:5001 │ http://127.0.0.1:4000/functions │
├───────────┼────────────────┼─────────────────────────────────┤
│ Firestore │ 127.0.0.1:8080 │ http://127.0.0.1:4000/firestore │
├───────────┼────────────────┼─────────────────────────────────┤

### [REQUIRED] Steps to reproduce

Follow the steps in the Emulator Code Lab. Try to access the UI in various browsers.

### [REQUIRED] Expected behavior

Should be able to see the Emulator UI

### [REQUIRED] Actual behavior

Unable to access

ADDITIONAL INFORMATION

- After initial failure to bring up UI, I tried again to have it work after running the networking Script here
That leads to running a custom script here: [#4150 (comment) ](https://github.com/microsoft/WSL/issues/4150#issuecomment-667621988)
After adding additional ports: 22,80,443,8080,10000,3000,4000,5000,5001,8081,8082,4200,3128,4400,4500

However, this also did not seem to work.

I restarted the computer and then verified the WSL install by re-running steps [described here](https://docs.microsoft.com/en-us/windows/wsl/install-win10)

I then installed a completely new Debian distro for WSL2
I installed
- curl, nvm, node lts, java, git then followed the Emulators Codelab again

I was still unable to access the Emulator UI

I tried multiple browsers (Chrome / Firefox) and multiple variations of 127.0.0.1 / localhost all without luck.

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.