Skip to content

mirrors.json expired: stack build has suddenly stopped working in all my projects #4927

Closed

Description

@redfish64

$ stack build
Cabal file info not found for unagi-chan-0.4.1.0, updating
Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/
Downloading timestamp
Downloading snapshot
Downloading mirrors
Verification error: /mirrors.json is expired
Downloading root
Downloading timestamp
Downloading snapshot
Downloading mirrors
Verification error: /mirrors.json is expired
Downloading root
Downloading timestamp
Downloading snapshot
Downloading mirrors
Verification error: /mirrors.json is expired
Downloading root
Downloading timestamp
Downloading snapshot
Downloading mirrors
Verification error: /mirrors.json is expired
Downloading root
Downloading timestamp
Downloading snapshot
Downloading mirrors
Verification error: /mirrors.json is expired
Downloading root
Verification loop. Errors in order:
/mirrors.json is expired
/mirrors.json is expired
/mirrors.json is expired
/mirrors.json is expired
/mirrors.json is expired

$ curl https://s3.amazonaws.com/hackage.fpcomplete.com/mirrors.json
{"signatures":[{"keyid":"772e9f4c7db33d251d5c6e357199c819e569d130857dc225549b40845ff0890d","method":"ed25519","sig":"xe6JjEZlp8ueG7l0XahzG6itTVNzoYxmfF43HNcb5EdFXBIqC7iRXjcsMseIhANnhv6SgovFZx7M1RiHokRzAw=="}],"signed":{"_type":"Mirrorlist","expires":"2019-06-30T23:59:59Z","mirrors":[{"urlbase":"http://hackage.fpcomplete.com/"},{"urlbase":"http://objects-us-east-1.dream.io/hackage-mirror/"}],"version":5}}

Notice above: expires":"2019-06-30T23:59:59Z"

Activity

  1. changed the title [-]stack build has suddenly stopped working in all my projects[/-] [+]mirrors.json expired: stack build has suddenly stopped working in all my projects[/+] on Jul 1, 2019
  2. unhappychoice commented on Jul 1, 2019

    @unhappychoice

    I think #3731 is same.

  3. snoyberg commented on Jul 1, 2019

    @snoyberg
    Contributor

    Please see #4928 for explanation and workaround. I'd typically close this issue as a dupe, but I'm going to leave it open since it's towards the top of the issue tracker right now and may help others discover the workaround.

  4. added a commit that references this issue on Jul 1, 2019
    4d54687
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