chocolatey Package problem

Forums Desktop Info chocolatey Package problem

Viewing 14 reply threads
  • Author
    Posts
    • #4213
      mitiya
      Participant

      hello. I am a maintainer of desktopinfo package on chocolatey.org.
      I have a “verification testing failed”, because of this

      full log url

      something on your host is prevent to download file with non browser client.

      can you do something about it?

    • #4215
      Glenn
      Keymaster

      I’ll chase it up.

    • #4216
      Glenn
      Keymaster

      from the host:

      From the looks of the error you’re receiving, its in relation to the outdated browser you’re using.

      https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418

      “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.
    • #4218
      Glenn
      Keymaster

      Have you enabled SSL on wget?

    • #4219
      Glenn
      Keymaster

      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?

    • #4220
      mitiya
      Participant

      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.
      3. Error

    • #4221
      Glenn
      Keymaster

      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.

    • #4244
      Glenn
      Keymaster

      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.

    • #4262
      mitiya
      Participant

      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? )

    • #4266
      Glenn
      Keymaster

      2. why does it work on your pc?

    • #4268
      mitiya
      Participant

      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?

    • #4269
      Glenn
      Keymaster

      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.

    • #4270
      Glenn
      Keymaster

      Let me know the IP of the machine making the request so we can search the logs and see what’s going on.

      • #4279
        mitiya
        Participant

        I have no idea about their ip

    • #4271
      mitiya
      Participant

      I made an experiment.
      I used https://www.glenn.delahoy.com/desktopcalendar, because
      https://www.glenn.delahoy.com/downloads/calendar/readme.txt
      and
      https://www.glenn.delahoy.com/downloads/calendar/Calendar140.zip
      in the same folder.

      And that I got:

      txt downloading ok
      zip downloading bad

    • #4285
      Glenn
      Keymaster

      I can’t help you without the following:

      1. TLS version
      2. client I.P.

      I suggest you contact chocolately.

Viewing 14 reply threads
  • You must be logged in to reply to this topic.
Glenn's Page