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

POST/PUT being blocked by Rack::Protection #108

Closed
derdrachen opened this issue May 31, 2017 · 3 comments
Closed

POST/PUT being blocked by Rack::Protection #108

derdrachen opened this issue May 31, 2017 · 3 comments

Comments

@derdrachen
Copy link

I am running the docker container with latest. I followed instructions and i am not very familiar with how Rack security works. I do get "WARN -- : attack prevented by Rack::Protection::HttpOrigin" when ever I attempt to post a pact. Any advice on how to turn off the Origin protection or white-list my dns or ip address.

@derdrachen derdrachen changed the title Post being blocked by Rack::Protection POST/PUT being blocked by Rack::Protection May 31, 2017
@bethesque
Copy link
Member

Are you using postman?

bethesque added a commit that referenced this issue Jun 2, 2017
@bethesque
Copy link
Member

Upgrade to 2.0.4, I've turned http_origin checking off as it was more nuisance than it was worth. Let me know if you're using the docker image, and I'll rebuild it.

@derdrachen
Copy link
Author

Thanks new version works great!

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