cancel
Showing results for 
Search instead for 
Did you mean: 

Retail Execution Mobile application 3.2 Sync failing

Former Member
0 Kudos

Hello,

I am setting up the SUP environment with the CRM Rex application.

Currently I am able to register my device with SUP but get an error on the device "invalid username and password or unable to synchronize device". After some research into this I found a similar issue with the same error with the Rex 3.1 application.

The solution to this was a note: note 1917226. I'm using Rex 3.2 so I followed the note but just installed 3.2 software instead of 3.1.

In the note it basically says upgrade SUP (patch SP04) and re-deploy the latest MBO and patch (SAPRetailEx32P_2-20012004.JAR).

After upgrading SUP 2.3 SP3 to SUP 2.3 SP4 I tried deploying the Rex patch but get the error: "Unknown error in server runtime: com.sybase.afx.compiler.AfxException: The 'SALES_ORG' attribute is undefined in 'JournalTemplate_ML_MBO'."

Is there a problem with the .JAR file or am I doing something wrong?

I can deploy the older MBO (SAPRetailExecution_MBO_3.2.0.jar) fine without any errors but get the above error when trying to deploy the patch.

Will the patch fix the sync issue I was experiencing?  "invalid username and password or unable to synchronize device"

My Logs:

My connection settings in SUP:

FarmID : <Relay server farm MBS>

Server name: <relay server name>

Server Port: 80

Synchronization Server Host: <relay server name>

Synchronization Server Port: 80

Synchronization Server Protocol: HTTP

Synchronization Server Stream Parameters: /ias_relay_server/client/rs_client.dll/<RBS Farm>

I think its my RBS connection causing the problem.

mocaLog.txt

____________________________________________________________________

ThreadID = 114823168 maps to short thread id T11

30T121655.015697, T11, MessagingClientLib: getConfigProperty called with propid:8 = <relay server>

30T121655.019695, T11, MessagingClientLib: getConfigProperty called with propid:11 =

30T121655.023619, T11, MessagingClientLib: getConfigProperty called with propid:12 = /ias_relay_server/client/rs_client.dll/<RBS>

30T121655.027854, T11, MessagingClientLib: getConfigProperty called with propid:9 = 80

30T121804.209108, T11, MessagingClientLib: getConfigProperty called with propid:2800 = 1

30T121804.211643, T11, MessagingClientLib: getConfigProperty called with propid:2801 = RSA

30T121828.135638, T8, HttpCommMgr: Connection failed, error: The request timed out., code = -1001, domain = NSURLErrorDomain

30T121828.139845, T8, HttpCommMgr: stopSendWithStatus: Connection failed

30T121828.146755, T8, HttpCommMgr: select returning error

30T121828.151331, T8, Disconnected S2D connection

30T121828.156179, T8, CmoObject::Execute: CancelRequest: Error: 516.  This is quite possibly a normal and expected occurrence.  Check the previous few lines in the log for more details.30T121828.160259, T8, App Log - Error: 516 Detail: Error sending request to server Native Error: -2 Source: moClient.cpp 1923..  This is quite possibly a normal and expected occurrence.  Check the previous few lines in the log for more details.30T121828.164232, T8, 516, -2 Connection lost.

30T121828.166449, T8, Disconnected S2D connection

30T121828.169573, T8, App Log - Status Event: Disconnected

30T121828.238633, T8, CmoConnectionConditions::IsLowStorage -- Storage from statfs was 4385107968 bytes -- translated to 536870911  -- f_bavail = 1070583   f_bsize = 0

30T121828.242038, T8, CmoConnectionConditions::IsLowStorage -- Storage from statfs was 4385107968 bytes -- translated to 536870911  -- f_bavail = 1070583   f_bsize = 0

30T121828.244468, T8, ProcessTillStopped:: About to wait for 0 seconds

30T121828.250037, T8, CmoConnectionConditions::IsLowStorage -- Storage from statfs was 4385107968 bytes -- translated to 536870911  -- f_bavail = 1070583   f_bsize = 0

30T121828.255723, T8, Connect URL: /ias_relay_server/client/rs_client.dll/<MBS farm>/

30T121828.260163, T8, Connected S2D connection

30T121828.264163, T8, CmoObject::Execute: MOInternalMO:Echo

30T121828.268214, T8, HttpCommMgr: sendRequest http://<relay server>:80/ias_relay_server/client/rs_client.dll/<MBS farm>/tm

30T121828.277793, T8, HttpCommMgr: Stream send successfully completed

30T121829.012449, T8, HttpCommMgr: Conn did receive response, response status = 200

30T121829.017252, T8, HttpCommMgr: stopSendWithStatus: Send completed

30T121829.023811, T8, HttpCommMgr: readResponse completed

30T121829.028202, T8, App Log - Status Event: Connected

30T121829.036436, T8, Connected.

30T121829.040914, T8, Successfully connected to server.

30T121829.043299, T8, CmoObject::Execute: :

30T121829.047016, T8, HttpCommMgr: sendRequest http://<relay server>:80/ias_relay_server/client/rs_client.dll/<MBS farm>/tm

30T121829.052818, T8, HttpCommMgr: Stream send successfully completed

____________________________________________________________________

Looking at the log the MBS farm seems to be connecting ok. When it comes to RBS I get errors. In the guide it says the RMB and MBS ports should be the port of the relay server which in my case is 80.

Kind Regards

Jared

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Sync problem solved:

1. Application Connection Templates

2. Application ID retailex > Properties

3. Security Settings > E2E Encryption Enabled > FALSE

Setting the E2E Encryption Enabled setting to FALSE sorted out my issue.

MBO PATCH UPDATE:

I am still not able to deploy the patch available on the marketplace. Even if I delete the current MBO and try deploying the patch. The patch may be faulty.

Answers (1)

Answers (1)

latha_b
Advisor
Advisor
0 Kudos

Hi  Jared,

you can first try to check without any Relay server directly you can make it work or not. Invalid user name password usually means that you are not able to reach your backend CRM system. Also note that you can deploy the latest MBO by deleting an existing package and deploy the new one.

Regards,

Latha