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

502 - Connectivity error for some configurations #101

Open
mwesox opened this issue Jul 13, 2020 · 1 comment
Open

502 - Connectivity error for some configurations #101

mwesox opened this issue Jul 13, 2020 · 1 comment

Comments

@mwesox
Copy link

mwesox commented Jul 13, 2020

We're running kafka-connect-ui on Openshift connected to an AWS MSK cluster and are facing issues when opening the UI.
Any ideas what can be wrong?

When I open the failed GET URLs manually in the browser it is working.

image

@isopropylcyanide
Copy link
Contributor

Solution is to whitelist the relevant origins in your connect-distributed.properties file.
Refer the Connect Worker configs access.control.allow.origin

access.control.allow.origin=*
access.control.allow.methods=GET,POST,PUT,DELETE,OPTIONS,HEAD

For security reasons, do not set it to * . Post testing, set it to the whitelisted value of your domain.

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