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....
- I. 2013-03-19 03:50:11. <Main-0000> Liveness is due..
- I. 2013-03-19 03:50:11. <DnChannel-0000> TripLeft: 2097101392
- I. 2013-03-19 03:50:17. <UpChannel-0000> PacketRead packet-len: 224
- I. 2013-03-19 03:50:17. <UpChannel-0000> PacketRead packet-opcode: 0xf004
- I. 2013-03-19 03:50:17. <UpChannel-0000> packet read..
- I. 2013-03-19 03:50:17. <UpChannel-0000> successful packet read.. processing it..
- I. 2013-03-19 03:50:17. <UpChannel-0000> packet:
- 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.....
- 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
- 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
- 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
- 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
- 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-
- 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&
- 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
- 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
- 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.
- 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
- 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
- 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
- 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..
- I. 2013-03-19 03:50:17. <UpChannel-0000> 00e0: 0D 0A ..
- I. 2013-03-19 03:50:17. <UpChannel-0000> 226 RS_CLI_SESSION_BEGIN(snum=0008 sfp=18c1a651 ridx=0)
- I. 2013-03-19 03:50:17. <UpChannel-0000> Notifying worker thread
- I. 2013-03-19 03:50:17. <Backend-0000> Reusing sidx=0 for ridx=0
- I. 2013-03-19 03:50:17. <Backend-0000> Reusing socket data from pool
- I. 2013-03-19 03:50:17. <Backend-0000> Session was disconnected, connecting..
- I. 2013-03-19 03:50:17. <Backend-0000> Created socket 027c3f10, socketsCount: 1
- I. 2013-03-19 03:50:17. <Backend-0000> Pending send direct (sidx=0 size=248 socket=027c3f10)
- I. 2013-03-19 03:50:17. <Backend-0000> DoneSend: sidx=0 ridx=0 len=248 socket:027c3f10 sfp=18c1a651
- I. 2013-03-19 03:50:17. <Backend-0000> data:
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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-
- 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
- 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
- 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
- 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
- I. 2013-03-19 03:50:17. <Backend-0000> 00f0: 69 65 6E 74 0D 0A 0D 0A ient....
- I. 2013-03-19 03:50:17. <Backend-0000> DoneReceive: sidx=0 ridx=0 socket=027c3f10 sfp=18c1a651 len=32768 usage=0 (0%)
- I. 2013-03-19 03:50:17. <Backend-0000> DoneReceive: EOF for sidx=0 sfp=18c1a651
- I. 2013-03-19 03:50:17. <Backend-0000> HN: Signalling DnChannel at oidx: 0
- I. 2013-03-19 03:50:17. <Backend-0000> disconnectContextSocket: setting socketData to null
- I. 2013-03-19 03:50:17. <DnChannel-0000> OE_BACKEND_DISCONNECTED(oidx=0 ridx=0 sidx=0 snum=0008 sfp=18c1a651 rawSize=20)
- I. 2013-03-19 03:50:17. <Backend-0000> disconnectContextSocket: Soft closing socket from sidx=0 socket=027c3f10
- I. 2013-03-19 03:50:17. <DnChannel-0000> TripLeft: 2097101372
- I. 2013-03-19 03:50:17. <Backend-0000> DoneClose: sidx=0 socket=027c3f10
- I. 2013-03-19 03:50:17. <Backend-0000> SocketDeletion: sidx=0 socket=027c3f10 socketsCount=0
- I. 2013-03-19 03:50:17. <UpChannel-0000> PacketRead packet-len: 18
- I. 2013-03-19 03:50:17. <UpChannel-0000> PacketRead packet-opcode: 0xf00b
- I. 2013-03-19 03:50:17. <UpChannel-0000> packet read..
- I. 2013-03-19 03:50:17. <UpChannel-0000> successful packet read.. processing it..
- I. 2013-03-19 03:50:17. <UpChannel-0000> packet:
- 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 ................
- I. 2013-03-19 03:50:17. <UpChannel-0000> 0010: 51 A6 C1 18 Q...
- I. 2013-03-19 03:50:17. <UpChannel-0000> 20 RS_CLI_DISCONNECT_BACKEND(oidx=65535 snum=0008 sfp=18c1a651 ridx=0 sidx=-1)
- I. 2013-03-19 03:50:17. <UpChannel-0000> Notifying worker thread
- I. 2013-03-19 03:50:17. <Backend-0000> LookupSession: ridx=0 snum=0008 sfp=18c1a651 from 3 sessions
- I. 2013-03-19 03:50:17. <Backend-0000> Session[0] has ridx=0, snum=0008 sfp=18c1a651
- I. 2013-03-19 03:50:17. <Backend-0000> Found match at session[0]
- I. 2013-03-19 03:50:17. <Backend-0000> HN: RS_CLI_DISCONNECT_BACKEND received, for sidx=-1
- I. 2013-03-19 03:50:29. <OEHost> starting garbage collection..
- I. 2013-03-19 03:50:29. <Backend-0000> Performing session GC for oeIdx: 0
- I. 2013-03-19 03:50:29. <Backend-0000> [0] DoSessionGC: Session[0] is still active 480 sec ago
- I. 2013-03-19 03:50:29. <Backend-0000> [0] DoSessionGC: Session[1] is in recycle bin
- I. 2013-03-19 03:50:29. <Backend-0000> [0] DoSessionGC: Session[2] is in recycle bin
- 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....
- I. 2013-03-19 15:50:36. <5484.7124.-> After SHM_USE Attach: GetAttachCount: 2 GetRefCount: 1
- I. 2013-03-19 15:50:36. <5484.7124.-> Checking raw query string: ID=%7Ba05aff4e-531e-46b0-b2f0-6dfb62951d18%7D&ClientType=-10
- I. 2013-03-19 15:50:36. <5484.7124.-> Cannot find IAS-RS-AFQ parameter in query string
- I. 2013-03-19 15:50:36. <5484.7124.-> Starting a new session, sfp: 18c1a651
- I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> New request for new session from Afaria Android Client
- I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Relaying headers
- I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> <header> Connection: Keep-Alive
- I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> <header> Host: RELAYSERVER
- I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> <header> User-Agent: Afaria Android Client
- I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Relaying Content-Length body
- 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.... - I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Relaying server response
- I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Waiting for response packet
- I. 2013-03-19 15:50:36. <5484.6592.F50B0Up> Waiting for client request
- I. 2013-03-19 15:50:36. <5484.2180.F50B0Dn> Down packet offset 005f8614
- I. 2013-03-19 15:50:36. <5484.2180.F50B0Dn> 20 bytes OE_BACKEND_DISCONNECTED(<F50B0S8R0>;oidx=0;sidx=0;sfp=18c1a651)
- I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Received down packet
- W. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Server response NOT completed. Remaining 0 of 0 bytes.
- I. 2013-03-19 15:50:36. <5484.2180.F50B0Dn> Closed request index R0.
- I. 2013-03-19 15:50:36. <5484.2180.F50B0Dn> Waiting for server response
- I. 2013-03-19 15:50:36. <5484.2180.F50B0Dn> Trip left: 2097101372
- I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Peak local download queue size: 0
- I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Signal OE to disconnect non-persistent backend connection
- I. 2013-03-19 15:50:36. <5484.6592.F50B0Up> 20 bytes RS_CLI_DISCONNECT_BACKEND(<F50B0S8R0>;oidx=65535;sidx=-1;sfp=18c1a651)
- I. 2013-03-19 15:50:36. <5484.6592.F50B0Up> Waiting for client request
- I. 2013-03-19 15:50:36. <5484.7124.F50B0S8R0> Going to Close SHM_USE
- I. 2013-03-19 15:50:36. <5484.6580.F4fB0Dn> Down packet offset 005f8374
- I. 2013-03-19 15:50:36. <5484.6580.F4fB0Dn> 4 bytes OE_DNCHANNEL_NOOP()
- I. 2013-03-19 15:50:36. <5484.6580.F4fB0Dn> Waiting for server response
- I. 2013-03-19 15:50:36. <5484.6580.F4fB0Dn> Trip left: 2097100632
- I. 2013-03-19 15:50:40. <5484.5532.F6B0Up> Sending a liveness packet
- I. 2013-03-19 15:50:40. <5484.5532.F6B0Up> 4 bytes RS_UPCHANNEL_NOOP()
- I. 2013-03-19 15:50:40. <5484.5532.F6B0Up> Waiting for client request
- I. 2013-03-19 15:50:42. <5484.5524.F1eB0Up> Sending a liveness packet
|