Skip to content

Action should use a fallback URL (in case Cloudflare is down) #58

Open

Description

@stasadev

https://www.cloudflarestatus.com/incidents/8gmgl950y3h7

Although this is widespread and raises many different problems, we should have a backup mechanism to use https://raw.githubusercontent.com/ddev/ddev/main/scripts/install_ddev.sh

$ curl -fsSL --retry 3 --retry-max-time 60 --retry-connrefused -o /tmp/install_ddev.sh https://ddev.com/install.sh
curl: (22) The requested URL returned error: 500
curl: (22) The requested URL returned error: 500
curl: (22) The requested URL returned error: 500
curl: (22) The requested URL returned error: 500
Image

Activity

  1. Natshah commented on Nov 18, 2025

    @Natshah

    Monitoring
    A fix has been implemented and we believe the incident is now resolved. We are continuing to monitor for errors to ensure all services are back to normal.
    Posted 4 minutes ago. Nov 18, 2025 - 14:42 UTC

  2. changed the title [-]Cloudflare is down, action should use a fallback URL[/-] [+]Action should use a fallback URL (in case CLoudflare is down)[/+] on Nov 18, 2025
  3. davereid commented on Nov 18, 2026

    @davereid
    Collaborator

    IF Cloudflare is down, is it possible that other things will also fail during DDEV setup or dependency installs? Is this something we should handle?

  4. changed the title [-]Action should use a fallback URL (in case CLoudflare is down)[/-] [+]Action should use a fallback URL (in case Cloudflare is down)[/+] on Nov 18, 2026
  5. rfay commented on Nov 18, 2026

    @rfay
    Member

    @davereid the problem here with this is just that the install suggested uses ddev.com/install.sh, which is a redirect to the install script. We could just use the direct link to the install script. But while all of us are dependent on the cloud, this is not a fundamental DDEV problem. We could just change the usage here or implement the fallback as @stasadev says. But of course the gorilla in the room is GitHub, not Cloudflare.

  6. stasadev commented on Nov 18, 2026

    @stasadev
    MemberAuthor

    At the time the issue was opened, there was no ddev utility download-ddev.

    Example of how it looks in another action https://github.com/ddev/github-action-add-on-test/blob/e5e196752bffee3216eded24ec0ac5af30f73c15/action.yaml#L65-L108

  7. davereid commented on Nov 22, 2026

    @davereid
    Collaborator

    Thanks, both. https://ddev.com/install.sh is a 302 through Cloudflare to https://raw.githubusercontent.com/ddev/ddev/main/scripts/install_ddev.sh, so the fallback can be small: if the download fails and installScriptUrl is still the default, retry from the GitHub URL. That keeps ddev.com as the address DDEV can point elsewhere later, and the action already depends on GitHub for everything else. #65 takes care of the head build.

    Drafted with Claude Code using project-triage. I chose the approach, had the redirect and #65's scope checked, and reviewed the final text.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions