Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Fail to stack install with RedownloadHttpError #1803

Open
Labels
buildContinuous integration and buildingtype: bug
@Alendia

Description

@Alendia

Run the following code in Ubuntu 20.04 LTS with error:

$ stack installDownloading nightly-2020-05-01 build plan ...RedownloadHttpError (HttpExceptionRequest Request {  host                 = "raw.githubusercontent.com"  port                 = 443  secure               = True  requestHeaders       = [("User-Agent","The Haskell Stack")]  path                 = "/fpco/stackage-nightly/master//nightly-2020-05-01.yaml"  queryString          = ""  method               = "GET"  proxy                = Nothing  rawBody              = False  redirectCount        = 10  responseTimeout      = ResponseTimeoutDefault  requestVersion       = HTTP/1.1} (InternalException (HostCannotConnect "127.0.0.1" [Network.Socket.connect: <socket: 11>: does not exist (Connection refused)])))

I have checked issues but cannot solve this problem and I guess it may relate to proxy settings or stack version.
I config terminal with proxy, and the settings are shown below:

export http_proxy=http://127.0.0.1:<port>export https_proxy=http://127.0.0.1:<port>

My stack version is: 1.9.3.1 x86_64
Also, I cannot runstack update with the following error report:

$ stack updateUpdating package index Hackage (mirrored at https://s3.amazonaws.com/hackage.fpcomplete.com/)                                                                                               Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/Updating package index Hackage (mirrored at https://s3.amazonaws.com/hackage.fpcomplete.com/)                                                                                               Downloading rootUpdating package index Hackage (mirrored at https://s3.amazonaws.com/hackage.fpcomplete.com/) ...SomeRemoteError (HttpExceptionRequest Request {  host                 = "s3.amazonaws.com"  port                 = 443  secure               = True  requestHeaders       = [("Accept-Encoding",""),("Cache-Control","no-transform"),("User-Agent","The Haskell Stack")]  path                 = "/hackage.fpcomplete.com/root.json"  queryString          = ""  method               = "GET"  proxy                = Nothing  rawBody              = False  redirectCount        = 10  responseTimeout      = ResponseTimeoutDefault  requestVersion       = HTTP/1.1} (InternalException (HostCannotConnect "127.0.0.1" [Network.Socket.connect: <socket: 12>: does not exist (Connection refused)])))

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildContinuous integration and buildingtype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp