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

"Host" header not transmited normally to the pod #764

Closed
benaly97 opened this issue Aug 25, 2023 · 5 comments
Closed

"Host" header not transmited normally to the pod #764

benaly97 opened this issue Aug 25, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@benaly97
Copy link

Report

I have Kubernetes cluster with an nginx ingress controller and use keda-http-add-on.
When I use keda-add-ons-http-interceptor-proxy as ingress backend, the "Host" header get in my application (the pod) is not the the original "Host" header.

Expected Behavior

Is a way to tell keda-http-add-on to set the Host header transmitted by the ingress as Host header?

Actual Behavior

I work with a librairie that build an url based on "Host" header.

If i have the app URL "https://www.myappurl.com" to access my application, without using keda-add-ons-http-interceptor-proxy, the librairie can build normally the URL "https://www.myappurl.com" in my application.

But when using keda-add-ons-http-interceptor-proxy as ingress backend, the librairie build an URL like https://my_app_service_name.namespace:my_app_service_port.

Steps to Reproduce the Problem

  1. Use directly my app service as backend on the ingress . The "Host" header get in my application is my host url like www.myappurl.com

  2. Use keda-add-ons-http-interceptor-proxy as service backend on the ingress. The "Host" header get in my application seem like my_app_service_name.namespace:my_app_service_port

Logs from KEDA HTTP operator

No response

HTTP Add-on Version

0.5.0

Kubernetes Version

Other

Platform

Other

Anything else?

Kubernetes version : 1.27
Helm chart : version: 0.5.2

@jocelynthode
Copy link
Contributor

It's already fixed: #746 however you'll have to wait for a release to be cut.

@benaly97
Copy link
Author

benaly97 commented Sep 8, 2023

Thank's for your response. Wait for it.

@kjfly
Copy link

kjfly commented Sep 8, 2023

Hi, we have the same issue and it is preventing us from using the http-add-on. Is it possible to get the release soon? Thanks.

@JorTurFer
Copy link
Member

We have released v0.6.0 this week :)

@github-project-automation github-project-automation bot moved this from To Triage to Done in Roadmap - KEDA HTTP Add-On Oct 7, 2023
@kjfly
Copy link

kjfly commented Oct 9, 2023

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

4 participants