firebase / firebase/firebase-js-sdk

Realtime Database: lost websocket connection after change wifi network

Open
#7,670 0 comments 0 reactions 0 assignees View on GitHub
api: database needs-attention question stack:Angular
Dominant language
TypeScript
Stars
5.1k
Forks
1k
Avg merge
2d 21h
Merged PRs (30d)
37

Description

### Operating System

Ubuntu 20

### Browser Version

Chrome 116

### Firebase SDK Version

"@angular/fire": "^7.4.1",

### Firebase SDK Product:

Database

### Describe your project's tooling

Chrome extension manifest v3 built with angular 14

### Describe the problem

When I change WiFi networks, my connection to the Firebase panel is lost, despite it being recorded in the logs that events are being sent. Arrival events have stopped. I'm using forceWebSockets()

### Steps and code to reproduce issue

Start a realtime connection using web sockets, then switch wifi networks. In Ubuntu I noticed that the connection is not actually sending or receiving data.

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.