Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11708] HTTPS connection fails if server has old SSL

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid, iOS
Labelsn/a
ReporterDavide Cassenti
AssigneeUnknown
Created2012-11-08T21:49:07.000+0000
Updated2018-02-28T20:04:06.000+0000

Description

When trying to connect to a server in https, the connection fails if the SSL on the server is old. Same code works with older SDK. This error message would be shown:
Unable to securely connect with the latest TLS. Trying again with TLS1.0. It is highly suggested that the server be updated to the latest TLS support.
{
  "source":{
    "cache":false,
    "autoEncodeUrl":false
  },
  "type":"error",
  "error":"Error Domain=ASIHTTPRequestErrorDomain Code=1 \
          "A connection failure occurred\
          " UserInfo=0x8e52c50 {NSUnderlyingError=0x8e57ef0 \
          "The operation couldn't be completed. (kCFErrorDomainCFNetwork error 303.)\
          ", NSLocalizedDescription=A connection failure occurred}"
}

Comments

No comments

JSON Source