firebase throw "Client is offline" error

When I read data from firebase realtime database, firebase will throw “Client is offline” error.
This situation in my computer is never been shown, only deployed on fly.io with this error thrown.
P.S. This is a discord.js app