teamcity-slack
teamcity-slack copied to clipboard
Error 403: Setting Public Artifact url
I am trying to setup the Slack Integration with TeamCity 2018.2.3
It's failing with the below error 403 Forbidden: Responding with 403 status code due to failed CSRF check: request's "Origin" header value "http://ftltctest.eng.company.net" does not match Host/X-Forwarded-Host header values or server's CORS-trusted hosts, consider adding "Origin: https://teamcitytest.eng.company.net" header.
Please provide me guidelines on this.
@alwaysharsha could you provide more information, when it happens and what are your actions to become this message?
When i enable the Slack plugin and fill the OAuth, Name and Sender Url and hit submit. I am seeing the above mentioned error instantly.
is your TeamCity behind the proxy?
Yes, its behind NGINX proxy.
On Mon, Apr 22, 2019 at 4:23 PM Alex Kvak [email protected] wrote:
is your TeamCity behind the proxy?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alexkvak/teamcity-slack/issues/66#issuecomment-485390801, or mute the thread https://github.com/notifications/unsubscribe-auth/ACYYGYANR7GBNSCFDZ6IXGLPRWKK5ANCNFSM4HHOW6DA .
Please check your setting Administration -> Global Settings -> Server URL
No, it’s not. https is not the same as http
I also noticed the same problem. It's not persistence.