-
Notifications
You must be signed in to change notification settings - Fork 976
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to access Emulators UI [Current version: 8.15.1] #2793
Comments
Could you please try these debugging steps?
Please paste the output. And by the way, how are you accessing the Emulator UI? Are you accessing it on the Windows host on the same device where WSL2 is running? Either way, make sure you use |
1.
tom-linux@DESKTOP:~$ netstat -nl
|
Additional Information: I downgraded my Debian install to WSL1 and then started the emulator suite. I still got issues related to the ports being blocked. However, I'm still not able to access the Emulator UI within WSL 2 (Ubuntu)
|
I'm out of ideas here -- I see the emulators are correctly listening on |
It seems I have kinda the same problem here, updated from 8. something version (sorry, unable to find back the previous version I was in), to 9.12.1 on Ubuntu 20.10. The main page seems to be served correctly but then some javascript requests are replied with HTML:
|
[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
Emulators Code Lab
Bug 9
Note: I am posting here based on request from @yuchenshi comment to post follow up issues to firebase-tools
[REQUIRED] Test case
I followed the Emulators Code Lab 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
That leads to running a custom script here: #4150 (comment)
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
I then installed a completely new Debian distro for WSL2
I installed
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.
The text was updated successfully, but these errors were encountered: