Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

Failing to push

Mike Hadlow's Avatar

Mike Hadlow

05 Mar, 2011 09:07 PM

Hi, Just trying to create my first AppHarbor app. But when I try and push, nothing seems to happen:

$ git push -v appharbor master Pushing to https://[email blocked]/SutekiShop.git
Password:
<-- cursor just blinks here??

Typing in my password at this point has no effect.
I'm probably doing some stupid git noob thing, any help would be appreciated.

  1. 1 Posted by Mike Hadlow on 05 Mar, 2011 09:10 PM

    Mike Hadlow's Avatar

    More info: I'm using Cygwin with git version 1.7.2.3 on 2008r2

  2. Support Staff 2 Posted by friism on 05 Mar, 2011 09:18 PM

    friism's Avatar

    You're running an older version of Git, please upgrade.

  3. friism closed this discussion on 05 Mar, 2011 09:18 PM.

  4. Mike Hadlow re-opened this discussion on 05 Mar, 2011 09:25 PM

  5. 3 Posted by Mike Hadlow on 05 Mar, 2011 09:25 PM

    Mike Hadlow's Avatar

    Now upgraded to git 1.7.4 still getting the same problem.

  6. 4 Posted by Mike Hadlow on 05 Mar, 2011 09:30 PM

    Mike Hadlow's Avatar

    My git config:

    $ git config -l user.name=Mike Hadlow
    user.email=[email blocked]
    http.postbuffer=52428800
    core.repositoryformatversion=0
    core.filemode=true
    core.bare=false
    core.logallrefupdates=true
    core.ignorecase=true
    remote.appharbor.url=https://[email blocked]/SutekiShop.git
    remote.appharbor.fetch=+refs/heads/:refs/remotes/appharbor/

  7. Support Staff 5 Posted by tt on 05 Mar, 2011 09:34 PM

    tt's Avatar

    You don't receive any more output after entering the password? I'm afraid it may be an issue with Cygwin, so please try to run msysGit instead.

  8. tt closed this discussion on 05 Mar, 2011 09:34 PM.

  9. Mike Hadlow re-opened this discussion on 05 Mar, 2011 09:36 PM

  10. 6 Posted by Mike Hadlow on 05 Mar, 2011 09:36 PM

    Mike Hadlow's Avatar

    Hmm, I have no trouble pushing to git hub. Have you guys tested with Cygwin?

  11. Support Staff 7 Posted by tt on 06 Mar, 2011 01:59 AM

    tt's Avatar

    Have you tried if you can push over HTTP with Cygwin to GitHub? They offer both HTTP and SSH, and we only support HTTP right now.

  12. tt closed this discussion on 06 Mar, 2011 01:59 AM.

  13. rune re-opened this discussion on 06 Mar, 2011 05:08 AM

  14. Support Staff 8 Posted by rune on 06 Mar, 2011 05:08 AM

    rune's Avatar

    Just to provide a little more info on this one. It seems like cygwin can't handle the password prompt properly. This is however solved in msysgit (and is also the recommended way of using git on windows).

    You can circumvent the issue by including the password in your repository url like so: ´https://usersname:[email blocked]/SutekiShop.git´ . If you're ok with having your password readable in your .git/config you can take this approach.

  15. rune closed this discussion on 06 Mar, 2011 05:08 AM.

  16. Mike Hadlow re-opened this discussion on 06 Mar, 2011 08:01 AM

  17. 9 Posted by Mike Hadlow on 06 Mar, 2011 08:01 AM

    Mike Hadlow's Avatar

    Thanks Rune, including the password in the URI worked. Now I'm getting a different error:

    $ git push appharbor master error: SSL certificate problem, verify that the CA cert is OK. Details:
    error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://xxx:[email blocked]/SutekiShop.git/info/refs

  18. Support Staff 10 Posted by rune on 06 Mar, 2011 08:32 AM

    rune's Avatar

    There are also issues with certificates on cygwin - I think this should solve the problem: http://stackoverflow.com/questions/3777075/https-github-access/4454...

  19. 11 Posted by Mike Hadlow on 06 Mar, 2011 08:44 AM

    Mike Hadlow's Avatar

    Yes, that worked, now for the next issue ;)

    $ env GIT_SSL_NO_VERIFY=true git push appharbor master Counting objects: 1986, done.
    Delta compression using up to 4 threads.
    Compressing objects: 100% (1874/1874), done.
    Writing objects: 100% (1986/1986), 16.25 MiB | 3.47 MiB/s, done.
    Total 1986 (delta 646), reused 0 (delta 0)
    error: RPC failed; result=22, HTTP code = 413
    fatal: The remote end hung up unexpectedly
    fatal: The remote end hung up unexpectedly

  20. Support Staff 12 Posted by rune on 06 Mar, 2011 08:53 AM

    rune's Avatar

    Yeah seems like you're facing a lot of issues on this one :-) I think you can set the ssl no verify option globally by the way, so you don't have to write it each time.

    I think the new issue is related to the git post buffer setting. Try setting it to git config --system http.postBuffer 52428800

    It's also described here: http://support.appharbor.com/kb/getting-started/deploying-your-firs...

  21. rune closed this discussion on 06 Mar, 2011 08:53 AM.

  22. Mike Hadlow re-opened this discussion on 06 Mar, 2011 09:05 AM

  23. 13 Posted by Mike Hadlow on 06 Mar, 2011 09:05 AM

    Mike Hadlow's Avatar

    Thanks for sticking with it :)

    My git config looks like this (I've set the http.postBuffer), but I still get the same RPC failed error.

    $ git config -l user.name=Mike Hadlow
    user.email=[email blocked]
    http.postbuffer=52428800
    core.repositoryformatversion=0
    core.filemode=true
    core.bare=false
    core.logallrefupdates=true
    core.ignorecase=true
    remote.appharbor.url=http://mikehadlow:[email blocked]/SutekiShop.git
    remote.appharbor.fetch=+refs/heads/:refs/remotes/appharbor/

  24. Support Staff 14 Posted by rune on 07 Mar, 2011 01:14 AM

    rune's Avatar

    Sure :-) I'm not getting the same error in cygwin (with a small repo). Could you try and see if it works if you push from a new repository?

    I think this can happen if you have a very large repository (in which case you might need to set the postBuffer even higher).

  25. Support Staff 15 Posted by tt on 20 Mar, 2011 07:18 AM

    tt's Avatar

    We have made some changes to our configuration, so in case you didn't get it working, please try again. If the problem persists, my last advice would be to reinstall msysGit.

  26. tt closed this discussion on 20 Mar, 2011 07:18 AM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac