-
Notifications
You must be signed in to change notification settings - Fork 39
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
Emulator UI does not show up on Windows w/ WSL2 #9
Comments
@b0ot thanks for filing this feedback and for doing your research. As you noticed this is the larger issue being discussed in firebase/firebase-tools-ui#332 ... the thing is we have not yet been able to identify a solution for everyone or identify a root cause. It seems that workaround work for some, but not others. I'm going to leave this open in case some other codelab user can point out a potential solution! But I personally don't have any advice for you beyond the various workarounds on the threads you linked. |
@samtstern Appreciate the feedback. Two pieces of additional information
1.)
2.) The main goals in using WSL2 was to
Would it be possible to meet these goals where one could get the codelab running in a docker solution? Eventually I'm interested converting my projects using firebase from WSL2 to another solution until the emulator suite / WSL2 integration is fixed. I thought Docker might be the next best option. |
This should be fixed with Firebase CLI v8.15.1. See firebase/firebase-tools-ui#332 (comment) for details. If you still see the issue, just kindly open a new issue in firebase-tools. |
…uid == ownerUID, so now 2 pass, 2 fail, 1 pending.
Note: As I was writing this I realized it probably is more of a Emulator UI issue. I created a new ticket there but am fairly new to this and not sure if I should close this or admin
New Ticket: firebase/firebase-tools-ui#377
Browser: Google Chrome (Also tested firefox/edge)
Browser version: Version 86.0.4240.75 (Official Build) (64-bit)
Operating system: Windows 10 Pro Version 2004
Running WSL2 with Ubuntu 20.04
uname -r : 4.19.128-microsoft-standard
Operating system version:
What steps will reproduce the problem:
What is the expected result?
I should be able to login web UI via localhost:4000
What happens instead of that?
The emulators seems to start ok
However I can't access the UI via any web browser
I get Error: ERR_CONNECTION_RESET
At first this seems very similar to:
firebase/firebase-tools-ui#332
However users in that thread were able to
1.) Access the UI using the linux host IP address in place of local host
2.) Had a successful work-around using: microsoft/WSL#5706 (comment)
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 both of the above workarounds do not work with my setup.
Additional Debug Logs
firebase-debug.log
firestore-debug.log
ui-debug.log
The text was updated successfully, but these errors were encountered: