Hi,
We have recently installed SMP 2.3 SP 04, and we are trying to test the installation. We also have a Relay server in place.
The architecture is as: Mobile device -> Relay Server -> SMP -> SAP
As part of the registration process, we get a 202 response but we are not getting 203 response. While the app is still in registering phase, it proceeds to sync data and eventually the app timeouts and leads to registration failed status (We could see the device registration in SCC portal).
Immediately after the 202 response, we get a 401 response.
2014-06-10 15:49:12.426 SMP101[3209:a0b] =================================================
2014-06-10 15:49:12.426 SMP101[3209:a0b] onHttpCommunicationError: errorCode = 401
2014-06-10 15:49:12.426 SMP101[3209:a0b] =================================================
Here is our connection profile:
SUPConnectionProperties* props = app.connectionProperties;
[props setServerName:SERVER_NAME]; <-- Relay server name
[props setPortNumber:MBS_SERVER_PORT]; <-- 443
[props setNetworkProtocol:NETWORK_PROTOCOL]; <-- https
[props setUrlSuffix:MBS_URL_SUFFIX];
[props setFarmId:MBS_FARM_ID];
[props setSecurityConfiguration:SECURITY_CONFIGURATION];
SUPLoginCredentials* login = [SUPLoginCredentialsgetInstance];
login.username = username
login.password = password
props.httpCredentials=login;
//props.activationCode = self.activationCode;
props.loginCredentials = login;
May you please advise what might be the problem here?