pelenz
Contributor
Contributor

SEG EWS proxy

Hello all,

I am struggling with ENSv2 for on-prem Exchange 2013 and I am not sure what is the real problem. The EWS is not accessible directly so I enabled the EWS proxy in /opt/vmware/docker/seg/container/config/override/application-override.properties and configured the EWS and ENSv2 in Boxer assignement, but I still got the same error messages in logs:

iOS:

021-01-25T16:43:14Z  E [6193] [ENS] updateENSConfiguration: Error updating settings or credentials
Error:Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: conflict (409)" UserInfo={NSLocalizedDescription=Request failed: conflict (409), NSErrorFailingURLKey=https://ens-eu.getboxer.com/api/ens/registerdevicev2, com.alamofire.serialization.response.error.data={length = 101, bytes = 0x7b227265 73706f6e 7365436f 6465223a ... 22436c6f 7564227d }, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x281e37840> { URL: https://ens-eu.getboxer.com/api/ens/registerdevicev2 } { Status Code: 409, Headers {
    Connection =     (

        "keep-alive"
    );
    "Content-Length" =     (
        101
    );
    "Content-Type" =     (
        "application/json; charset=utf-8"
    );
    Date =     (

        "Mon, 25 Jan 2021 16:43:14 GMT"
    );
    Server =     (
       "Microsoft-IIS/10.0"
    );
    "X-Powered-By" =     (
        "ASP.NET"
    );
    "X-Request-ID" =     (
        "4d12ec70-7cd5-4029-8a5c-f76329f8547f"
    )
;} }

Android:

2021-01-25T15:39:49.850Z I [14211-AsyncTask #13                 ] - Fetching public key for account (id=1)
2021-01-25T15:39:49.856Z I [14211-AsyncTask #13                 ] - Ens Connection Header X-Request-ID value sent 19c19da1-XXXXX
2021-01-25T15:39:49.967Z I [14211-AsyncTask #13                 ] - Ens Connection Header X-Request-ID value received 19c19da1-XXXX
2021-01-25T15:39:49.981Z I [14211-AsyncTask #13                 ] - Public key successfully fetched for account(id=1)
2021-01-25T15:39:50.078Z I [14211-AsyncTask #13                 ] - Device log id: c23283f2-XXXXX
2021-01-25T15:39:50.087Z I [14211-AsyncTask #13                 ] - Ens Connection Header X-Request-ID value sent 33c51de0-XXXXX
2021-01-25T15:39:50.170Z I [14211-AsyncTask #13                 ] - Ens request failed with 409 code.
2021-01-25T15:39:50.171Z I [14211-AsyncTask #13                 ] - Ens Connection Header X-Request-ID value received 33c51de0-XXXX
2021-01-25T15:39:50.173Z E [14211-AsyncTask #13                 ] - ENS request 'registerdevicev2' failed ,need to resubscribe!

I am not sure if this is related to basic authN on the EWS side or If I should create a support ticket and provide them with CNS certificate, etc.

Could you help me, please?

Many thanks

Labels (1)
Tags (4)
0 Kudos
0 Replies