Skip to content

Verification error: <repo>/mirrors.json is expired #3731

@jmitchell

Description

@jmitchell

General summary/comments

The mirrors.json file expired about an hour ago, and stack is complaining about it.

Steps to reproduce

  1. start with no ~/.stack directory
  2. run stack setup (I'm using version 1.5.1)

Expected

Stack should have properly set up the local state necessary to create and build projects.

Actual

What actually happened.

$ stack setup
Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/                                 
Downloading timestamp                                                                            
Downloading snapshot                                                                             
Downloading mirrors                                                                              
Verification error: <repo>/mirrors.json is expired                                               
Downloading root                                                                                 
Downloading timestamp                                                                            
Downloading snapshot                                                                             
Downloading mirrors                                                                              
Verification error: <repo>/mirrors.json is expired                                               
Downloading root                                                                                 
Downloading timestamp                                                                            
Downloading snapshot                                                                             
Downloading mirrors                                                                              
Verification error: <repo>/mirrors.json is expired                                               
Downloading root                                                                                 
Downloading timestamp                                                                            
Downloading snapshot                                                                             
Downloading mirrors                                                                              
Verification error: <repo>/mirrors.json is expired                                               
Downloading root                                                                                 
Downloading timestamp                                                                            
Downloading snapshot                                                                             
Downloading mirrors                                                                              
Verification error: <repo>/mirrors.json is expired                                               
Downloading root                                                                                 
Updating package index Hackage (mirrored at https://s3.amazonaws.com/hackage.fpcomplete.com/) ...VerificationErrorLoop [Right (VerificationErrorExpired (TargetPathRepo (Path "mirrors.json"))),Right (VerificationErrorExpired (TargetPathRepo (Path "mirrors.json"))),Right (VerificationErrorExpired (TargetPathRepo (Path "mirrors.json"))),Right (VerificationErrorExpired (TargetPathRepo (Path "mirrors.json"))),Right (VerificationErrorExpired (TargetPathRepo (Path "mirrors.json")))]

Stack version

$ stack --version
Version 1.5.1 x86_64
Compiled with:
- Cabal-1.24.2.0
- Glob-0.8.0
- HUnit-1.5.0.0
- MonadRandom-0.5.1
...

Method of installation

nix-env -i stack

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions