2.2.0 -> 2.3.0 update win 10

  • Platform information:
    • Hardware: i5/8Gb/500Gb
    • OS:Win 10
    • Java Runtime Environment: _1.8.0_151
    • openHAB version: 2.2.0
  • Issue of the topic: Failure when update

Trying to update OH 2.2.0 to 2.3.0 via Powershell and the update.ps1 script. The backup process seems to work, the trouble starts when the scrip is trying to download the new files. This is what I get:

"…
Backup created at C:\openhab-2.2.0\backups\openhab2-backup-201809262021.zip
Backup script finished.

Downloading the openHAB 2.3.0 distribution…
Exception calling “GetResponse” with “0” argument(s): “Den underliggande anslutningen stängdes: Ett oväntat fel uppstod
vid skickande.”
At C:\openhab-2.2.0\runtime\bin\update.ps1:15 char:5

  • $response = $request.GetResponse()
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:slight_smile: [], MethodInvocationException
    • FullyQualifiedErrorId : WebException

You cannot call a method on a null-valued expression.
At C:\openhab-2.2.0\runtime\bin\update.ps1:16 char:5

  • $totalLength = [System.Math]::Floor($response.get_ContentLength() ...
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:slight_smile: [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At C:\openhab-2.2.0\runtime\bin\update.ps1:17 char:5

  • $responseStream = $response.GetResponseStream()
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:slight_smile: [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At C:\openhab-2.2.0\runtime\bin\update.ps1:20 char:5

  • $count = $responseStream.Read($buffer,0,$buffer.length)
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:slight_smile: [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull

Finished Download
You cannot call a method on a null-valued expression.
At C:\openhab-2.2.0\runtime\bin\update.ps1:34 char:5

  • $responseStream.Dispose()
    

…"