I'm trying to setup a private git repo that I can push and pull from using http. I'm following the steps from the docs. When I try XML error: not well-formed (invalid token) error: no DAV locking support on http://miko@git.audioquarium.com/ShockCollar.git/ I think it works fine when I push to the repo using ssh, just not http. I've set the http.receivepack to true on the git repo. Do I need to enable DAV locking support somehow? asked 26 Jun '11, 18:13 Miko |
The error is related to authentication, you should check the app logs for more info in ~/logs/frontend/ You may submit a support ticket and we can look directly. answered 26 Jun '11, 18:43 johns Thanks johns. All the git logs were empty, I've submitted a support ticket: HCX-215245
(26 Jun '11, 19:40)
Miko
I've tried both of the below options and neither worked. I also created a ticket but the support tech was unable to re-create the problem. Any hints on this?
(17 Mar '13, 12:34)
ccuilla
The ticket history shows we asked you some questions and were still working with you. Reply to the ticket and we will see what we can do.
(17 Mar '13, 20:50)
johns
|
I ran into the same problem: I could no longer push to an existing git repo using "http://", I had to push using "ssh://". I was able to get it working using the following blunt instrument: . Create a new git application using the dashboard. . SSH to your account and mv the .htpasswd and *.git from the old git app to the new git app. . Change your git website(s) to point to the new git application from the old git application. It now works. I don't know why. (Sorry for the formatting, but the ol/ul list options above the text box produce bazoo formatting). answered 04 Oct '11, 12:49 munch |
I had similar problems when trying to push to my webfaction git repository from a windows computer behind a proxy. My git repository is public for read access and needs authentication for write. I noticed some rejected requests in my server log, and modified the git application htaccess. In the .htaccess file, look for the following lines:
And modify it as (added 3 lines in between):
How it works: When trying to push data, git checks if the git-receive-pack service exists, and the uses it. Without changes, this first check is done without authentication, and the git tries to do the push without requesting you for a login/password. With this change, the first check asks for authentication - git asks your login/password -, and the subsequent push is done with your credentials. answered 27 Feb '12, 07:35 Oleastre |