-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
After aborting the api call to firebase functions using Abort Controller, firebase functions server stops working. All the requests do not get resolved and gets stuck on pending status after using abort() from Abort Controller. This issue is being seen from firebase tool version 11.10.0. Before that it works fine.
[REQUIRED] Environment info
firebase-tools: 11.18.0
Platform: Windows
[REQUIRED] Test case
if (abortController) abortController.abort();
abortController= new AbortController();
await axios.post(
{payload },
{ signal: abortController.signal,}
);
After this, any subsequent api call to the function will not be resolved.
[REQUIRED] Steps to reproduce
1. Call firebase function through post request
2. Abort that request using abort controller.
3. Send the same request again then firebase function request gets stuck.
[REQUIRED] Expected behavior
All the subsequent api call to firebase function should be resolved.
[REQUIRED] Actual behavior
Calls to firebase function remains pending forever.