Failed to download xx from dist.. It replaces https for http!
ebelendez opened this issue · comments
Describe the bug
I have https and on composer update returns: Failed to download codigoba/laradsf from dist: Your configuration does not allow connections to http://satis.codigo-base.com.mx..
To Reproduce
Each time I run composer update unless I use:
"config": {secure-http": false},
Outcome
composer update
Expected behavior
Not to fail
Additional context
My site has a valid ssl
My json has: "homepage": "https://satis.codigo-base.com.mx",
The created "include json file" reads:
"dist": {
"type": "zip",
"url": "https://satis.codigo-base.com.mx/dist/codigoba/laradsf/codigoba-laradsf-a4b6b5ea50eee421c36e31eac352340dcc911f4c-zip-571933.zip",
"reference": "a4b6b5ea50eee421c36e31eac352340dcc911f4c",
"shasum": "a4f25d58304eb53520019a64e299b75b180cdc6f"
},
And still get this error on composer update:
Failed to download codigoba/laradsf from dist: Your configuration does not allow connections to http://satis.codigo-base.com.mx/dist/codigoba/laradsf/codigoba-laradsf-a4b6b5ea50eee421c36e31eac352340dcc911f4c-zip-571933.zip.
Looks like composer removes the s
Thansk, hope you can help me!
Maybe it is still a bug but I found out that I was making something wrong!
I was running the script: bin/satis build..
From my local XAMPP with no ssl and then uploading the files..
I think it should work any way but I leave it to your consideration
Greetings