-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Error on open/click tracker with another host #2415
Comments
Have you definitely configured the I'm not fully sure how it works but I think if the header is set correctly then the middleware should trigger before the Lines 37 to 41 in 5222263
|
The header is correctly configured and tested with this docker image brndnmtthws/nginx-echo-headers behind my reverse proxy
The problem comes from postal When i configure .xxxxxxx.com in http.host config it's work for click.xxxxxxx.com |
Thanks for confirming, looks like @adamcooke added the hosts line as part of the recent upgrade to Ruby and Rails so a very recent breakage. 957b784#diff-c1fd91cb1911a0512578b99f657554526f3e1421decdb9e908712beab57e10f9 |
Is there a temporary fixed in the meantime until a fix is released? |
This is absolutely a critical one. It appears on 2.1.4. I can confirm what @vlacour97 found. |
Please release a fix for this. open/click webhooks are critical for many users. |
@griffinhosting : Rollback to 2.1.2 meanwhile. |
same issue here. Please fix |
i have the same issue, this proposed fix looks simple, is a release planned in the near future? |
I've been trying to run web-server on AWS ECS but my Target Group is receiving this 403 and I'm not able to allow it in the Production.rb file. Running version 2.1.4 |
Are there any updates to this issue? Got Postal up an running but experience the same issue.... |
Hi, This bug is already fixed in a looooong wait PR already tested, but i dont known why is not take it in account. (#2568) |
Describe the bug
My postal http server was served by postal.xxxxxxx.com and i configure click.xxxxxxx.com and click.yyyyyyy.com for tracker domain. When i access to click.xxxxxxx.com or click.yyyyyyy.com i have an error on ruby on rails server like
[35] [2023-04-18T20:00:37.992] ERROR -- : [ActionDispatch::HostAuthorization::DefaultResponseApp] Blocked host: click.xxxxxx.com
and any response on my browserTo Reproduce
Expected behaviour
This error is due to
config.hosts << Postal.config.web.host
in config/application.rb.When the application.rb config one host another hosts was rejected.
More informations: https://guides.rubyonrails.org/configuring.html
How to bypass this problem ?
Currently i have set my http.host to .xxxxxxxx.com. And the click.xxxxxxxx.com is accepted but not click.yyyyyyy.com.
Proposition for fix it
The text was updated successfully, but these errors were encountered: