简体   繁体   English

iOS上的IBM AppCenter 6.2.0 + SSL-连接到服务器时永久显示加载视图(无响应失败/成功/超时)

[英]IBM AppCenter 6.2.0 + SSL on iOS - shows loading view forever when connect to Server (no response fail/success/timeout))

I tried to connect IBM AppCenter 6.2.0.01.20141013-1735 on iOS 6/8.1 (enabled SSL) 我试图在iOS 6 / 8.1上连接IBM AppCenter 6.2.0.01.20141013-1735(已启用SSL)

After I clicked Login btn, app showed Loading view forever (no fail/success/timeout response). 单击“登录btn”后,应用程序显示“永远加载视图”(无失败/成功/超时响应)。

I checked device log: 我检查了设备日志:

IBMAppCenter[1385:29127] [Appcenter][CordovaPlugin][INFO]: Query login user name:admin server: https://example.net:9443/applicationcenter IBMAppCenter [1385:29127] [Appcenter] [CordovaPlugin] [INFO]:查询登录用户名:管理服务器: https ://example.net:9443 / applicationcenter

Then I disabled network, Application hided loading and showed "no network" message. 然后我禁用了网络,应用程序隐藏了加载并显示“无网络”消息。 I checked log again then saw this: 我再次检查了日志,然后看到了:

2015-03-31 10:07:13.191 IBMAppCenter[1385:29127] [Appcenter][CordovaPlugin][ERROR]: Query login admin on https://example.net:9443/applicationcenter/FAILED 2015-03-31 10:07:13.191 IBMAppCenter [1385:29127] [Appcenter] [CordovaPlugin] [ERROR]:在https://example.net:9443/applicationcenter/FAILED上查询登录管理员
2015-03-31 10:07:13.191 IBMAppCenter[1385:29127] [Appcenter][General][ERROR]: Error handler, http status: null "Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo=0x7c8c2830 {NSErrorFailingURLStringKey= https://example.net:9443/applicationcenter/service/auth , _kCFStreamErrorCodeKey=57, NSErrorFailingURLKey= https://example.net:9443/applicationcenter/service/auth , NSLocalizedDescription=The Internet connection appears to be offline., _kCFStreamErrorDomainKey=1, NSUnderlyingError=0x7c8c0890 "The Internet connection appears to be offline."}" 2015-03-31 10:07:13.191 IBMAppCenter [1385:29127] [Appcenter] [常规] [错误]:错误处理程序,http状态:null“错误域= NSURLErrorDomain代码= -1009” Internet连接似乎已脱机。“ UserInfo = 0x7c8c2830 {NSErrorFailingURLStringKey = https://example.net:9443/applicationcenter/service/auth,_kCFStreamErrorCodeKey = 57,NSErrorFailingURLKey = https://example.net:9443/applicationcenter/service/auth,NSLocalizedDescription = Internet连接似乎已脱机。,_ kCFStreamErrorDomainKey = 1,NSUnderlyingError = 0x7c8c0890“ Internet连接似乎已脱机。”}“
2015-03-31 10:07:13.192 IBMAppCenter[1385:29127] [Appcenter][General][ERROR]: Error handler, displayed message: "Connection failed. Check your connection details (The Internet connection appears to be offline.)." 2015-03-31 10:07:13.192 IBMAppCenter [1385:29127] [Appcenter] [常规] [错误]:错误处理程序,显示消息:“连接失败。检查您的连接详细信息(Internet连接似乎处于脱机状态。) ”。

maybe it was connecting to /service/auth... 也许它正在连接到/ service / auth ...

I tried on Android, it works fine. 我尝试在Android上运行正常。 Also tried with no-ssl, it works fine on both Android/iOS. 还尝试了no-ssl,它在Android / iOS上均可正常运行。

my SSL was verified by GoDaddy G2. 我的SSL已通过GoDaddy G2验证。

I am stuck over here and could not find any way out. 我被困在这里,找不到任何出路。

This may be related to the way you have installed the GoDaddy-issued certificate. 这可能与您安装GoDaddy颁发的证书的方式有关。

First, 第一,
Make sure it upholds to the required standards for using a certificate: IBM AppCenter 6.2.0 + SSL on iOS - shows loading view forever when connect to Server (no response fail/success/timeout)) 确保它符合使用证书的必需标准: iOS上的IBM AppCenter 6.2.0 + SSL-连接到服务器时永远显示加载视图(无响应失败/成功/超时)

Second, 第二,
Verify you have properly installed it. 确认您已正确安装它。 That is, make sure you did not install it via the Mobile Safari browser, as it won't be available to apps that way (see above link). 也就是说,请确保您没有通过Mobile Safari浏览器安装它,因为那样将无法将其用于应用程序(请参见上面的链接)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM