Has anyone experienced an issue with iOS where the XHR request simply fails without notifying the initiator of the request?


The only feedback I get is the error message seen above that says "Error loading resources". My guess is that it has something to do with the way I handle xhr request. All my XHR requests are on a separate thread (web workers).
I don't think that the web worker fails to load because I'm already seeing the worker's console logs on the console.
NOTES:
- I am using Axios.
- The issue is intermittent.
This happens to google.com too when using the same device. I'm using a simulator, iphone 5s ios version 12.1



Even weirder is this, I got the response with 200 response code, somehow I'm not able to get the actual response data itself and the error happens.


I also posted this on stack overflow https://stackoverflow.com/questions/55375893/xhr-request-on-ios-fails-unexpectedly
Has anyone experienced an issue with iOS where the XHR request simply fails without notifying the initiator of the request?
The only feedback I get is the error message seen above that says "Error loading resources". My guess is that it has something to do with the way I handle xhr request. All my XHR requests are on a separate thread (web workers).
I don't think that the web worker fails to load because I'm already seeing the worker's console logs on the console.
NOTES:
This happens to google.com too when using the same device. I'm using a simulator, iphone 5s ios version 12.1
Even weirder is this, I got the response with 200 response code, somehow I'm not able to get the actual response data itself and the error happens.
I also posted this on stack overflow https://stackoverflow.com/questions/55375893/xhr-request-on-ios-fails-unexpectedly