Archived Support Site

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

500 error when making a bridge to github

rwobben's Avatar

rwobben

12 Feb, 2018 11:55 AM

Hello,

I made a new project and choose the github option.
But then I see a 500 error.

Can someone look into this ?

Roelof

  1. Support Staff 1 Posted by rune on 14 Feb, 2018 05:20 AM

    rune's Avatar

    Hi Roelof,

    Thanks for reporting this issue -- it was resolved earlier today, but let me know if you continue to experience issues setting up the integration going forward!

    Best,
    Rune

  2. rune closed this discussion on 14 Feb, 2018 05:20 AM.

  3. rwobben re-opened this discussion on 14 Feb, 2018 06:28 AM

  4. 2 Posted by rwobben on 14 Feb, 2018 06:28 AM

    rwobben's Avatar
    Hello,

    I run into another problem.

    I have now a bridge to github and the build went fine.
    But as soon as I goto http://balanced.apphb.com/  I see a welcome screen of ngnix and not the site

    What went wrong here ?

    Roelof


    Op 14-2-2018 om 06:20 schreef rune:
    pre { width: 92%; margin: 10px 2%; padding: 5px 2%; background: #efefef; border: 1px solid #d6d6d6 } blockquote { margin-left: 0; padding-left: 1em; border-left: 5px solid #ccc; }

    // Please reply above this line
    ==================================================

    From: rune (Support staff)

    Hi Roelof,

    Thanks for reporting this issue -- it was resolved earlier today, but let me know if you continue to experience issues setting up the integration going forward!

    Best,
    Rune

    On Mon, Feb 12 at 03:55 AM PST, rwobben wrote:

    Hello,

    I made a new project and choose the github option.
    But then I see a 500 error.

    Can someone look into this ?

    Roelof

    Having trouble reading this? View this discussion online: 500 error when making a bridge to github.

    To unsubscribe and stop receiving emails from http://support.appharbor.com, visit this page


  5. Support Staff 3 Posted by rune on 20 Feb, 2018 10:39 AM

    rune's Avatar

    Hi Roelof,

    It seems like the app is an ASP.NET Core app, but no website is published during the build process. .NET Core is supported but still requires publishing to the output directory using a bit of configuration in your web project file. All current versions of the .NET Core runtime are installed on the worker and build servers, which also include the SDK.

    Currently you'll need to trigger the Publish build target and set the PublishDir project property yourself. That's pretty straightforward as you can see in this sample csproj using a default ASP.NET Core 1.1 (Core FX) template app created created with VS017:

    <Project Sdk="Microsoft.NET.Sdk.Web" DefaultTargets="Publish">
        <PropertyGroup>
            <TargetFramework>netcoreapp1.1</TargetFramework>
            <PublishDir>$(OutDir)_PublishedWebsites\NetCoreApp\</PublishDir>
        </PropertyGroup>
        <PropertyGroup>
            <PackageTargetFallback>$(PackageTargetFallback);portable-net45+win8+wp8+wpa81;</PackageTargetFallback>
        </PropertyGroup>
        <ItemGroup>
            <PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.0.0" />
            <PackageReference Include="Microsoft.AspNetCore" Version="1.1.2" />
            <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.3" />
            <PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.2" />
            <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.2" />
            <PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="1.1.2" />
        </ItemGroup>
        <ItemGroup>
            <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="1.0.1" />
        </ItemGroup>
    </Project>
    

    It should work if you make those two changes to the web project file, commit it to your repository and push to AppHarbor, but let me know if you continue to experience issues with this!

    Cheers,
    Rune

  6. rune closed this discussion on 20 Feb, 2018 10:39 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