Archived Support Site

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

Failure to push

xtrumanx's Avatar

xtrumanx

26 Dec, 2010 06:51 PM

Hey guys,

First of all, thanks for the invitation.

I deployed a simple HelloAppHarbor earlier today and connected to a SQL Server
database flawlessly. I was trying to push another app today but received the
following error message:

$ git push appharbor master
error: Cannot access URL https://[email blocked]/114.git/, return code 1
error: failed to push some refs to 'https://[email blocked]/114.git'

I tried creating a fresh mvc2 application (with no unit testing project) and
pushing that in a seperate application but still no dice. I didn't even get the
password prompt. Any idea what's going on? Is it my end?

Mustafa

  1. Support Staff 1 Posted by friism on 26 Dec, 2010 07:11 PM

    friism's Avatar

    Hi Mustafa.

    I've just tried pushing, and the we're definitely up on our end. Can you reach appharbor.com using your browser? Also, are you sure you are using the latest version of Git and that you have upped the postBuffer size? (run this: : git config http.postBuffer 52428800).

    Let me know if the problem persists.

    Michael

  2. 2 Posted by xtrumanx on 27 Dec, 2010 02:50 AM

    xtrumanx's Avatar

    Michael,

    My bad. Now I'm all red in the face. Earlier today I was using a newer version
    of git at another pc. The failure happened on my laptop that was using git
    1.6.2.

    An update to the latest release (1.7.3) solved the issue.

    Thanks.

    ________________________________
    From: Michael Friis
    <[email blocked]>
    To: "[email blocked]" <[email blocked]>
    Sent: Sun, December 26, 2010 10:11:53 PM
    Subject: Re: Failure to push [Support]

  3. Support Staff 3 Posted by friism on 27 Dec, 2010 08:15 AM

    friism's Avatar

    Cool, glad to hear you got it working.

    Michael

  4. friism closed this discussion on 27 Dec, 2010 08:15 AM.

  5. xtrumanx re-opened this discussion on 27 Dec, 2010 08:46 AM

  6. 4 Posted by xtrumanx on 27 Dec, 2010 08:46 AM

    xtrumanx's Avatar

    I tried deploying a HelloWorld app for MVC3 RC2 and it failed. However, in my
    search for a MVC-based blog engine, I checked out AppHarbor's blog and
    discovered you guys use NBlog which is built with MVC3.

    So, does appharbor support MVC3 or is your blog hosted outside of appharbor's
    service. Also, do you guys have any recommendation for blog engines that can be
    setup of appharbor easily. I tried Subtext and Orchard but the builds failed
    with both of them when deployed. (Orchard complained about not finding a Castle
    reference which was also pushed).

  7. Support Staff 5 Posted by tt on 27 Dec, 2010 08:54 AM

    tt's Avatar

    ASP.NET MVC 3.0 is not installed on the servers, so it's important that you enable the "Copy Local" property for each reference and make sure the references are pointing to the local assembly (you can verify this by checking if a <HintPath/> element exists for that reference in the project file).

    If you use NBlog or similar, you should be aware that you can't trust the local file storage, so each time you deploy, all blog posts will go away. The solution to this is to edit the blog offline and push the changes, but we are working with the NBlog author to use another data store, which will solve this issue.

  8. tt closed this discussion on 27 Dec, 2010 08:54 AM.

  9. xtrumanx re-opened this discussion on 27 Dec, 2010 04:49 PM

  10. 6 Posted by xtrumanx on 27 Dec, 2010 04:49 PM

    xtrumanx's Avatar

    I've noticed these emails are available via the discussion threads and for the
    sake of folks who can't wait to use MVC3 on AppHarbor and see this discussion,
    here's a list of assemblies you'll need to have in your project to get MVC3RC2
    up and running on AppHarbor:

    * Microsoft.Web.Infrastructure (Found in the GAC or C:\Program Files
    (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies)
    * System.Web.Helpers (Found in the GAC or C:\Program Files (x86)\Microsoft
    ASP.NET\ASP.NET Web Pages\v1.0\Assemblies)
    * System.Web.Mvc (Found in the GAC C:\Program Files (x86)\Microsoft
    ASP.NET\ASP.NET MVC 3\Assemblies)
    * System.Web.Razor (Found in the GAC or C:\Program Files (x86)\Microsoft
    ASP.NET\ASP.NET Web Pages\v1.0\Assemblies)
    * System.Web.WebPages.Deployment (Found in the GAC or C:\Program Files
    (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies)
    * System.Web.WebPages (Found in C:\Program Files (x86)\Microsoft
    ASP.NET\ASP.NET Web Pages\v1.0\Assemblies)
    * System.Web.WebPages.Razor (Found in the GAC or C:\Program Files
    (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies)I figured out which
    assemblies were needed by pushing a new mvc3 project with CustomErrors turned
    off and upon encountering an error about missing assemblies, I added a copy of
    the assembly in the error message into the project, referenced it and set it's
    CopyLocal property to True like Troels Thomsen said. Those were the assemblies I
    needed to get it working. I verified it was working by trying to use the new
    ViewBag object introduced in MVC3 RC2 and it worked.

    Also, apologies to the mods for reopening this thread once again. This
    discussion about mvc3 was supposed to be separate from the one about my failed
    git push but I didn't realize my replying via email I would reopen the original
    discussion. I'll be more careful in the future.

  11. Support Staff 7 Posted by friism on 27 Dec, 2010 06:28 PM

    friism's Avatar

    Thanks for compiling that list. I've made this discussion public for others to see.

  12. friism closed this discussion on 27 Dec, 2010 06:28 PM.

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