Connection aborted in google/oauth2 affecting firebase
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- authentication
Hướng nghiên cứu
Bắt đầu trong google/oauth2/_client.py tại _token_endpoint_request_no_throw và _perform_request, sử dụng đường dẫn lời gọi của firebase_admin/messaging.py trong traceback để hiểu lỗi. Tái hiện lỗi làm mới token và kiểm tra cách xử lý các lỗi có thể retry; công việc được xem là hoàn tất khi Connection aborted được bao phủ bởi hành vi retry và bài kiểm thử liên quan chạy thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Connection aborted didn't included in retryable list and any firebase API calls fails frequently.
Traceback (most recent call last):
File "/usr/src/app/notifications/services/notification_service/providers/mobile.py", line 94, in _send_notification
firebase.send(fb_message, app=firebase_app)
File "/usr/local/lib/python3.10/site-packages/firebase_admin/messaging.py", line 121, in send
return _get_messaging_service(app).send(message, dry_run)
File "/usr/local/lib/python3.10/site-packages/firebase_admin/messaging.py", line 411, in send
resp = self._client.body(
File "/usr/local/lib/python3.10/site-packages/firebase_admin/_http_client.py", line 131, in body
resp = self.request(method, url, **kwargs)
File "/usr/local/lib/python3.10/site-packages/firebase_admin/_http_client.py", line 118, in request
resp = self._session.request(method, self.base_url + url, **kwargs)
File "/usr/local/lib/python3.10/site-packages/google/auth/transport/requests.py", line 577, in request
self.credentials.refresh(auth_request)
File "/usr/local/lib/python3.10/site-packages/google/oauth2/service_account.py", line 445, in refresh
access_token, expiry, _ = _client.jwt_grant(
File "/usr/local/lib/python3.10/site-packages/google/oauth2/_client.py", line 308, in jwt_grant
response_data = _token_endpoint_request(
File "/usr/local/lib/python3.10/site-packages/google/oauth2/_client.py", line 268, in _token_endpoint_request
response_status_ok, response_data, retryable_error = _token_endpoint_request_no_throw(
File "/usr/local/lib/python3.10/site-packages/google/oauth2/_client.py", line 215, in _token_endpoint_request_no_throw
request_succeeded, response_data, retryable_error = _perform_request()
File "/usr/local/lib/python3.10/site-packages/google/oauth2/_client.py", line 191, in _perform_request
response = request(
File "/usr/local/lib/python3.10/site-packages/google/auth/transport/requests.py", line 192, in __call__
raise new_exc from caught_exc
google.auth.exceptions.TransportError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
- Ngôn ngữ chính
- Python
- Star
- 1.2k
- Fork
- 359
- Merge trung bình
- 3 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 3
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của firebase/firebase-admin-python
-
api: remoteconfig
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
firebase/firebase-admin-python#957 · 1 bình luận ·
-
api: database type: feature request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
firebase/firebase-admin-python#978 · 1 bình luận ·
-
[FR] Support VERIFY_AND_CHANGE_EMAIL in generate_email_action_link (parity with firebase-admin-node) Đang mởapi: auth
firebase/firebase-admin-python#949 · 2 bình luận · 1 reaction · 1 người được giao ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 43/100
firebase/firebase-admin-python#945 · 1 bình luận · 1 reaction ·
Tất cả issue của firebase/firebase-admin-python
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
canonical/paas-charm#368 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
tech debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
addition to tracking list Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
StevenBlack/hosts#3256 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
qualcomm/qai-appbuilder#275 ·