简体   繁体   English

加载应用程序时出现连接错误(使用Parse.com)

[英]Connection error when loading the app (using Parse.com)

I'm using Parse.com SDK. 我正在使用Parse.com SDK。 my internet connection is OK and reset the emulator not help. 我的互联网连接正常,并且重置模拟器没有帮助。 And for some reason, from yesterday i see this message every time the app load: 由于某种原因,从昨天开始,每次应用加载时,我都会看到此消息:

2014-11-25 10:00:32.275 myApp[6551:952636] Error: Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo=0x78f3b6f0 {NSErrorFailingURLStringKey=https://api.parse.com/2/client_events, _kCFStreamErrorCodeKey=57, NSErrorFailingURLKey=https://api.parse.com/2/client_events, NSLocalizedDescription=The network connection was lost., _kCFStreamErrorDomainKey=1, NSUnderlyingError=0x78f3ad40 "The network connection was lost."} (Code: 100, Version: 1.4.0)
2014-11-25 10:00:32.275 myApp[6551:952637] Attempt at runEventually command timed out. Waiting 600.000000 seconds. 5 retries remaining.

I suggest you to first subscribe parse status mail list from here . 我建议您首先从此处订阅解析状态邮件列表。

Check your api number. 检查您的api编号。

Reset simulator and close open xcode. 重置模拟器并关闭打开的xcode。

If you reset simulator, problem could be from api keys or parse. 如果您重置模拟器,则问题可能出在api键或解析上。

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

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