Error on http post

Hi,

we’ve some problems posting data to the server with android. I’m using angular http 4.4.3.

This is the error:

{“_body”:null,“status”:599,“ok”:false,“statusText”:“Ok”,“headers”:{},“type”:2,“url”:null}

Ionic info:

@ionic/cli-utils : 1.17.0
ionic (Ionic CLI) : 3.17.0

global packages:

cordova (Cordova CLI) : 7.0.1

local packages:

@ionic/app-scripts : 3.0.1
Cordova Platforms  : android 6.2.3
Ionic Framework    : ionic-angular 3.7.1

System:

Android SDK Tools : 25.2.5
Node              : v6.11.0
npm               : 3.10.10
OS                : Windows 10

That looks like an timeout error (https://httpstatuses.com/599).
Have you allready tried to post data manualy with a browser / browserplugin ?
(Make sure that it’s not the server which is responsible the error)

Thanks for your reply.
From the browser and ios devices, there are no problems with the same web services and server… Furthermore, I get the response with status 599 in less than a second…

Do you have already checked for the comon mistakes? as example CORS or the whiteliste in your config.xml?
Do requests to other sites work?

We’ve solved the problem. It is a problem with the ionic-native-http-connection-backend plugin that we use for the wkwebview and that does not work well for the android devices.

The plugin’s creator has found a temporary workaround: more details here.