[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application
[ https://issues.apache.org/jira/browse/CB-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15887316#comment-15887316 ] Kilian Koller commented on CB-11906: Hi, yes, it's gone! > Ajax call fails on iOS 10 but works fine on previous versions for Cordova > application > - > > Key: CB-11906 > URL: https://issues.apache.org/jira/browse/CB-11906 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: ios10 >Reporter: Nikita Ahluwalia > Labels: ios10, ios10-known-issue > > I am using the latest iOS platform and plugins in my cordova application. The > app works fine on older versions of iOS but not on iOS 10. I am getting > timeout error (I already have timeout in my application. But this seems to be > even before establishing connection with web service). Tried removing > platform and adding again. Also created a fresh project. Still no luck. The > app works fine on Android as well. The same application pointing to > webservice on staging environment works (on iOS 10 too) but when pointing to > production APIs, it does not work on iOS 10 but works on older version. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application
[ https://issues.apache.org/jira/browse/CB-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15887180#comment-15887180 ] Shazron Abdullah commented on CB-11906: --- Can anyone confirm iOS 10.2 fixes this issue so this issue can be resolved? > Ajax call fails on iOS 10 but works fine on previous versions for Cordova > application > - > > Key: CB-11906 > URL: https://issues.apache.org/jira/browse/CB-11906 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: ios10 >Reporter: Nikita Ahluwalia > Labels: ios10, ios10-known-issue > > I am using the latest iOS platform and plugins in my cordova application. The > app works fine on older versions of iOS but not on iOS 10. I am getting > timeout error (I already have timeout in my application. But this seems to be > even before establishing connection with web service). Tried removing > platform and adding again. Also created a fresh project. Still no luck. The > app works fine on Android as well. The same application pointing to > webservice on staging environment works (on iOS 10 too) but when pointing to > production APIs, it does not work on iOS 10 but works on older version. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application
[ https://issues.apache.org/jira/browse/CB-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15747605#comment-15747605 ] Kilian Koller commented on CB-11906: I just tested on iOS 10.2, but the error remains. Can anyone else confirm, that the error is resolved with 10.2? > Ajax call fails on iOS 10 but works fine on previous versions for Cordova > application > - > > Key: CB-11906 > URL: https://issues.apache.org/jira/browse/CB-11906 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: ios10 >Reporter: Nikita Ahluwalia > Labels: ios10, ios10-known-issue > > I am using the latest iOS platform and plugins in my cordova application. The > app works fine on older versions of iOS but not on iOS 10. I am getting > timeout error (I already have timeout in my application. But this seems to be > even before establishing connection with web service). Tried removing > platform and adding again. Also created a fresh project. Still no luck. The > app works fine on Android as well. The same application pointing to > webservice on staging environment works (on iOS 10 too) but when pointing to > production APIs, it does not work on iOS 10 but works on older version. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application
[ https://issues.apache.org/jira/browse/CB-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15668683#comment-15668683 ] Eion Robb commented on CB-11906: This appears fixed in iOS 10.2 Beta 3 that came out yesterday > Ajax call fails on iOS 10 but works fine on previous versions for Cordova > application > - > > Key: CB-11906 > URL: https://issues.apache.org/jira/browse/CB-11906 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: ios10 >Reporter: Nikita Ahluwalia > Labels: ios10, ios10-known-issue > > I am using the latest iOS platform and plugins in my cordova application. The > app works fine on older versions of iOS but not on iOS 10. I am getting > timeout error (I already have timeout in my application. But this seems to be > even before establishing connection with web service). Tried removing > platform and adding again. Also created a fresh project. Still no luck. The > app works fine on Android as well. The same application pointing to > webservice on staging environment works (on iOS 10 too) but when pointing to > production APIs, it does not work on iOS 10 but works on older version. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application
[ https://issues.apache.org/jira/browse/CB-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15663904#comment-15663904 ] Doug Estey commented on CB-11906: - This is going to make a lot of people very happy once it lands. > Ajax call fails on iOS 10 but works fine on previous versions for Cordova > application > - > > Key: CB-11906 > URL: https://issues.apache.org/jira/browse/CB-11906 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: ios10 >Reporter: Nikita Ahluwalia > Labels: ios10, ios10-known-issue > > I am using the latest iOS platform and plugins in my cordova application. The > app works fine on older versions of iOS but not on iOS 10. I am getting > timeout error (I already have timeout in my application. But this seems to be > even before establishing connection with web service). Tried removing > platform and adding again. Also created a fresh project. Still no luck. The > app works fine on Android as well. The same application pointing to > webservice on staging environment works (on iOS 10 too) but when pointing to > production APIs, it does not work on iOS 10 but works on older version. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application
[ https://issues.apache.org/jira/browse/CB-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15663168#comment-15663168 ] Eion Robb commented on CB-11906: The radr for this is https://openradar.appspot.com/28810194 It was caused by https://bugs.webkit.org/show_bug.cgi?id=98156 and fixed by https://bugs.webkit.org/show_bug.cgi?id=163814 > Ajax call fails on iOS 10 but works fine on previous versions for Cordova > application > - > > Key: CB-11906 > URL: https://issues.apache.org/jira/browse/CB-11906 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: ios10 >Reporter: Nikita Ahluwalia > Labels: ios10, ios10-known-issue > > I am using the latest iOS platform and plugins in my cordova application. The > app works fine on older versions of iOS but not on iOS 10. I am getting > timeout error (I already have timeout in my application. But this seems to be > even before establishing connection with web service). Tried removing > platform and adding again. Also created a fresh project. Still no luck. The > app works fine on Android as well. The same application pointing to > webservice on staging environment works (on iOS 10 too) but when pointing to > production APIs, it does not work on iOS 10 but works on older version. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application
[ https://issues.apache.org/jira/browse/CB-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15651755#comment-15651755 ] Rikardt Louw commented on CB-11906: --- Hi Fernando Have you checked your whitelist config? Maybe try a wild card just to check if this is the issue. > Ajax call fails on iOS 10 but works fine on previous versions for Cordova > application > - > > Key: CB-11906 > URL: https://issues.apache.org/jira/browse/CB-11906 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: ios10 >Reporter: Nikita Ahluwalia > Labels: ios10, ios10-known-issue > > I am using the latest iOS platform and plugins in my cordova application. The > app works fine on older versions of iOS but not on iOS 10. I am getting > timeout error (I already have timeout in my application. But this seems to be > even before establishing connection with web service). Tried removing > platform and adding again. Also created a fresh project. Still no luck. The > app works fine on Android as well. The same application pointing to > webservice on staging environment works (on iOS 10 too) but when pointing to > production APIs, it does not work on iOS 10 but works on older version. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application
[ https://issues.apache.org/jira/browse/CB-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15651448#comment-15651448 ] Fernando commented on CB-11906: --- The problem is that my requests don't take more than a few seconds to respond but iOS keeps witing forever and gives me the request timeout > Ajax call fails on iOS 10 but works fine on previous versions for Cordova > application > - > > Key: CB-11906 > URL: https://issues.apache.org/jira/browse/CB-11906 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: ios10 >Reporter: Nikita Ahluwalia > Labels: ios10, ios10-known-issue > > I am using the latest iOS platform and plugins in my cordova application. The > app works fine on older versions of iOS but not on iOS 10. I am getting > timeout error (I already have timeout in my application. But this seems to be > even before establishing connection with web service). Tried removing > platform and adding again. Also created a fresh project. Still no luck. The > app works fine on Android as well. The same application pointing to > webservice on staging environment works (on iOS 10 too) but when pointing to > production APIs, it does not work on iOS 10 but works on older version. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application
[ https://issues.apache.org/jira/browse/CB-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15651035#comment-15651035 ] Doug Estey commented on CB-11906: - So far the only workarounds are: 1) Implement a timeout less than 60 seconds and handle the failures in your frontend client. 2) Re-architect your API to either: a) Confidently take less than 60 seconds to start transmitting a response (iOS 10 will not kill the connection mid-transfer once it has actually started receiving a payload.) b) Respond immediately with a token (this guy's idea: https://forums.developer.apple.com/thread/64526#193219). Then alter your frontend to poll the server with said token and wait for a response with the data you need. > Ajax call fails on iOS 10 but works fine on previous versions for Cordova > application > - > > Key: CB-11906 > URL: https://issues.apache.org/jira/browse/CB-11906 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: ios10 >Reporter: Nikita Ahluwalia > Labels: ios10, ios10-known-issue > > I am using the latest iOS platform and plugins in my cordova application. The > app works fine on older versions of iOS but not on iOS 10. I am getting > timeout error (I already have timeout in my application. But this seems to be > even before establishing connection with web service). Tried removing > platform and adding again. Also created a fresh project. Still no luck. The > app works fine on Android as well. The same application pointing to > webservice on staging environment works (on iOS 10 too) but when pointing to > production APIs, it does not work on iOS 10 but works on older version. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application
[ https://issues.apache.org/jira/browse/CB-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15650359#comment-15650359 ] Fernando commented on CB-11906: --- Same problem here. Any news? I'm in a deadline and I won't be able to get there because of this > Ajax call fails on iOS 10 but works fine on previous versions for Cordova > application > - > > Key: CB-11906 > URL: https://issues.apache.org/jira/browse/CB-11906 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: ios10 >Reporter: Nikita Ahluwalia > Labels: ios10, ios10-known-issue > > I am using the latest iOS platform and plugins in my cordova application. The > app works fine on older versions of iOS but not on iOS 10. I am getting > timeout error (I already have timeout in my application. But this seems to be > even before establishing connection with web service). Tried removing > platform and adding again. Also created a fresh project. Still no luck. The > app works fine on Android as well. The same application pointing to > webservice on staging environment works (on iOS 10 too) but when pointing to > production APIs, it does not work on iOS 10 but works on older version. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application
[ https://issues.apache.org/jira/browse/CB-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15591840#comment-15591840 ] Doug Estey commented on CB-11906: - Can also confirm this bug. Timeout values (jQuery/Angular/vanilla XHRs, makes no difference) are being completely ignored. This is a huge problem if Apple is considering it to be expected behaviour. Especially when a cache is being built on the fly, it can easily take a web service longer than 60 seconds to accept a connection from a mobile device. Surely it's a bug where it's not respecting timeout values? > Ajax call fails on iOS 10 but works fine on previous versions for Cordova > application > - > > Key: CB-11906 > URL: https://issues.apache.org/jira/browse/CB-11906 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: ios10 >Reporter: Nikita Ahluwalia > Labels: ios10, ios10-known-issue > > I am using the latest iOS platform and plugins in my cordova application. The > app works fine on older versions of iOS but not on iOS 10. I am getting > timeout error (I already have timeout in my application. But this seems to be > even before establishing connection with web service). Tried removing > platform and adding again. Also created a fresh project. Still no luck. The > app works fine on Android as well. The same application pointing to > webservice on staging environment works (on iOS 10 too) but when pointing to > production APIs, it does not work on iOS 10 but works on older version. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application
[ https://issues.apache.org/jira/browse/CB-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15588011#comment-15588011 ] David Riepenhausen commented on CB-11906: - Same issue with our cordova ionic App. Data synchronisation for offline usage takes morgen then 60 sec and we are running into a timeout. > Ajax call fails on iOS 10 but works fine on previous versions for Cordova > application > - > > Key: CB-11906 > URL: https://issues.apache.org/jira/browse/CB-11906 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: ios10 >Reporter: Nikita Ahluwalia > Labels: ios10, ios10-known-issue > > I am using the latest iOS platform and plugins in my cordova application. The > app works fine on older versions of iOS but not on iOS 10. I am getting > timeout error (I already have timeout in my application. But this seems to be > even before establishing connection with web service). Tried removing > platform and adding again. Also created a fresh project. Still no luck. The > app works fine on Android as well. The same application pointing to > webservice on staging environment works (on iOS 10 too) but when pointing to > production APIs, it does not work on iOS 10 but works on older version. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application
[ https://issues.apache.org/jira/browse/CB-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15534025#comment-15534025 ] Shazron Abdullah commented on CB-11906: --- Ouch. Looks like you have to partition this process into multiple calls - probably have to re-architect your API, but unfortunately we are handcuffed in this regard. > Ajax call fails on iOS 10 but works fine on previous versions for Cordova > application > - > > Key: CB-11906 > URL: https://issues.apache.org/jira/browse/CB-11906 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: ios10 >Reporter: Nikita Ahluwalia > Labels: ios10 > > I am using the latest iOS platform and plugins in my cordova application. The > app works fine on older versions of iOS but not on iOS 10. I am getting > timeout error (I already have timeout in my application. But this seems to be > even before establishing connection with web service). Tried removing > platform and adding again. Also created a fresh project. Still no luck. The > app works fine on Android as well. The same application pointing to > webservice on staging environment works (on iOS 10 too) but when pointing to > production APIs, it does not work on iOS 10 but works on older version. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application
[ https://issues.apache.org/jira/browse/CB-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15533858#comment-15533858 ] Rikardt Louw commented on CB-11906: --- I have been having the exact same issues. It seems that in IOS 10 the timeouts are now OS enforced to 1 Minute. Changing the timeout on the Ajax does not do anything. Unfortunately we have some long running Ajax calls that can easily run over a minute as these are full offline applications and its part of the data synchronisation process. > Ajax call fails on iOS 10 but works fine on previous versions for Cordova > application > - > > Key: CB-11906 > URL: https://issues.apache.org/jira/browse/CB-11906 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: ios10 >Reporter: Nikita Ahluwalia > Labels: ios10 > > I am using the latest iOS platform and plugins in my cordova application. The > app works fine on older versions of iOS but not on iOS 10. I am getting > timeout error (I already have timeout in my application. But this seems to be > even before establishing connection with web service). Tried removing > platform and adding again. Also created a fresh project. Still no luck. The > app works fine on Android as well. The same application pointing to > webservice on staging environment works (on iOS 10 too) but when pointing to > production APIs, it does not work on iOS 10 but works on older version. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application
[ https://issues.apache.org/jira/browse/CB-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15527143#comment-15527143 ] Nikita Ahluwalia commented on CB-11906: --- Already tried this. Still did not work. After few checks and remote debugging I noticed that if an Ajax request takes more than a minute, a "Failed to load resource. The request has timed out" error appears on safari console. And later my timeout is called. Any idea if there is any kind of change with iOS 10 that forces a request to get cancelled if it exceeds a minute? > Ajax call fails on iOS 10 but works fine on previous versions for Cordova > application > - > > Key: CB-11906 > URL: https://issues.apache.org/jira/browse/CB-11906 > Project: Apache Cordova > Issue Type: Bug > Environment: ios10 >Reporter: Nikita Ahluwalia > Labels: ios10 > > I am using the latest iOS platform and plugins in my cordova application. The > app works fine on older versions of iOS but not on iOS 10. I am getting > timeout error (I already have timeout in my application. But this seems to be > even before establishing connection with web service). Tried removing > platform and adding again. Also created a fresh project. Still no luck. The > app works fine on Android as well. The same application pointing to > webservice on staging environment works (on iOS 10 too) but when pointing to > production APIs, it does not work on iOS 10 but works on older version. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11906) Ajax call fails on iOS 10 but works fine on previous versions for Cordova application
[ https://issues.apache.org/jira/browse/CB-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15527084#comment-15527084 ] Trevor Brindle commented on CB-11906: - This sounds like a CSP/Content-Security-Policy or ATS issue. Something like this in your index.html might help you with CSP {{}} And you may have to disable Application transport security for iOS. There is a cordova plugin for this. Here is a good resource to read: [cordova-security-whitelists|https://taco.visualstudio.com/en-us/docs/cordova-security-whitlists/] Also, here is a great article about CSP and ATS [http://moduscreate.com/cordova-5-ios-9-security-policy-changes/] > Ajax call fails on iOS 10 but works fine on previous versions for Cordova > application > - > > Key: CB-11906 > URL: https://issues.apache.org/jira/browse/CB-11906 > Project: Apache Cordova > Issue Type: Bug > Environment: ios10 >Reporter: Nikita Ahluwalia > Labels: ios10 > > I am using the latest iOS platform and plugins in my cordova application. The > app works fine on older versions of iOS but not on iOS 10. I am getting > timeout error (I already have timeout in my application. But this seems to be > even before establishing connection with web service). Tried removing > platform and adding again. Also created a fresh project. Still no luck. The > app works fine on Android as well. The same application pointing to > webservice on staging environment works (on iOS 10 too) but when pointing to > production APIs, it does not work on iOS 10 but works on older version. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org