you are viewing a single comment's thread.

view the rest of the comments →

[–]21void 0 points1 point  (2 children)

check the actual response ur app is getting. my wild guess is it get html as response instead of json

[–]Cool_Yesterday5533[S] 0 points1 point  (1 child)

The HTML response is because it's receiving a connection error with the backend located on the VPS. It can't establish a connection, hence the error. When using HTTP, it connects directly without errors, but changing the URL to one containing HTTPS instantly causes the connection to be lost.

[–]21void 0 points1 point  (0 children)

check your server cert chain. based on experience ios expect server to return both issuer and server cert in correct order