firebase / firebase/firebase-admin-node

Lost connection after exiting suspend mode.

未关闭
#2,906 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
api: database
主要语言
TypeScript
星标
1.7k
派生
419
平均合并
3 天 10 小时
30 天内合并 PR
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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。