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

Error 403: Setting Public Artifact url #66

Open
alwaysharsha opened this issue Apr 22, 2019 · 8 comments
Open

Error 403: Setting Public Artifact url #66

alwaysharsha opened this issue Apr 22, 2019 · 8 comments

Comments

@alwaysharsha
Copy link

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.

@alexkvak
Copy link
Owner

@alwaysharsha could you provide more information, when it happens and what are your actions to become this message?

@alwaysharsha
Copy link
Author

alwaysharsha commented Apr 22, 2019

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.
Slack-error.jpg

@alexkvak
Copy link
Owner

is your TeamCity behind the proxy?

@alwaysharsha
Copy link
Author

alwaysharsha commented Apr 22, 2019 via email

@alexkvak
Copy link
Owner

Please check your setting Administration -> Global Settings -> Server URL

@alwaysharsha
Copy link
Author

The url matches the Server URL, attaching the screenshot
image.png

@alexkvak
Copy link
Owner

No, it’s not. https is not the same as http

@wawrzek
Copy link

wawrzek commented May 13, 2019

I also noticed the same problem. It's not persistence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants