Hello there, I have an issue which could be related to the last iOS update. My xhr works perfectly over wifi but it fails over 3G. I searched this Q&A section and tried everything relevant:
enableKeepAlive:false,
xhr.setTimeout(0);
xhr.setTimeout(random.high.value);but nothing seems to work. What is even more perplexing is that my xhr works from time to time on different carriers.
Any help would be greatly appreciated. I would also advise anyone whose iOS apps are accessing data remotely through xhr to test that remote connection over 3G is still working as intended following the last iOS update.
Many thanks,
Dimitris
2 Answers
Following your comment Darren, I checked with all three major carriers in Greece. All devices under the same roof. All working perfectly both over wifi and 3G with the exception of Vodafone 3G. Does this even make sense? Any thoughts?
After trying every workaround to any problem remotely close to mine, the most simple thing seems to have done the job: switching from http to https. Of course the URL you are trying to call needs to support that but luckily google (which I am calling) does.
Did not manage to get a hold of Jon, thanks Darren for pointing me to the right direction though.
Your Answer
Think you can help? Login to answer this question!