I have a java servlet running in an app engine standard environment which is triggered periodically by a cron job. The servlet reads data from a firebase database. This servlet works fine for about a day, but then it appears that it becomes unable to connect to the firebase database. The only thing that seems to fix this is to re-deploy the servlet.
My app is very similar to the example at this link:
Has anyone else experienced this problem with firebase?
Thanks.