Thursday, 15 November 2018

Ionic API requests not completing - stays in pending status

I'm building an ionic app, with ionic 3 and angular 5.2. Everything has been working well for the longest time I can remember, until recently I noticed weird behavior.

Dev-tools network tab showing the request status

As from the image, the request stays in pending status forever.

The backend is done in PHP, and it's working fine in a different app as well as website without issues. The log for the above requests is as shown below.

Yii2 request and response status

I've checked this questions among other solutions, but none seems to resolve my issue.

I'm using ionic-cli 4.3.1 (tried with earlier versions too).



from Ionic API requests not completing - stays in pending status

No comments:

Post a Comment