firebase / firebase/firebase-admin-node

Lost connection after exiting suspend mode.

オープン
#2,906 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
api: database
主要言語
TypeScript
スター
1.7k
フォーク
419
平均マージ
3日 10時間
マージ済み PR(30日)
16

説明

* Operating System version: Arch Linux
* Firebase SDK version: 13.22.0
* Firebase Product: database
* Node.js version: 22.11.0
* NPM version: 10.9.0

On my laptop, using pm2, the NodeJS application is running and constantly working, which periodically successfully accesses the real-time database using the firebase-admin module. However, when I put the computer into suspend mode and then turn it on again, and activate the function of accessing the database, it freezes. The console shows that the application is running, all functions are executed, except for the one that makes a request to the database. Without the content inside, it looks like this:

```
firebase.database().ref('data').once('value', (s) => {
console.log('output 1');
}, (error) => {
console.log('output 2');
});
```

Not 1 and not even 2 output to the console do not work.
At the same time, all requests to other data sources made using fetch work. After restarting the application, the database is accessed as expected.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Reproduce the suspend/resume case described for Arch Linux, pm2, Node.js 22.11.0, Firebase SDK 13.22.0, and the firebase-admin realtime database call at firebase.database().ref('data').once(...). Start by tracing the realtime database connection lifecycle across suspend and resume; done means the request completes or reports an error after resume without restarting the application.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
arch-linux, firebase, node.js
領域
database, operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。