on 11-07-2012 2:08 PM
Hello,
I am facing the following problem, my compiled OS app based on SUP 2.1.3 is running fine on the iOS simulator but when i try to run it on a physical device then it doesn't run and in the debug console i get the following output:
2012-11-07 14:51:03.002 Speiseplan[1471:707] Running the app for the first time.
2012-11-07 14:51:03.005 Speiseplan[1471:707] Delete preexisting messaging vault
2012-11-07 14:51:03.169 Speiseplan[1471:707] Delete preexisting SUP101 data vault
2012-11-07 14:51:03.317 Speiseplan[1471:707] Create new SUP101 data vault and store credentials and a generated encryption key
2012-11-07 14:51:03.481 Speiseplan[1471:707] Create new messaging vault and leave it unlocked
2012-11-07 14:51:05.392 Speiseplan[1471:707] ================================================
2012-11-07 14:51:05.394 Speiseplan[1471:707] onApplicationSettingsChanged: names = [ServerName - 172.23.34.123]
2012-11-07 14:51:05.395 Speiseplan[1471:707] ================================================
2012-11-07 14:51:05.447 Speiseplan[1471:707] ================================================
2012-11-07 14:51:05.449 Speiseplan[1471:707] onApplicationSettingsChanged: names = [ServerPort - 5001]
2012-11-07 14:51:05.451 Speiseplan[1471:707] ================================================
2012-11-07 14:51:05.505 Speiseplan[1471:707] ================================================
2012-11-07 14:51:05.507 Speiseplan[1471:707] onApplicationSettingsChanged: names = [URLPrefix - ]
2012-11-07 14:51:05.509 Speiseplan[1471:707] ================================================
2012-11-07 14:51:05.561 Speiseplan[1471:707] ================================================
2012-11-07 14:51:05.562 Speiseplan[1471:707] onApplicationSettingsChanged: names = [FarmID - 0]
2012-11-07 14:51:05.564 Speiseplan[1471:707] ================================================
2012-11-07 14:51:05.613 Speiseplan[1471:707] ================================================
2012-11-07 14:51:05.614 Speiseplan[1471:707] onApplicationSettingsChanged: names = [Username - supAdmin]
2012-11-07 14:51:05.616 Speiseplan[1471:707] ================================================
2012-11-07 14:51:05.890 Speiseplan[1471:707] Got the encryption key: d35dc3e7be40efdd79e3af05035e02e37e8017b0050840b9e83044f3903d13defde3de45f02ec013d0fce7be85079103
2012-11-07 14:51:05.902 Speiseplan[1471:707] =================================================
2012-11-07 14:51:05.904 Speiseplan[1471:707] onConnectionStatusChanged: status = 202, code = 0, message = (null)
2012-11-07 14:51:05.906 Speiseplan[1471:707] =================================================
2012-11-07 14:51:05.958 Speiseplan[1471:707] ================================================
2012-11-07 14:51:05.960 Speiseplan[1471:707] onApplicationSettingsChanged: names = [Default - ]
2012-11-07 14:51:05.962 Speiseplan[1471:707] ================================================
2012-11-07 14:51:06.018 Speiseplan[1471:707] ================================================
2012-11-07 14:51:06.019 Speiseplan[1471:707] onApplicationSettingsChanged: names = [Default - 0]
2012-11-07 14:51:06.021 Speiseplan[1471:707] ================================================
2012-11-07 14:51:06.062 Speiseplan[1471:707] ================================================
2012-11-07 14:51:06.065 Speiseplan[1471:707] onApplicationSettingsChanged: names = [ActivationCode - ]
2012-11-07 14:51:06.067 Speiseplan[1471:707] ================================================
2012-11-07 14:51:06.409 Speiseplan[1471:707] =================================================
2012-11-07 14:51:06.410 Speiseplan[1471:707] onHttpCommunicationError: errorCode = 500
2012-11-07 14:51:06.412 Speiseplan[1471:707] =================================================
2012-11-07 14:51:06.576 Speiseplan[1471:707] =================================================
2012-11-07 14:51:06.577 Speiseplan[1471:707] onHttpCommunicationError: errorCode = 500
2012-11-07 14:51:06.578 Speiseplan[1471:707] =================================================
2012-11-07 14:51:06.836 Speiseplan[1471:707] =================================================
2012-11-07 14:51:06.837 Speiseplan[1471:707] onHttpCommunicationError: errorCode = 500
2012-11-07 14:51:06.837 Speiseplan[1471:707] =================================================
2012-11-07 14:51:06.963 Speiseplan[1471:707] [ERROR] [SUPApplication.m:959] error @ registerApplication MessagingClientException {
ErrorCode = 552;
ErrorMessage = "";
}
2012-11-07 14:51:06.965 Speiseplan[1471:707] =================================================
2012-11-07 14:51:06.967 Speiseplan[1471:707] onConnectionStatusChanged: status = 201, code = 14811, message = code = 552: message = MCLERR_UNKNOWN_ERROR
All the app settings are the same like on the simulator but still doesn't run.
I could not find any information about this, do you have any piece of information on how to solve the problem?
Thanks!
I can add that with manual registration the error in the log looks a little bit different:
2012-11-08 09:00:23.821 Speiseplan[1645:4403] =================================================
2012-11-08 09:00:23.831 Speiseplan[1645:4403] =================================================
2012-11-08 09:00:23.838 Speiseplan[1645:4403] onConnectionStatusChanged: status = 102, code = 0, message =
2012-11-08 09:00:23.840 Speiseplan[1645:4403] =================================================
2012-11-08 09:00:23.841 Speiseplan[1645:4403] =================================================
2012-11-08 09:00:23.842 Speiseplan[1645:4403] onConnectionStatusChanged: status = 102, code = 0, message =
2012-11-08 09:00:23.843 Speiseplan[1645:4403] =================================================
2012-11-08 09:00:33.137 Speiseplan[1645:4403] =================================================
2012-11-08 09:00:33.139 Speiseplan[1645:4403] onHttpCommunicationError: errorCode = 500
2012-11-08 09:00:33.141 Speiseplan[1645:4403] =================================================
2012-11-08 09:00:33.209 Speiseplan[1645:4403] =================================================
2012-11-08 09:00:33.212 Speiseplan[1645:4403] onHttpCommunicationError: errorCode = 500
2012-11-08 09:00:33.213 Speiseplan[1645:4403] =================================================
2012-11-08 09:00:33.280 Speiseplan[1645:4403] =================================================
2012-11-08 09:00:33.281 Speiseplan[1645:4403] onHttpCommunicationError: errorCode = 500
2012-11-08 09:00:33.282 Speiseplan[1645:4403] =================================================
2012-11-08 09:00:33.297 Speiseplan[1645:4403] =================================================
2012-11-08 09:00:33.299 Speiseplan[1645:4403] onConnectionStatusChanged: status = 105, code = 552, message = Error: 552 Detail: Session failed Source: /Users/iotabuilder/svn/Pioneer/MOClients/iPhone/../Common/C/moClient.cpp 1024.
2012-11-08 09:00:33.301 Speiseplan[1645:4403] =================================================
2012-11-08 09:00:33.302 Speiseplan[1645:4403] =================================================
2012-11-08 09:00:33.304 Speiseplan[1645:4403] onConnectionStatusChanged: status = 105, code = 552, message = Error: 552 Detail: Session failed Source: /Users/iotabuilder/svn/Pioneer/MOClients/iPhone/../Common/C/moClient.cpp 1024.
2012-11-08 09:00:33.305 Speiseplan[1645:4403] =================================================
2012-11-08 09:00:33.314 Speiseplan[1645:4403] =================================================
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
the url 172.23.34.123 is not reachable.
Are you in 3G or WiFi?
On WiFi, have you a proxy exclusion?
On 3G, is ip reachable form outside?
Regards,
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The ip is not the true server ip. The code for connecting is the same as for the SUP101 tutorial, and the code works perfectly on the simulator so i think it is not a code problem.
I have tried auto-register and manual connection and both doesn't work on the physical device(both work fine on simulator).
I am already out of ideas about what the problem can be.
Yes, the package domain is set in the code like that:
SUPConnectionProfile *cp = [spSpDB getConnectionProfile];
[cp.syncProfile setDomainName:@"default"];
In the SCC the package domain is also set to default.
I think that it should not be a network problem since the mobile devices can ping the server without any problems and the HWC is working without problems.
Hello Marcin,
This happened to me when i was not able to reach the server, because an internet connection problem.
Is your device connected to the Internet, and CAN reach the server? try to open the SCC from your device.
Regards,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.