Error: Network error randomly on IOS


#1

My app is running fine in production most of the time, but I am collecting all errors using Sentry (and raven-js)

I can see that this error often occurs - but have no error reports from my users, so it could be a bad connection (It can’t be a missing connection, then I would get no logging)

image

Looking at the errors I can see it is only on IOS I get the error.

The full sentry error looks like this

Any ideas of how I can trace this to the actual error?


#2

Hey,

I have the same setup and get the exact same error on iOS only. Did you manage to find a solution for this? :confused:


#3

Nope, but I have upgraded everything to latest version, and currently I am not getting the error. Sorry for not being of much help


#4

Thank you for replying! I know this is kinda old, but what exactly did you upgrade? Plugins, platforms, npm packages? Or Ionic itself? If you still have it then may I see what prints out when you type “ionic info” in the command prompt. Even better would be package.json :slight_smile:


#5

ionic info

Ionic:

ionic (Ionic CLI) : 4.5.0 (…\npm\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.1

Cordova:

cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.2, browser 5.0.4, ios 4.5.4
Cordova Plugins : cordova-plugin-ionic-webview 2.2.5, (and 32 other plugins)

System:

Android SDK Tools : 26.1.1 (D:\Documents\Android\Sdk)
NodeJS : v10.8.0 (C:\Program Files\nodejs\node.exe)
npm : 6.2.0
OS : Windows 10