Thanks Andy, but IA autodiscover should be out of the picture here. We use it, it works fine.
From debug logs, it looks like gateway (pdpd) is sometimes sending an empty response to agents NACuserNpassAuth packet.
[12:05:44 12/7/2021]/request (CCC:1876) Reaquest:
(CCCclientRequest
:RequestHeader (
:id (4015)
:session_id (1be1df41e608ffa29c8af1e83ec6693f)
:type (NACuserNpassAuth)
:protocol_version (100)
)
:RequestData (
:username (user)
:password ([REDACTED])
:realm (default)
)
)
[12:05:44 12/7/2021]/-[Engine addOperationWithTarget:selector:object:] (Engine.mm:99) called with callback reauthenticate
[12:05:44 12/7/2021]/request (CCC:1923) Response:
(CCCserverResponse
:ResponseHeader (
:id (4015)
:type (NACuserNpassAuth)
:session_id (1be1df41e608ffa29c8af1e83ec6693f)
:return_code (600)
)
:ResponseData ()
)
This is how the response should look like:
[12:05:44 12/7/2021]/request (CCC:1923) Response:
(CCCserverResponse
:ResponseHeader (
:id (4014)
:type (NACuserNpassAuth)
:return_code (600)
:session_id (1be1df41e608ffa29c8af1e83ec6693f)
)
:ResponseData (
:reAuthenticationInterval (28800)
:nacAccountGroups ("ad_group_REDACTED1;ad_group_REDACTED2;All Users;ad_group_REDACTED3;ad_user_REDACTED_REDACTED")
:ReturnCode (0)
)
)