【发布时间】:2017-07-04 20:31:24
【问题描述】:
Parse 服务器托管在 Heroku 上,地址为 myapp.herokuapps.com。
Heroku 应用有一个自定义域 example.com。该域具有 CNAME 记录 myapp.herokuapps.com。
连接 Parse iOS SDK 适用于端点:
https://myapp.herokuapps.com/parse
http://myapp.herokuapps.com/parse
http://example.com/parse
但它不适合
https://example.com/parse
Xcode 控制台显示错误:
An SSL error has occurred and a secure connection to the server cannot be made. (Code: 100, Version: ...)
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9838)
为什么它不起作用?
【问题讨论】:
标签: ios heroku parse-server