Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
redfish64 opened this issue Jul 1, 2019 · 2 comments

Comments

@redfish64
Copy link

$ 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"

@redfish64 redfish64 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 Jul 1, 2019
@unhappychoice
Copy link

I think #3731 is same.

@snoyberg
Copy link
Contributor

snoyberg commented Jul 1, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants