Skip to content

apify create can't download templates behind restricted egress: archiveUrl points to github.com #1363

Description

@patrikbraborec

Problem

apify create fetches the template manifest from raw.githubusercontent.com, but every template's archiveUrl in that manifest points to github.com, e.g. https://github.com/apify/actor-templates/blob/master/dist/templates/python-crawlee-beautifulsoup.zip?raw=true. In sandboxed environments whose egress policy allows raw.githubusercontent.com but blocks github.com, the template list loads and the download then fails.

Expected

Template archives come from the same host as the manifest, so apify create works anywhere the manifest is reachable.

Fix

Point archiveUrl at the raw host instead: https://raw.githubusercontent.com/apify/actor-templates/master/dist/templates/<id>.zip. That URL already serves the same archives. The manifest is generated in apify/actor-templates, so the change lands there.

Links

Manifest: https://raw.githubusercontent.com/apify/actor-templates/master/templates/manifest.json

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    t-buildersIssues owned by the Builders team.

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions