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

Proxy support not supporting all Adobe URLs #30

Closed
swapdesai opened this issue Oct 27, 2021 · 3 comments
Closed

Proxy support not supporting all Adobe URLs #30

swapdesai opened this issue Oct 27, 2021 · 3 comments

Comments

@swapdesai
Copy link
Contributor

swapdesai commented Oct 27, 2021

Subject of the issue

Proxy support not supporting all Adobe URLs

Your environment

KAFKA Version: 2.8.0
AEP Connector tag release: v0.0.8

Steps to reproduce

Within a corporate environment where all HTTP(S) connections should go over a HTTP proxy host, the AEP connector does connect to only certain Adobe urls.

Expected behaviour

The connector must be able to establish a connection and communicate with all the Adobe urls.

Actual behaviour

AEP Connector does not connect to all Adobe urls within a proxy environment.

@swapdesai
Copy link
Contributor Author

Logs for reference
[2021-10-27 09:49:14,369] DEBUG **opening connection for: https://dcs.adobedc.net**/collection/batch/2b64745acab7b81d13a3feb16d85c0464447f1972dd0422f8aa31452568915b5 (com.adobe.platform.streaming.http.HttpConnection:85) [2021-10-27 09:49:14,369] DEBUG proxyHost: proxyHost, proxyPort: 8989 (com.adobe.platform.streaming.http.HttpConnection:101) [2021-10-27 09:49:14,588] DEBUG refreshing expired jwtToken: aa5ca090fb5b42a6b8d5b1adaf3fa308 (com.adobe.platform.streaming.auth.impl.JWTTokenProvider:84) [2021-10-27 09:49:14,861] INFO in init: https://ims-na1.adobelogin.com (com.adobe.platform.streaming.http.HttpProducer:48) [2021-10-27 09:49:14,862] DEBUG **opening connection for: https://ims-na1.adobelogin.com**/ims/exchange/jwt/ (com.adobe.platform.streaming.http.HttpConnection:85) [2021-10-27 09:49:14,862] DEBUG **outside isBasicProxyConfigured** (com.adobe.platform.streaming.http.HttpConnection:105) [2021-10-27 09:49:14,862] DEBUG conn: sun.net.www.protocol.https.DelegateHttpsURLConnection:https://clicktime.symantec.com/3WaiozYo7jJdsARou2fyRPb7Vc?u=https%3A%2F%2Fims-na1.adobelogin.com%2Fims%2Fexchange%2Fjwt%2F (com.adobe.platform.streaming.http.HttpConnection:109)

@swapdesai
Copy link
Contributor Author

The connector does use the proxy configuration when establishing a connection to the endpoint https://dcs.adobedc.net but does not for the endpoint https://ims-na1.adobelogin.com

@vivetiwa
Copy link
Collaborator

vivetiwa commented Dec 1, 2021

Fix done as part of PR #31

@vivetiwa vivetiwa closed this as completed Dec 1, 2021
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

2 participants