firebase / firebase/firebase-tools-ui

UI Does not save User, outputs connection refused errors

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

Description

Hi,

The emulators UI keeps raising a bunch of 'connection refused' errors in the "auth" tab (only visible in the console). Sample:
```
WebSocket connection to 'ws://127.0.0.1:9150/requests' failed:
WebSocket connection to 'ws://127.0.0.1:9150/requests' failed:

Failed to load resource: net::ERR_CONNECTION_REFUSED
WebSocket connection to 'ws://127.0.0.1:9150/requests' failed:
GET http://127.0.0.1:4000/api/config net::ERR_CONNECTION_REFUSED
```

This prevents me from adding users through the UI - if I click "Add User", I can fill in the fields, but when I click "Save", nothing happens and no user is added. I assume this is because of all the errors surfaced on the console.

What is going on?

______

My `firebase --version` is `14.6.0`. I start the emulators with

`firebase emulators:start --config my/folder/firebase.json --project=test`

And the `firebase.json` contains the following:

```json
{
"emulators": {
"singleProjectMode": true,
"auth": {
"host": "0.0.0.0"
},
"ui": {
"enabled": true,
"host": "0.0.0.0"
},
"hub": {
"host": "0.0.0.0"
},
"logging": {
"host": "0.0.0.0"
},
"database": {
"host": "0.0.0.0"
},
"firestore": {
"host": "0.0.0.0"
}
}
```

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.