chocolatey Package problem
27 July, 2021 at 7:00 am #4213
hello. I am a maintainer of desktopinfo package on chocolatey.org.
I have a “verification testing failed”, because of this123452021-07-26 08:22:05,389 2580 [DEBUG] - Running Get-WebFile -url 'https://www.glenn.delahoy.com/downloads/desktopinfo/DesktopInfo3000.zip' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\desktopinfo\3.0\desktopinfoInstall.zip' -options 'System.Collections.Hashtable'2021-07-26 08:22:05,389 2580 [DEBUG] - Setting request timeout to 300002021-07-26 08:22:05,389 2580 [DEBUG] - Setting read/write timeout to 27000002021-07-26 08:22:05,389 2580 [DEBUG] - Setting the UserAgent to 'chocolatey command line'2021-07-26 08:22:07,982 2580 [ERROR] - ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://www.glenn.delahoy.com/downloads/desktopinfo/DesktopInfo3000.zip'. Exception calling "GetResponse" with "0" argument(s): "The request was aborted: Could not create SSL/TLS secure channel."
something on your host is prevent to download file with non browser client.123456wget https://www.glenn.delahoy.com/downloads/desktopinfo/DesktopInfo3000.zip--2021-07-26 18:21:48-- https://www.glenn.delahoy.com/downloads/desktopinfo/DesktopInfo3000.zipResolving www.glenn.delahoy.com (www.glenn.delahoy.com)... 184.108.40.206Connecting to www.glenn.delahoy.com (www.glenn.delahoy.com)|220.127.116.11|:443... connected.HTTP request sent, awaiting response... 418 reauthentication required2021-07-26 18:21:50 ERROR 418: reauthentication required.
can you do something about it?
27 July, 2021 at 7:01 am #4215
I’ll chase it up.
27 July, 2021 at 7:44 am #4216
from the host:
From the looks of the error you’re receiving, its in relation to the outdated browser you’re using.
“Out-dated browser accessing wp-login.php. Please update your browser.”
Whatever service you’re using to try and wget this is out of date.
You will need to update your browser agent to a new version
- This reply was modified 1 month, 3 weeks ago by Glenn.
27 July, 2021 at 7:47 am #4218
Have you enabled SSL on wget?
27 July, 2021 at 8:38 am #4219
From the host:
If only wget is being employed then it’s possible that it isn’t connecting to our server over an up-to-date version of encryption, as all our web hosting servers are PCI Compliant and require connections over TLS v1.2 encryption or better.
They could try ensuring that TLS v1.2 is enforced on the wget command – If issues persist, could you please confirm the IP Address that the connection would be reaching us from for this wget connection to retrieve the .zip file? This will ensure we’re checking over our logs with relation to the correct connection.
When was the last time they tried to run the command?
27 July, 2021 at 5:18 pm #4220
wget is just the example.
chocolatey use powershell to download.
Problem is this error takes place on chocolatey.org side.
On my machine no error.
1. I upload package to chocolatey.org
2. Automatic tests on on chocolatey.org side.
28 July, 2021 at 10:45 am #4221
well then whatever you’re using the retrieve the file:
1. Have you enabled TLS v1.2 ?
2. Try setting the user agent to impersonate an up to date browser.
29 July, 2021 at 11:28 pm #4244
I was messing with the Indy HTTP library today in Desktop Info and having great difficulties getting a connection to glenn.delahoy.com. I notice that “Force HTTPS Redirect” is on.
I eventually set up a TLS connection but that wasn’t good enough. I had to set the user agent string:
client.Request.UserAgent := ‘Mozilla/4.0’;
and that got my connection working.
31 July, 2021 at 7:40 am #4262
Step by step.
1. I create package.
2. I tested it on my PC. It worked fine. Download etc.
3. I upload package on chocolatey.org
4. Automated testing perform with error. I can’t change anything on choco side.
choco not use wget. I used wget just to illustrate problem.
The best way could be to use github to host releases? )
31 July, 2021 at 11:04 am #4266
2. why does it work on your pc?
31 July, 2021 at 5:20 pm #4268
I say more, it’s worked on any PC I tried.
But until it past verification on chocolatey.org, it can’t be published.
May be chocolatey.org ips in some kind of blacklist on your web host?
31 July, 2021 at 5:36 pm #4269
From the host:
This might be caused by us recently making TLS 1.2 or higher necessary to connect, so we stay within regulations.
I suggest making sure that the service making the connection is capable of using TLS 1.2 as this is not something we can disable.
31 July, 2021 at 5:46 pm #4270
Let me know the IP of the machine making the request so we can search the logs and see what’s going on.
31 July, 2021 at 7:33 pm #4279
I have no idea about their ip
1 August, 2021 at 10:11 am #4271
I made an experiment.
I used https://www.glenn.delahoy.com/desktopcalendar, because
in the same folder.
And that I got:1234567891011wget https://www.glenn.delahoy.com/downloads/calendar/readme.txt--2021-07-31 11:17:21-- https://www.glenn.delahoy.com/downloads/calendar/readme.txtResolving www.glenn.delahoy.com (www.glenn.delahoy.com)... 18.104.22.168Connecting to www.glenn.delahoy.com (www.glenn.delahoy.com)|22.214.171.124|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 14692 (14K) [text/plain]Saving to: 'readme.txt'readme.txt 100%[==============================================>] 14,35K 50,6KB/s in 0,3s2021-07-31 11:17:22 (50,6 KB/s) - 'readme.txt' saved [14692/14692]123456wget https://www.glenn.delahoy.com/downloads/calendar/Calendar140.zip--2021-07-31 11:17:51-- https://www.glenn.delahoy.com/downloads/calendar/Calendar140.zipResolving www.glenn.delahoy.com (www.glenn.delahoy.com)... 126.96.36.199Connecting to www.glenn.delahoy.com (www.glenn.delahoy.com)|188.8.131.52|:443... connected.HTTP request sent, awaiting response... 418 reauthentication required2021-07-31 11:17:52 ERROR 418: reauthentication required.
txt downloading ok
zip downloading bad
1 August, 2021 at 10:16 am #4285
I can’t help you without the following:
1. TLS version
2. client I.P.
I suggest you contact chocolately.
- You must be logged in to reply to this topic.