We launched a React website powered by a GQL backend not long ago. And just recently from client side metrics collected, we observed that below error is occurring at a high rate during data fetching in the Firefox browser of version 84 and 85 (latest as of the time this question is posted).
NetworkError when attempting to fetch resource.
Inside the React application, an Apollo GraphQL client is used to fetch data. The whole ApolloError object reads like
{"graphQLErrors":[],"networkError":{},"message":"NetworkError when attempting to fetch resource."}
However this could not be reproduced when we ourselves tried on the mentioned browser versions.
I have confirmed that this should not be a CORS problem. We have a pretty large user base and a wide range of Firefox browser versions are used by them, but it's only version 84 and 85 that exhibit this exceptionally high occurrence rate. Not long ago, we fixed a similar issue which was caused by the incompatibility of older version browsers with the Fetch api.
We are a bit clueless regarding what could have caused the issue. The amount of logging at client side is limited to reveal more. Any insights or leads are highly appreciated.