-
Notifications
You must be signed in to change notification settings - Fork 342
Closed
Labels
Description
Hi,
I'm a script on an amazon EC2 with operating system Ubuntu Server 18.04 LTS (HVM).
Firebase SDK version: 2.14.0
Python version: 3.7
Firebase product: database
once in 12-48 hours while i try to use a noraml .get() command on different parts of my code i get the following exception:
ApiCallError
('Connection aborted.', OSError("(104, 'ECONNRESET')"))
event: File "/home/script.py", line 29, in script
database.reference('data').order_by_child('parameters/name').get()
File "/usr/local/lib/python3.7/site-packages/firebase_admin/db.py", line 612, in get
result = self._client.body('get', self._pathurl, params=self._querystr)
File "/usr/local/lib/python3.7/site-packages/firebase_admin/_http_client.py", line 93, in body
resp = self.request(method, url, **kwargs)
File "/usr/local/lib/python3.7/site-packages/firebase_admin/db.py", line 884, in request
raise ApiCallError(_Client.extract_error_message(error), error)
sometimes it happens with order_by_child get and sometimes on a normal get.