HCL-TECH-SOFTWARE / domino-online-meeting-integration

Integration for HCL Notes with online meeting provider services. Documentation available at https://opensource.hcltechsw.com/domino-online-meeting-integration/
Apache License 2.0
24 stars 3 forks source link

Oauth token refresh problem with a proxy #165

Open rik-lv opened 1 year ago

rik-lv commented 1 year ago

Hello everyone, I have an issue with Notes client 12.0.2 (mail template 12.0.2) and online teams integration. We are using a proxy, set the env variables (https_proxy=....) but the refresh of the token seems to fail due to the proxy. If we remove it and then connect directly to the Internet, it works. We are in a process of changing our proxy, so we have tried two proxies (no authentication) and it fails with both. Did someone make it work with a proxy ? Thank you Extract of the console.log [0994:0002-1A54] LSXBE HTTP debug information type: HTTP Response header:
[0994:0002-1A54] request-id: 549b1e30-b717-498f-939b-2c7ed386f823 [0994:0002-1A54] LSXBE HTTP debug information type: HTTP Response header:
[0994:0002-1A54] client-request-id: 549b1e30-b717-498f-939b-2c7ed386f823 [0994:0002-1A54] LSXBE HTTP debug information type: HTTP Response header:
[0994:0002-1A54] x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"France Central","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"PA2PEPF0000EA8E"}} [0994:0002-1A54] LSXBE HTTP debug information type: HTTP Response header:
[0994:0002-1A54] WWW-Authenticate: Bearer realm="", authorization_uri="https://login.microsoftonline.com/common/oauth2/authorize", client_id="00000003-0000-0000-c000-000000000000" [0994:0002-1A54] LSXBE HTTP debug information type: HTTP Response header:
[0994:0002-1A54] Date: Mon, 05 Jun 2023 10:50:36 GMT [0994:0002-1A54] LSXBE HTTP debug information type: Generic Information:
[0994:0002-1A54] HTTP error before end of send, stop sending

rik-lv commented 1 year ago

[0994:0002-1A54] LSXBE HTTP debug information type: HTTP Response data:
[0994:0002-1A54] 104 [0994:0002-1A54] {"error":{"code":"InvalidAuthenticationToken","message":"Access token has expired or is not yet valid.","innerError":{"date":"2023-06-05T10:50:36","request-id":"549b1e30-b717-498f-939b-2c7ed386f823","client-request-id":"549b1e30-b717-498f-939b-2c7ed3 [0994:0002-1A54] LSXBE HTTP debug information type: Generic Information:
[0994:0002-1A54] TLSv1.2 (IN), TLS header, Supplemental data (23): [0994:0002-1A54] LSXBE HTTP debug information type: HTTP Response SSL data:
[0994:0002-1A54]