Quantcast
Channel: SCN : Discussion List - SAP for Mobile
Viewing all articles
Browse latest Browse all 5806

android afaria client enrollment fails in Afaria 6.6

$
0
0

Hi All,

 

I have installed an Afaria server( version: 6.60.5257.0), and related to a DMZ relay server, and started three outbound enablers successfully. But when I enter the enrollment code in the Afaria client in android device, it tell me enrollment fail.

 

when Afaria Client sent a enrollment request to server, we can see the log printed in both RelayServer log and Outbound Enabler log of Afaria server (for afariaips farm only). So we assume that the short address has been converted into long address, and then Afaria Client connected to Afaria server basing on the long address. But somehow the request still failed after reached server side. We cannot find any error in server log. All log items are “I” level. From Device side, it still says Enrollment failed. I'm stuck at here again. Can anyone give me some suggestions about this? Thanks a lot!

 

Detail Information

1.   Enrollment code and Long url

Enrollment code: td4oaumx

Long url: http://RELAYSERVER/ias_relay_server/client/rs_client.dll/afariaps/aips/aipService.svc/GetEnrollmentSeedData?ID={a05aff4e-531e-46b0-b2f0-6dfb62951d18}&ClientType=-10

 

2.   Outbound Enables:

test.png

3.   Logs

Outbound enabler log (afariaps farm)

packet:

GET /aips/aipService.svc/GetEnrollmentSeedData?ID=%7Ba05aff4e-531e-46b0-b2f0-6dfb62951d18%7D&ClientType=-10 HTTP/1.1..Connection: Keep-Alive..Host: RELAYSERVER..User-Agent: Afaria Android Client..

 

data:

GET /aips/aipService.svc/GetEnrollmentSeedData?ID=%7Ba05aff4e-531e-46b0-b2f0-6dfb62951d18%7D&ClientType=-10 HTTP/1.1..IAS-RS-AFQ: 18c1a6510008000000000000.ps..Connection: Keep-Alive..Host: RELAYSERVER..User-Agent: Afaria Android Client....


  1. I. 2013-03-19 03:50:11. <Main-0000> Liveness is due..
  2. I. 2013-03-19 03:50:11. <DnChannel-0000> TripLeft: 2097101392
  3. I. 2013-03-19 03:50:17. <UpChannel-0000> PacketRead packet-len: 224
  4. I. 2013-03-19 03:50:17. <UpChannel-0000> PacketRead packet-opcode: 0xf004
  5. I. 2013-03-19 03:50:17. <UpChannel-0000> packet read..
  6. I. 2013-03-19 03:50:17. <UpChannel-0000> successful packet read.. processing it..
  7. I. 2013-03-19 03:50:17. <UpChannel-0000> packet:
  8. I. 2013-03-19 03:50:17. <UpChannel-0000> 0000: E0 00 04 F0 00 00 00 00 08 00 51 A6 C1 18 08 00  ..........Q.....
  9. I. 2013-03-19 03:50:17. <UpChannel-0000> 0010: 00 00 01 47 45 54 20 2F 61 69 70 73 2F 61 69 70  ...GET /aips/aip
  10. I. 2013-03-19 03:50:17. <UpChannel-0000> 0020: 53 65 72 76 69 63 65 2E 73 76 63 2F 47 65 74 45 Service.svc/GetE
  11. I. 2013-03-19 03:50:17. <UpChannel-0000> 0030: 6E 72 6F 6C 6C 6D 65 6E 74 53 65 65 64 44 61 74 nrollmentSeedDat
  12. I. 2013-03-19 03:50:17. <UpChannel-0000> 0040: 61 3F 49 44 3D 25 37 42 61 30 35 61 66 66 34 65  a?ID=%7Ba05aff4e
  13. I. 2013-03-19 03:50:17. <UpChannel-0000> 0050: 2D 35 33 31 65 2D 34 36 62 30 2D 62 32 66 30 2D -531e-46b0-b2f0-
  14. I. 2013-03-19 03:50:17. <UpChannel-0000> 0060: 36 64 66 62 36 32 39 35 31 64 31 38 25 37 44 26 6dfb62951d18%7D&
  15. I. 2013-03-19 03:50:17. <UpChannel-0000> 0070: 43 6C 69 65 6E 74 54 79 70 65 3D 2D 31 30 20 48 ClientType=-10 H
  16. I. 2013-03-19 03:50:17. <UpChannel-0000> 0080: 54 54 50 2F 31 2E 31 0D 0A 43 6F 6E 6E 65 63 74 TTP/1.1..Connect
  17. I. 2013-03-19 03:50:17. <UpChannel-0000> 0090: 69 6F 6E 3A 20 4B 65 65 70 2D 41 6C 69 76 65 0D  ion: Keep-Alive.
  18. I. 2013-03-19 03:50:17. <UpChannel-0000> 00a0: 0A 48 6F 73 74 3A 20 73 75 70 71 61 64 6D 7A 31  .Host: RELAYS
  19. I. 2013-03-19 03:50:17. <UpChannel-0000> 00b0: 2E 73 79 62 61 73 65 2E 63 6F 6D 0D 0A 55 73 65 ERVER..Use
  20. I. 2013-03-19 03:50:17. <UpChannel-0000> 00c0: 72 2D 41 67 65 6E 74 3A 20 41 66 61 72 69 61 20  r-Agent: Afaria
  21. I. 2013-03-19 03:50:17. <UpChannel-0000> 00d0: 41 6E 64 72 6F 69 64 20 43 6C 69 65 6E 74 0D 0A  Android Client..
  22. I. 2013-03-19 03:50:17. <UpChannel-0000> 00e0: 0D 0A ..
  23. I. 2013-03-19 03:50:17. <UpChannel-0000> 226 RS_CLI_SESSION_BEGIN(snum=0008 sfp=18c1a651 ridx=0)
  24. I. 2013-03-19 03:50:17. <UpChannel-0000> Notifying worker thread
  25. I. 2013-03-19 03:50:17. <Backend-0000> Reusing sidx=0 for ridx=0
  26. I. 2013-03-19 03:50:17. <Backend-0000> Reusing socket data from pool
  27. I. 2013-03-19 03:50:17. <Backend-0000> Session was disconnected, connecting..
  28. I. 2013-03-19 03:50:17. <Backend-0000> Created socket 027c3f10, socketsCount: 1
  29. I. 2013-03-19 03:50:17. <Backend-0000> Pending send direct (sidx=0 size=248 socket=027c3f10)
  30. I. 2013-03-19 03:50:17. <Backend-0000> DoneSend: sidx=0 ridx=0 len=248 socket:027c3f10 sfp=18c1a651
  31. I. 2013-03-19 03:50:17. <Backend-0000>     data:
  32. I. 2013-03-19 03:50:17. <Backend-0000> 0000: 47 45 54 20 2F 61 69 70 73 2F 61 69 70 53 65 72  GET /aips/aipSer
  33. I. 2013-03-19 03:50:17. <Backend-0000> 0010: 76 69 63 65 2E 73 76 63 2F 47 65 74 45 6E 72 6F vice.svc/GetEnro
  34. I. 2013-03-19 03:50:17. <Backend-0000> 0020: 6C 6C 6D 65 6E 74 53 65 65 64 44 61 74 61 3F 49 llmentSeedData?I
  35. I. 2013-03-19 03:50:17. <Backend-0000> 0030: 44 3D 25 37 42 61 30 35 61 66 66 34 65 2D 35 33 D=%7Ba05aff4e-53
  36. I. 2013-03-19 03:50:17. <Backend-0000> 0040: 31 65 2D 34 36 62 30 2D 62 32 66 30 2D 36 64 66 1e-46b0-b2f0-6df
  37. I. 2013-03-19 03:50:17. <Backend-0000> 0050: 62 36 32 39 35 31 64 31 38 25 37 44 26 43 6C 69 b62951d18%7D&Cli
  38. I. 2013-03-19 03:50:17. <Backend-0000> 0060: 65 6E 74 54 79 70 65 3D 2D 31 30 20 48 54 54 50 entType=-10 HTTP
  39. I. 2013-03-19 03:50:17. <Backend-0000> 0070: 2F 31 2E 31 0D 0A 49 41 53 2D 52 53 2D 41 46 51 /1.1..IAS-RS-AFQ
  40. I. 2013-03-19 03:50:17. <Backend-0000> 0080: 3A 20 31 38 63 31 61 36 35 31 30 30 30 38 30 30  : 18c1a651000800
  41. I. 2013-03-19 03:50:17. <Backend-0000> 0090: 30 30 30 30 30 30 30 30 30 30 2E 70 73 0D 0A 43 0000000000.ps..C
  42. I. 2013-03-19 03:50:17. <Backend-0000> 00a0: 6F 6E 6E 65 63 74 69 6F 6E 3A 20 4B 65 65 70 2D onnection: Keep-
  43. I. 2013-03-19 03:50:17. <Backend-0000> 00b0: 41 6C 69 76 65 0D 0A 48 6F 73 74 3A 20 73 75 70 Alive..Host: RE
  44. I. 2013-03-19 03:50:17. <Backend-0000> 00c0: 71 61 64 6D 7A 31 2E 73 79 62 61 73 65 2E 63 6F LAYSERVE
  45. I. 2013-03-19 03:50:17. <Backend-0000> 00d0: 6D 0D 0A 55 73 65 72 2D 41 67 65 6E 74 3A 20 41 R..User-Agent: A
  46. I. 2013-03-19 03:50:17. <Backend-0000> 00e0: 66 61 72 69 61 20 41 6E 64 72 6F 69 64 20 43 6C  faria Android Cl
  47. I. 2013-03-19 03:50:17. <Backend-0000> 00f0: 69 65 6E 74 0D 0A 0D 0A ient....       
  48. I. 2013-03-19 03:50:17. <Backend-0000> DoneReceive: sidx=0 ridx=0 socket=027c3f10 sfp=18c1a651 len=32768 usage=0 (0%)
  49. I. 2013-03-19 03:50:17. <Backend-0000> DoneReceive: EOF for sidx=0 sfp=18c1a651
  50. I. 2013-03-19 03:50:17. <Backend-0000> HN: Signalling DnChannel at oidx: 0
  51. I. 2013-03-19 03:50:17. <Backend-0000> disconnectContextSocket: setting socketData to null
  52. I. 2013-03-19 03:50:17. <DnChannel-0000> OE_BACKEND_DISCONNECTED(oidx=0 ridx=0 sidx=0 snum=0008 sfp=18c1a651 rawSize=20)
  53. I. 2013-03-19 03:50:17. <Backend-0000> disconnectContextSocket: Soft closing socket from sidx=0 socket=027c3f10
  54. I. 2013-03-19 03:50:17. <DnChannel-0000> TripLeft: 2097101372
  55. I. 2013-03-19 03:50:17. <Backend-0000> DoneClose: sidx=0 socket=027c3f10
  56. I. 2013-03-19 03:50:17. <Backend-0000> SocketDeletion: sidx=0 socket=027c3f10 socketsCount=0
  57. I. 2013-03-19 03:50:17. <UpChannel-0000> PacketRead packet-len: 18
  58. I. 2013-03-19 03:50:17. <UpChannel-0000> PacketRead packet-opcode: 0xf00b
  59. I. 2013-03-19 03:50:17. <UpChannel-0000> packet read..
  60. I. 2013-03-19 03:50:17. <UpChannel-0000> successful packet read.. processing it..
  61. I. 2013-03-19 03:50:17. <UpChannel-0000> packet:
  62. I. 2013-03-19 03:50:17. <UpChannel-0000> 0000: 12 00 0B F0 FF FF FF FF FF FF 00 00 00 00 08 00  ................
  63. I. 2013-03-19 03:50:17. <UpChannel-0000> 0010: 51 A6 C1 18 Q...           
  64. I. 2013-03-19 03:50:17. <UpChannel-0000> 20 RS_CLI_DISCONNECT_BACKEND(oidx=65535 snum=0008 sfp=18c1a651 ridx=0 sidx=-1)
  65. I. 2013-03-19 03:50:17. <UpChannel-0000> Notifying worker thread
  66. I. 2013-03-19 03:50:17. <Backend-0000> LookupSession: ridx=0 snum=0008 sfp=18c1a651 from 3 sessions
  67. I. 2013-03-19 03:50:17. <Backend-0000>     Session[0] has ridx=0, snum=0008 sfp=18c1a651
  68. I. 2013-03-19 03:50:17. <Backend-0000>     Found match at session[0]
  69. I. 2013-03-19 03:50:17. <Backend-0000> HN: RS_CLI_DISCONNECT_BACKEND received, for sidx=-1
  70. I. 2013-03-19 03:50:29. <OEHost> starting garbage collection..
  71. I. 2013-03-19 03:50:29. <Backend-0000> Performing session GC for oeIdx: 0
  72. I. 2013-03-19 03:50:29. <Backend-0000> [0] DoSessionGC: Session[0] is still active 480 sec ago
  73. I. 2013-03-19 03:50:29. <Backend-0000> [0] DoSessionGC: Session[1] is in recycle bin
  74. I. 2013-03-19 03:50:29. <Backend-0000> [0] DoSessionGC: Session[2] is in recycle bin
  75. I. 2013-03-19 03:50:29. <Backend-0000> Done session GC for oeIdx: 0

 

Relay server log:

GET /aips/aipService.svc/GetEnrollmentSeedData?ID=%7Ba05aff4e-531e-46b0-b2f0-6dfb62951d18%7D&ClientType=-10 HTTP/1.1..Connection: Keep-Alive..Host: RELAYSERVER..User-Agent: Afaria Android Client....


  1. I. 2013-03-19 15:50:36. <5484.7124.-> After SHM_USE Attach: GetAttachCount: 2 GetRefCount: 1
  2. I. 2013-03-19 15:50:36. <5484.7124.-> Checking raw query string: ID=%7Ba05aff4e-531e-46b0-b2f0-6dfb62951d18%7D&ClientType=-10
  3. I. 2013-03-19 15:50:36. <5484.7124.-> Cannot find IAS-RS-AFQ parameter in query string
  4. I. 2013-03-19 15:50:36. <5484.7124.-> Starting a new session, sfp: 18c1a651
  5. I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> New request for new session from Afaria Android Client
  6. I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Relaying headers
  7. I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> <header> Connection: Keep-Alive
  8. I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> <header> Host: RELAYSERVER
  9. I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> <header> User-Agent: Afaria Android Client
  10. I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Relaying Content-Length body
  11. I. 2013-03-19 15:50:36. <5484.6592.F50B0Up> 226 bytes RS_CLI_SESSION_BEGIN(<F50B0S8R0>;sfp=18c1a651;appt=8;per=1;payload=207)

0000: 47 45 54 20 2F 61 69 70 73 2F 61 69 70 53 65 72  GET /aips/aipSer

    0010: 76 69 63 65 2E 73 76 63 2F 47 65 74 45 6E 72 6F  vice.svc/GetEnro

    0020: 6C 6C 6D 65 6E 74 53 65 65 64 44 61 74 61 3F 49  llmentSeedData?I

    0030: 44 3D 25 37 42 61 30 35 61 66 66 34 65 2D 35 33  D=%7Ba05aff4e-53

    0040: 31 65 2D 34 36 62 30 2D 62 32 66 30 2D 36 64 66  1e-46b0-b2f0-6df

    0050: 62 36 32 39 35 31 64 31 38 25 37 44 26 43 6C 69  b62951d18%7D&Cli

    0060: 65 6E 74 54 79 70 65 3D 2D 31 30 20 48 54 54 50  entType=-10 HTTP

    0070: 2F 31 2E 31 0D 0A 43 6F 6E 6E 65 63 74 69 6F 6E  /1.1..Connection

    0080: 3A 20 4B 65 65 70 2D 41 6C 69 76 65 0D 0A 48 6F  : Keep-Alive..Ho

    0090: 73 74 3A 20 73 75 70 71 61 64 6D 7A 31 2E 73 79  st: RELAYSERV

    00a0: 62 61 73 65 2E 63 6F 6D 0D 0A 55 73 65 72 2D 41  ER..User-A

    00b0: 67 65 6E 74 3A 20 41 66 61 72 69 61 20 41 6E 64  gent: Afaria And

    00c0: 72 6F 69 64 20 43 6C 69 65 6E 74 0D 0A 0D 0A     roid Client....

  1. I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Relaying server response
  2. I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Waiting for response packet
  3. I. 2013-03-19 15:50:36. <5484.6592.F50B0Up> Waiting for client request
  4. I. 2013-03-19 15:50:36. <5484.2180.F50B0Dn> Down packet offset 005f8614
  5. I. 2013-03-19 15:50:36. <5484.2180.F50B0Dn> 20 bytes OE_BACKEND_DISCONNECTED(<F50B0S8R0>;oidx=0;sidx=0;sfp=18c1a651)
  6. I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Received down packet
  7. W. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Server response NOT completed. Remaining 0 of 0 bytes.
  8. I. 2013-03-19 15:50:36. <5484.2180.F50B0Dn> Closed request index R0.
  9. I. 2013-03-19 15:50:36. <5484.2180.F50B0Dn> Waiting for server response
  10. I. 2013-03-19 15:50:36. <5484.2180.F50B0Dn> Trip left: 2097101372
  11. I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Peak local download queue size: 0
  12. I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Signal OE to disconnect non-persistent backend connection
  13. I. 2013-03-19 15:50:36. <5484.6592.F50B0Up> 20 bytes RS_CLI_DISCONNECT_BACKEND(<F50B0S8R0>;oidx=65535;sidx=-1;sfp=18c1a651)
  14. I. 2013-03-19 15:50:36. <5484.6592.F50B0Up> Waiting for client request
  15. I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Going to Close SHM_USE
  16. I. 2013-03-19 15:50:36. <5484.6580.F4fB0Dn> Down packet offset 005f8374
  17. I. 2013-03-19 15:50:36. <5484.6580.F4fB0Dn> 4 bytes OE_DNCHANNEL_NOOP()
  18. I. 2013-03-19 15:50:36. <5484.6580.F4fB0Dn> Waiting for server response
  19. I. 2013-03-19 15:50:36. <5484.6580.F4fB0Dn> Trip left: 2097100632
  20. I. 2013-03-19 15:50:40. <5484.5532.F6B0Up> Sending a liveness packet
  21. I. 2013-03-19 15:50:40. <5484.5532.F6B0Up> 4 bytes RS_UPCHANNEL_NOOP()
  22. I. 2013-03-19 15:50:40. <5484.5532.F6B0Up> Waiting for client request
  23. I. 2013-03-19 15:50:42. <5484.5524.F1eB0Up> Sending a liveness packet

 



Viewing all articles
Browse latest Browse all 5806

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>