L
L
Leonid2019-01-14 13:39:09
JavaScript
Leonid, 2019-01-14 13:39:09

PhoneGap application under Anrdoid stopped sending Ajax requests - what could be the reason?

Quite recently, the PhoneGap application under Anrdoid stopped working, the interface of which was built on the basis of: Framework7 (version 1.4.2 ). The same application for iOS works flawlessly.

Naturally, the first thing I did was debugging according to the instructions: docs.phonegap.com/references/developer-app/debugging

Debugging did not give me anything in terms of any JavaScript errors:
Ij-U8FGiTresQiH1okX7fQ.png
However, it became clear that the application cannot send Ajax requests :
lt741ViGStSML32zLDI5xw.png
or rather, they seem to hang in the status: Pending

On the server where requests fly, I set a trap: requests do not reach there ...

What should I do? Where to dig? With what it can be connected? What to pay attention to?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Leonid, 2019-01-16
@easycode

The reason turned out to be banal - the root certificate for SSL on the server is incorrectly installed.
It was time for the update and after reinstalling everything worked.
ps: by the way, the application worked via HTTP, but not via HTTPS...

A
Arthur Mustafin, 2019-01-15
@virtual_hack2root

Do you have https or http? over http servers simply may not process GET requests, but in phoneGap, the http protocol is probably used by default.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question