You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Not meaningful timeout default values leading to hanging requests #901
Sometimes the Google Server do not respond (like described in #850 ). However, the default values to read timeout and connect timeout are "0" because they are default initialized with 0 in the FirebaseOptions. So these requests hang for infinite time.
Steps to reproduce:
Send a message via FCM and the SDK. If Google does not respond, there is not timeout.
Fix:
Provide meaningful default values like 20s. This is the default in the Google HTTP Client (com.google.api.client.http.HttpRequest#readTimeout).
Activity
google-oss-bot commentedon Jan 10, 2024
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.