Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#57390 - [http-client-tls] tls-related exception in stack after 1.6.3-58

Attached to Project: Community Packages
Opened by Taegil Bae (esrevinu) - Tuesday, 06 February 2018, 07:58 GMT
Last edited by Felix Yan (felixonmars) - Wednesday, 07 February 2018, 18:32 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After updating stack from 1.6.3-56 to 1.6.3-58, stack commands cannot download files for a tls-related reason.

Additional info:
* package version(s) 1.6.3-58
* config and/or log files etc.

$ stack init
Looking for .cabal or package.yaml files to use to init the project.
Using cabal packages:
- ./

Unable to download snapshot list, and therefore could not generate a stack.yaml file automatically
This sometimes happens due to missing Certificate Authorities on your system. For more information, see:

https://github.com/commercialhaskell/stack/issues/234

You can try again, or create your stack.yaml file by hand. See:

http://docs.haskellstack.org/en/stable/yaml_configuration/

Exception was: HttpExceptionRequest Request {
host = "s3.amazonaws.com"
port = 443
secure = True
requestHeaders = [("Accept","application/json")]
path = "/haddock.stackage.org/snapshots.json"
queryString = ""
method = "GET"
proxy = Nothing
rawBody = False
redirectCount = 10
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
}
TlsNotSupported
Control.Exception.Safe.throwString called with:


Called from:
throwString (src/Stack/Init.hs:335:9 in stack-1.6.3-B9FdYfgEsUU4WswH1muh8L:Stack.Init)


Steps to reproduce:
1. Run stack init or stack new
This task depends upon

Closed by  Felix Yan (felixonmars)
Wednesday, 07 February 2018, 18:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  stack 1.6.3-60
Comment by Taegil Bae (esrevinu) - Tuesday, 06 February 2018, 08:10 GMT
I found this: https://github.com/snoyberg/http-client/issues/325

http-client-tls 0.3.5.2 should be skipped to 0.3.5.3.
Comment by Emanuel Borsboom (borsboom) - Tuesday, 06 February 2018, 17:33 GMT Comment by Felix Yan (felixonmars) - Wednesday, 07 February 2018, 09:42 GMT
Please try with stack 1.6.3-60.
Comment by Taegil Bae (esrevinu) - Wednesday, 07 February 2018, 11:24 GMT
The issue is solved. Thanks.

Loading...