Downloading source failed: An error occurred while downloading the source

jprates's Avatar

jprates

20 May, 2021 10:52 PM

My application uses deploy by Bitbucket. Recently it is no longer compiling displaying the following message:

5/20/21 7:36 PM Received notification, queuing build
5/20/21 7:36 PM Downloading source
5/20/21 7:36 PM Downloading source failed: An error occurred while downloading the source

The source is practically the same. Please HELP ME.

  1. Support Staff 1 Posted by rune on 21 May, 2021 02:00 AM

    rune's Avatar

    Hi,

    We're currently working to address this issue, which is intermittently affecting source code downloads from Bitbucket. AppHarbor checks the IP address of the Bitbucket servers that notify us when you push to your repository, and they've recently started using some unlisted IP addresses that are in turn causing these download authentication errors.

    There's unfortunately not much we can do on our end to resolve the issue at this time, but in the meantime you might want to push directly to your AppHarbor application's Git repository when you want to deploy your code. Have you used that in the past? Otherwise I'm happy to help if you have any questions.
    Best,
    Rune

  2. 2 Posted by jprates on 21 May, 2021 05:41 PM

    jprates's Avatar

    Hi,

    I never used the Git repository. Is it just to change the deployment to Git? Don't need to create another application?

  3. Support Staff 3 Posted by rune on 25 May, 2021 12:48 AM

    rune's Avatar

    Hi again,

    Ok so basically you can just add AppHarbor as another Git remote on your repository (assuming you're using that with Bitbucket, let me know if you're not using Git at all and push to Bitbucket in some other way). The steps to add your AppHarbor app as a remote using the command line Git interface is fairly straightforward:

    1. Find and copy the AppHarbor repository URL for your app from the navigation box on the left.
    2. Add the remote repository like this: git remote add appharbor YOUR_REPOSITORY_URL
    3. Deploy using git push appharbor master

    You can also just push directly to the repository without setting it up as a remote like so git push YOUR_REPOSITORY_URL master.

    I hope this helps, and please don't hesitate to reach out if you experience any issues!

    Best,
    Rune

  4. rune closed this discussion on 25 May, 2021 12:52 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