cancel
Showing results for 
Search instead for 
Did you mean: 

HWC Error: Wrong User For Device when connecting to Relay Server

Former Member
0 Kudos

Hello experts,

I am trying to connect/activate my BB and Android Simulators to a relay server (Backend: SMP), but always receive an error in the HWC log: Wrong User For Device. The Application Connection status for the corresponding user remains "Pending Activation" and the HWC can not connect to the SMP.

Here are my configurations:

HWC Connection Properties(Android):

Servername: nts-eu-crmgw

Server Port: 80

Farm: nts-eu-crmsup.msg

User: AndRelay

Activation Code: <Code>

Protocol: HTTP

URL suffix: /ias_relay_server/client/rs_client.dll/%cid%/tm

Relay Server(nts-eu-crmgw)

  • IIS 7 on Windows Server 2008 x64
  • log files saying that connection to RSOE was established successfully
  • When trying to connect through HWC the following log entry will be inserted several times:
    • <3980.3948.F1B1S1R0> New request for new session from MobileOffice


SMP Server(nts-eu-crmsup)

  • RelayServer
    • Host: nts-eu-crmgw
    • HTTP Port: 80
    • URL suffix: /ias_relay_server/server/rs_server.dll
  • RSOE
    • MBS Farm: nts-eu-crmsup.msg
    • RBS Farm: nts-eu-crmsup.rep
    • Logs:
      • <UpChannel-0000> Successfully connected to relay server: nts-eu-crmgw:80

        <DnChannel-0000> Successfully connected to relay server: nts-eu-crmgw:80

  • Standard Ports 5001, 2480 are used
  • Version 2.1.3
  • Application Connection for User AndRelay:
    • Servername: nts-eu-crmgw
    • Port: 80
    • Farm ID:nts-eu-crmsup.msg
    • Applicaton ID: HWC
    • Security Config: Admin
    • Domain:
    • Activation code: <Code>

I would appreciate any hints leading to a resolution of this problem.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

rakshit_doshi
Active Contributor
0 Kudos

Hi,

Whether you are using Native or Hybrid Application, clear all the data from the simulator for the application.

Delete the user from the SCC Portal and then create the user once again and then use the same credential in the applicaiton.

It will start working again.

This happens because Android and BB simulators create device id randomly and they keep changing.

This is the reason why you are facing the problem since your user was already registered on the SCC with other device id though your simulator was the same but now since the device id changed the SCC tried to cross verify and threw the error.

Hope this helps,

Thanks,

Former Member
0 Kudos

Hey Rakshit,

thanks for your reply. Unfortunately, i have already tried this approach.

I created a completely new Android Emulator and a new SCC User and then tried to connect.

Connecting directly to the SMP works perfectly by the way.

I have also checked out the logs of the SMP (under SCC->Monitoring) when trying to connect over the Relay Server. There is no single entry in those logs showing any connection attempt from my Android device to the SMP.

Nevertheless, I will try your approach once again, hopefully this will work.

Regards,

Wladimir