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

403 forbidden error #18

Open
gunjvm opened this issue Mar 7, 2017 · 4 comments
Open

403 forbidden error #18

gunjvm opened this issue Mar 7, 2017 · 4 comments

Comments

@gunjvm
Copy link

gunjvm commented Mar 7, 2017

Hi razius,

I tried using the handler. However it is giving 403 forbidden error.
do we have to provide crentials. If yes, Where and how?
Below is the repos.json -
{
"migunjan/gunjan_test": {
"path": "/home/gunjan_test",
"key": "SecretKey",
"action": [["git", "pull", "origin", "master"]]
}
}

RESPONSE -
Headers
Content-Length: 234
Content-Type: text/html
Date: Tue, 07 Mar 2017 11:28:37 GMT
Server: Werkzeug/0.11.15 Python/2.6.6
Body

<title>403 Forbidden</title>

Forbidden

You don't have the permission to access the requested resource. It is either read-protected or not readable by the server.

Please help

@razius
Copy link
Owner

razius commented Mar 7, 2017

Are you behind a proxy? Try running it with:

USE_PROXYFIX=true python index.py 8080

@gunjvm
Copy link
Author

gunjvm commented Mar 8, 2017

Hi razius,

Thanks for the quick response. I tried using USE_PROXY, but still the same error.

@gunjvm
Copy link
Author

gunjvm commented Mar 8, 2017

on the server it gives as below -
10.61.61.174 - - [08/Mar/2017 09:47:55] "POST / HTTP/1.1" 403 -
10.61.61.174 - - [08/Mar/2017 09:56:41] "POST / HTTP/1.1" 403 -

@gunjvm
Copy link
Author

gunjvm commented Mar 9, 2017

Hi razius,
any help. If i try to access server from browser i.e GET it gives response as 200. But POSt request it gives 403.

10.80.17.148 - - [09/Mar/2017 06:56:52] "GET / HTTP/1.1" 200 -
10.61.61.174 - - [09/Mar/2017 06:57:22] "POST / HTTP/1.1" 403
not sure why is this occurring. Please help.

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