firebase-tools-ui icon indicating copy to clipboard operation
firebase-tools-ui copied to clipboard

UI Does not save User, outputs connection refused errors

Open antspy opened this issue 6 months ago • 0 comments

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:

{
  "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"
    }
}

antspy avatar Jun 11 '25 09:06 antspy