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

Browser http request is redirected to https #548

Open
tatianafrank opened this issue Mar 18, 2019 · 1 comment
Open

Browser http request is redirected to https #548

tatianafrank opened this issue Mar 18, 2019 · 1 comment

Comments

@tatianafrank
Copy link

I have a webpage on localhost trying to make an http request to my kafka-rest-proxy instance running on another server that doesnt have https but the request URL gets changed to https and fails with a network error. When I type the url directly into the browser, there's no issue-- the URL is not redirected to https. Is there some header or setting that needs to be added in the properties file?

@wheresalice
Copy link

This doesn't sound something like kafka-rest-proxy would be doing. It knows about what IP addresses and what protocol to use though the listeners configuration, and it knows about what hostname to use when generating absolute URLs through the host.name configuration.

If listeners doesn't include an https URL then it won't be doing any redirects.

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