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

CONNECTIVITY ERROR #102

Open
shenzgang opened this issue Jul 24, 2020 · 1 comment
Open

CONNECTIVITY ERROR #102

shenzgang opened this issue Jul 24, 2020 · 1 comment

Comments

@shenzgang
Copy link

shenzgang commented Jul 24, 2020

Unable to connect to Kafka-Connect, However, it is normal to request http://node-01:8083/connectors,
20200724172407
How can I properly manage kafka-Connect?
thanks!

@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