Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oauth token refresh problem with a proxy #165

Open
rik-lv opened this issue Jun 8, 2023 · 1 comment
Open

Oauth token refresh problem with a proxy #165

rik-lv opened this issue Jun 8, 2023 · 1 comment

Comments

@rik-lv
Copy link

rik-lv commented Jun 8, 2023

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
Copy link
Author

rik-lv commented Jun 8, 2023

[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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant