Skip to content

UI Does not save User, outputs connection refused errors #1091

@antspy

Description

@antspy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions