[AC-426] iOS: Network - HTTPClient call to ACS binding not working
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Cannot Reproduce |
Resolution Date | 2015-11-21T18:44:10.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Manuel Conde Vendrell |
Assignee | Sharif AbuDarda |
Created | 2014-08-10T14:49:13.000+0000 |
Updated | 2015-11-21T18:44:10.000+0000 |
Description
I'm tryiing to use my binds for my services in ACS.
In Android is working well, but in iOS (emulator or device) any call I make to the bind, returns an xhr error "Unable to start HTTP connection".
I tried to set my *acs-service-baseurl-* to *http://...*, to *https://...* and simply to my url without protocol, but with http the error changes to code 404 *HTTP error*, and with https is the same error as with nothing (current error).
I debugged a bit the *InvokeService* but the error is simply that. This is the JSON error that appears when *InvokeService* calls xhr:
error: {"type":"error","source":{"cache":false},"code":6,"error":"Unable to start HTTP connection","success":false}
As I said, in Android works fine.
Any workaround will be welcome.
Hi, Can you provide us a simple test case for your problem, that will be really helpful to address the it. Regards, Shuo
Sorry Shuo, just right now traveling for a week. I can give an example in one week. Anyway, the example is very basic, just calling any of the bindings generated by Studio automatically will fail on iOS and not in android. It is strange but I read some jiras about similar behavior before.
Sorry for the delay. Here is the code:
Any of the above calls work on iOS, but works on Android.
There is no one with this problem? Only me?