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

The Choreo Auth endpoint for Choreo analytics does not connect to the endpoint after the 1st failure. #2315

Open
janithcmw opened this issue Dec 9, 2023 · 0 comments

Comments

@janithcmw
Copy link

Description

Hi All,

When the Choreo Auth endpoint is configured via a proxy and if the 1st call is failed the subsequent tryouts will not be routed through the proxy server.

Best Regards,
Janith.

Steps to Reproduce

  1. Configure the Choreo Auth endpoint to use a proxy service.
  2. Update the 'config_endpoint' to an endpoint which is responsive but not the 'analytics-event-auth.choreo.dev' as 'www.google.com'
  3. Open a listening port(nc -l ) which is configured as the proxy port.
  4. Observe the 1st connection attempt to the listing port and this will be failed because the listening port will not behave as a proxy server.
nc -l 9191
CONNECT www.google.com:443 HTTP/1.1
Host: www.google.com:443
Proxy-Connection: Keep-Alive
User-Agent: okhttp/4.2.0

(the 1st request will be trapped as above, once this is observed terminate the 'nc' command and execute the same command to open the port again)

  1. Then observe the retry attempts in the logs and use the same 'nc' command to open the port again.
  2. But you will not be able to trap the proxy call request with the later port openings.

Affected Component

APIM

Version

4.0.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

@YasasRangika YasasRangika added this to the 4.3.0-M1 milestone Jan 12, 2024
@npamudika npamudika removed this from the 4.3.0-M1 milestone Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants