locked
BitsTransfer does not work on megatools using http or https on windows 7 RRS feed

  • Question


  • I have a question about using Bitstransfer on powershell in order to download data via https. The following code works well on powershell 5.5 of windows 10 while it does not work on powershell 2.2 or 4.4 of windows 7. In particular, the problem seems to be the use of specific website megatools. Since the https works well even on windows 7.

    Import-ModuleBitstransferStart-BitsTransfer-source "https://en.wikipedia.org/wiki/File:Example.jpg"

    If I try to download a file from https://megatools.megous.com/ for instance https://megatools.megous.com/builds/megatools-1.9.97-win64.zip it does not work both with https and http.

    PS C:\Users\user\Desktop> Start-BitsTransfer -source https://megatools.megous.com/builds/megatools-1.9.97-win64.zip

    Start-BitsTransfer : Unable to connect to serverOn row:1 car:1+ Start-BitsTransfer -source https://megatools.megous.com/builds/megatools-1.9.97- ...+

    ~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : InvalidOperation: (:) [Start-BitsTransfer], Exception    + FullyQualifiedErrorId :

    StartBitsTransferCOMException,Microsoft.BackgroundIntelligentTransfer.Management.NewBits   TransferCommand

    PS C:\Users\user\Desktop> Start-BitsTransfer -source http://megatools.megous.com/builds/megatools-1.9.97-win64.zip

    Start-BitsTransfer : Unable to connect to serverOn row:1 car:1+ Start-BitsTransfer -source https://megatools.megous.com/builds/megatools-1.9.97- ...+

    ~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : InvalidOperation: (:) [Start-BitsTransfer], Exception    + FullyQualifiedErrorId :

    StartBitsTransferCOMException,Microsoft.BackgroundIntelligentTransfer.Management.NewBits   TransferCommand


    Can you explain me why?

    Thank you

    P.S. I reported the error to megatools maintainer and they said the following:

    megatools.megous.com is served over https (TLS 1.2 is minimum allowed version of the protocol, also it uses cert with subject alt name and server uses SNI). nginx server configuration ssl_protocols TLSv1.2; ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';


    • Edited by nedo.nodo Thursday, February 18, 2016 1:17 PM
    Thursday, February 11, 2016 11:47 AM

Answers

  • The solutions is available here https://stackoverflow.com/questions/35357632/bitstransfer-does-not-work-on-megatools-using-http-or-https-on-windows-7/35556906#35556906
    • Marked as answer by nedo.nodo Monday, February 22, 2016 3:04 PM
    Monday, February 22, 2016 3:04 PM