[TIMOB-9479] iOS: ASIHTTPRequest needs to be updated to v1.8.1-61 2011-09-19 urgently
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-06-15T16:58:43.000+0000 |
Affected Version/s | Release 2.1.0 |
Fix Version/s | Release 2.1.0, Sprint 2012-12 API, Release 2.0.3 |
Components | iOS |
Labels | SupportTeam, api, module_imageview, qe-testadded |
Reporter | kosso |
Assignee | Blain Hamon |
Created | 2012-06-11T07:03:47.000+0000 |
Updated | 2012-08-13T12:56:17.000+0000 |
Description
A couple of us have started to see a fatal error creep in to performing some secure HTTP requests.
See : http://developer.appcelerator.com/question/138147/createhttpclient---ssl-problem-on-some-api-call
The error message "A connection failure occurred: SSL problem (possibly a bad/expired/self-signed certificate, clock set to wrong date)" has also been mentioned in a recent commit to the ASIHTTPRequest tree :
See : https://github.com/pokeb/asi-http-request/pull/325
The version used by Titanium is : v1.8.1-8 2011-06-05
The latest version from ASI is : v1.8.1-61 2011-09-19 (as stated in the ASIHTTPRequest.m file)
Please, this needs to be updated uregntly. The bug appears to have crept in via a recent iOS update and can only get worse if not fixed urgently. Especially given the impending WWDC.
Just a note to confirm that the update to ASI just committed to master has fixed the error I was seeing in my app which connects to Google's OAuth2.0 APIs. Thanks everyone!
Mhhh... still not seems to work properly. I'm testing with the Google shortener API, the GET request goes through fine but the POST return an empty error message.
PR https://github.com/appcelerator/titanium_mobile/pull/2421 merged for 2_0_X
Verified fail case with 2.0.2GA, verified fixed with SDK 2.1.0.v20120619172256 on iOS 5.0.1 using the following (adapted form TIMOB-7470):
Verified on 2.0.3.v20120806151610 with the test code in the comment from Eric