ApiCallError - OSError("(104, 'ECONNRESET')")
See original GitHub issueHi, 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.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
OSError("(104, 'ECONNRESET')") What is causing this error?
I am developing an automated trading program. I am using python-binance and telepot. At first, after a certain amount of time, ...
Read more >Error: Connection aborted, 'ECONNRESET', 104 - Websocket
Q: Why I'm getting an error message with 'ECONNRESET'? For example in Python: ('Connection aborted.', OSError("(104, )",)).
Read more >Graph API | Error - Microsoft Q&A
OSError ("(104, 'ECONNRESET')")). I have 3 scripts running so I guess on avg 180 api calls/sec for create users (/users : POST).
Read more >Python 'ECONNRESET', ChunkedEncodingError and ...
Hi, I'm using the v2 streaming API like this: request = requests.get('?expansions=author_id&tweet.fields=context_annotations,created_at ...
Read more >'Connection aborted.', OSError("(104, 'ECONNRESET')"
We are getting zendesk data via api with zdesk. Recently we are getting this connection error frequently: 'Connection aborted.',...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Now that #247 is merged, future versions of the SDK will automatically retry upon IO errors.
Actually i got now the same exception after less than 24 hours from the last time, so maybe it’s more frequent than i tought