python-firebaseを使用して、クリック数やその他のイベント データをスタックに記録しています。正常に動作していますが、時々このスタック トレースがスローされます。
'ConnectionError(MaxRetryError("HTTPSConnectionPool(host=\'somebase.firebaseio.com\',
port=443): Max retries exceeded with url: /campaigns/79/clicked.json
(Caused by <class \'socket.error\'>: [Errno 104] Connection reset by peer)",),)'
これは通常、負荷のピーク時に発生しますが、開発者プランで利用可能な 50 の最大接続数を超えていないことがわかっています。
いくつかのより多くのデータ:
クリック数の更新は、Celery と gevent を使用してタスク キューで行われます。Geventが原因でしょうか?
アップデート:
別のエラー:
Task core.campaign.tasks.process_entry_click with id
932df1ff-62a4-4d24-b491-b9b4921a2372 raised exception:
"SSLError(SSLError(SSLError('The read operation timed out',),),)"