ndmitchell / hoogle

Haskell API search engine
http://hoogle.haskell.org/
Other
738 stars 134 forks source link

Command `hoogle data` fails to download `base.txt` #99

Closed rubik closed 9 years ago

rubik commented 9 years ago

hoogle data fails (after a timeout I suppose):

Downloading downloads/platform.cabal
# platform.cabal (for downloads/platform.cabal)
2015-02-10 19:44:01 URL:http://code.galois.com/darcs/haskell-platform/haskell-platform.cabal [3334/3334] -> downloads/platform.cabal [1]
Downloaded downloads/platform.cabal
Downloading downloads/cabal.tar.gz
# cabal.tar.gz (for downloads/cabal.tar.gz)
2015-02-10 19:44:09 URL:http://hackage.haskell.org/packages/index.tar.gz [8794998/8794998] -> downloads/cabal.tar.gz [1]
Downloaded downloads/cabal.tar.gz
# cabal.tar (for downloads/cabal.tar)
Extracting tar file downloads/cabal.index
# cabal.tar (for downloads/cabal.index)
Finished extracting tar file downloads/cabal.index
# cabal.tar (for downloads/cabal.index)
Downloading downloads/hoogle.tar.gz
# hoogle.tar.gz (for downloads/hoogle.tar.gz)
2015-02-10 19:44:38 URL:http://hackage.haskell.org/packages/hoogle.tar.gz [20734807/20734807] -> downloads/hoogle.tar.gz [1]
Downloaded downloads/hoogle.tar.gz
# hoogle.tar (for downloads/hoogle.tar)
Extracting tar file downloads/hoogle.index
# hoogle.tar (for downloads/hoogle.index)
Finished extracting tar file downloads/hoogle.index
# hoogle.tar (for downloads/hoogle.index)
Downloading downloads/base.txt
# base.txt (for downloads/base.txt)
hoogle: Error when running Shake build system:
* default.hoo
* platform.hoo
* mtl.hoo
* base.txt
* downloads/base.txt.cache
* downloads/base.txt
user error (Development.Shake.command, system command failed
Command: wget -nv --no-check-certificate http://www.haskell.org/hoogle/base.txt --output-document=downloads/base.txt
Exit code: 4
Stderr was empty)

It seems that http://www.haskell.org/hoogle/base.txt is unreachable. The browser does not resolve it as well.

ndmitchell commented 9 years ago

It works for me both on the command line and via the web browser now. Can you try again, and we can see it is intermittent, or something else is going on.

rubik commented 9 years ago

This is weird. I still get the same error on the command line and both Chrome and Firefox fail to resolve that URL...

I don't think it's my connection, as I can access the Internet as I normally would, and I can browse the haskell.org domain except for that URL.

EDIT: Nope, I was wrong. I can access hackage.haskell.org, but not haskell.org. Chrome complains the server is taking too long to respond.

ndmitchell commented 9 years ago

OK, so seems the haskell.org server is down for you, but not anyone else? Weird... Can you get to haskell.org/hoogle at all?

rubik commented 9 years ago

I tried from home, and it works. It must be some kind of network problem on my end... Odd... I'll investigate further.

Thank you and I'm really sorry I wasted your time.

ndmitchell commented 9 years ago

No probs, that is weird! The Haskell server is being actively reconfigured at the moment, and I've certainly had issues with invalid HTTPS certificates on it (see #96), so that could be related.