Skip to content

openvpnconnectv3 stopped downloading #845

@asri-tm

Description

@asri-tm

recently noticing openvpnconnectv3 packages aren't downloading

Was able to download just fine from browser with the same URL so i suspected curl is failing, added curlOptions and pkgs starts downloading again.

curlOptions=( -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15" )

Will raise a PR

2023-01-11 12:03:42 : REQ : openvpnconnectv3 : ################## Start Installomator v. 10.3beta, date 2023-01-11
2023-01-11 12:03:42 : INFO : openvpnconnectv3 : ################## Version: 10.3beta
2023-01-11 12:03:42 : INFO : openvpnconnectv3 : ################## Date: 2023-01-11
2023-01-11 12:03:42 : INFO : openvpnconnectv3 : ################## openvpnconnectv3
2023-01-11 12:03:42 : DEBUG : openvpnconnectv3 : DEBUG mode 1 enabled.
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : name=OpenVPN Connect
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : appName=
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : type=pkgInDmg
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : archiveName=
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : downloadURL=https://openvpn.net/downloads/openvpn-connect-v3-macos.dmg
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : curlOptions=
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : appNewVersion=3.4.1
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : appCustomVersion function: Not defined
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : versionKey=CFBundleShortVersionString
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : packageID=
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : pkgName=OpenVPN_Connect_[0-9_()]*_x86_64_Installer_signed.pkg
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : choiceChangesXML=
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : expectedTeamID=ACV7L3WCD8
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : blockingProcesses=
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : installerTool=
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : CLIInstaller=
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : CLIArguments=
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : updateTool=
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : updateToolArguments=
2023-01-11 12:03:44 : DEBUG : openvpnconnectv3 : updateToolRunAsCurrentUser=
2023-01-11 12:03:45 : INFO : openvpnconnectv3 : BLOCKING_PROCESS_ACTION=tell_user
2023-01-11 12:03:45 : INFO : openvpnconnectv3 : NOTIFY=success
2023-01-11 12:03:45 : INFO : openvpnconnectv3 : LOGGING=DEBUG
2023-01-11 12:03:45 : INFO : openvpnconnectv3 : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2023-01-11 12:03:45 : INFO : openvpnconnectv3 : Label type: pkgInDmg
2023-01-11 12:03:45 : INFO : openvpnconnectv3 : archiveName: OpenVPN Connect.dmg
2023-01-11 12:03:45 : INFO : openvpnconnectv3 : no blocking processes defined, using OpenVPN Connect as default
2023-01-11 12:03:45 : DEBUG : openvpnconnectv3 : Changing directory to /Users/asri/Documents/dev/Installomator/build
2023-01-11 12:03:45 : INFO : openvpnconnectv3 : App(s) found: /Applications/OpenVPN Connect.app
2023-01-11 12:03:45 : INFO : openvpnconnectv3 : found app at /Applications/OpenVPN Connect.app, version 3.4.1, on versionKey CFBundleShortVersionString
2023-01-11 12:03:45 : INFO : openvpnconnectv3 : appversion: 3.4.1
2023-01-11 12:03:45 : INFO : openvpnconnectv3 : Latest version of OpenVPN Connect is 3.4.1
2023-01-11 12:03:45 : WARN : openvpnconnectv3 : DEBUG mode 1 enabled, not exiting, but there is no new version of app.
2023-01-11 12:03:45 : REQ : openvpnconnectv3 : Downloading https://openvpn.net/downloads/openvpn-connect-v3-macos.dmg to OpenVPN Connect.dmg
2023-01-11 12:03:45 : DEBUG : openvpnconnectv3 : No Dialog connection, just download
2023-01-11 12:03:45 : ERROR : openvpnconnectv3 : error downloading https://openvpn.net/downloads/openvpn-connect-v3-macos.dmg
ls: OpenVPN Connect.dmg: No such file or directory
2023-01-11 12:03:45 : ERROR : openvpnconnectv3 : File list:
2023-01-11 12:03:45 : ERROR : openvpnconnectv3 : File type: OpenVPN Connect.dmg: cannot open `OpenVPN Connect.dmg' (No such file or directory)
2023-01-11 12:03:45 : DEBUG : openvpnconnectv3 : DEBUG mode 1, not reopening anything
2023-01-11 12:03:45 : ERROR : openvpnconnectv3 : ERROR: Error downloading https://openvpn.net/downloads/openvpn-connect-v3-macos.dmg error:

  • Trying 104.18.110.96:443...
  • Connected to openvpn.net (104.18.110.96) port 443 (#0)
  • ALPN, offering h2
  • ALPN, offering http/1.1
  • successfully set certificate verify locations:
  • CAfile: /etc/ssl/cert.pem
  • CApath: none
  • (304) (OUT), TLS handshake, Client hello (1):
    } [316 bytes data]
  • (304) (IN), TLS handshake, Server hello (2):
    { [122 bytes data]
  • (304) (IN), TLS handshake, Unknown (8):
    { [19 bytes data]
  • (304) (IN), TLS handshake, Certificate (11):
    { [4752 bytes data]
  • (304) (IN), TLS handshake, CERT verify (15):
    { [264 bytes data]
  • (304) (IN), TLS handshake, Finished (20):
    { [52 bytes data]
  • (304) (OUT), TLS handshake, Finished (20):
    } [52 bytes data]
  • SSL connection using TLSv1.3 / AEAD-AES256-GCM-SHA384
  • ALPN, server accepted to use h2
  • Server certificate:
  • subject: C=US; ST=California; O=OpenVPN Inc.; CN=*.openvpn.net
  • start date: Mar 21 00:00:00 2022 GMT
  • expire date: Apr 20 23:59:59 2023 GMT
  • subjectAltName: host "openvpn.net" matched cert's "openvpn.net"
  • issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Organization Validation Secure Server CA
  • SSL certificate verify ok.
  • Using HTTP2, server supports multiplexing
  • Connection state changed (HTTP/2 confirmed)
  • Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
  • Using Stream ID: 1 (easy handle 0x7fba4200b600)

GET /downloads/openvpn-connect-v3-macos.dmg HTTP/2
Host: openvpn.net
user-agent: curl/7.79.1
accept: /

  • Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
    < HTTP/2 301
    < date: Wed, 11 Jan 2023 04:03:45 GMT
    < content-type: text/html; charset=UTF-8
    < location: https://swupdate.openvpn.net/downloads/connect/openvpn-connect-3.4.1.4522_signed.dmg
    < expires: Wed, 11 Jan 1984 05:00:00 GMT
    < cache-control: no-cache, must-revalidate, max-age=0
    < x-redirect-by: redirection
    < cf-cache-status: MISS
    < server: cloudflare
    < cf-ray: 787ac3b23c254a1d-SIN
    <
    { [0 bytes data]
  • Connection #0 to host openvpn.net left intact
  • Issue another request to this URL: 'https://swupdate.openvpn.net/downloads/connect/openvpn-connect-3.4.1.4522_signed.dmg'
  • Trying 104.18.109.96:443...
  • Connected to swupdate.openvpn.net (104.18.109.96) port 443 (What if the user is already running the latest version? #1)
  • ALPN, offering h2
  • ALPN, offering http/1.1
  • successfully set certificate verify locations:
  • CAfile: /etc/ssl/cert.pem
  • CApath: none
  • (304) (OUT), TLS handshake, Client hello (1):
    } [325 bytes data]
  • (304) (IN), TLS handshake, Server hello (2):
    { [122 bytes data]
  • (304) (IN), TLS handshake, Unknown (8):
    { [19 bytes data]
  • (304) (IN), TLS handshake, Certificate (11):
    { [4752 bytes data]
  • (304) (IN), TLS handshake, CERT verify (15):
    { [264 bytes data]
  • (304) (IN), TLS handshake, Finished (20):
    { [52 bytes data]
  • (304) (OUT), TLS handshake, Finished (20):
    } [52 bytes data]
  • SSL connection using TLSv1.3 / AEAD-AES256-GCM-SHA384
  • ALPN, server accepted to use h2
  • Server certificate:
  • subject: C=US; ST=California; O=OpenVPN Inc.; CN=*.openvpn.net
  • start date: Mar 21 00:00:00 2022 GMT
  • expire date: Apr 20 23:59:59 2023 GMT
  • subjectAltName: host "swupdate.openvpn.net" matched cert's "*.openvpn.net"
  • issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Organization Validation Secure Server CA
  • SSL certificate verify ok.
  • Using HTTP2, server supports multiplexing
  • Connection state changed (HTTP/2 confirmed)
  • Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
  • Using Stream ID: 1 (easy handle 0x7fba4200b600)

GET /downloads/connect/openvpn-connect-3.4.1.4522_signed.dmg HTTP/2
Host: swupdate.openvpn.net
user-agent: curl/7.79.1
accept: /

  • Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
    < HTTP/2 403
    < date: Wed, 11 Jan 2023 04:03:46 GMT
    < content-type: text/plain; charset=UTF-8
    < content-length: 16
    < x-frame-options: SAMEORIGIN
    < referrer-policy: same-origin
    < cache-control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    < expires: Thu, 01 Jan 1970 00:00:01 GMT
    < server: cloudflare
    < cf-ray: 787ac3b57abe4b50-SIN
  • The requested URL returned error: 403
  • stopped the pause stream!
  • Connection What if the user is already running the latest version? #1 to host swupdate.openvpn.net left intact
    curl: (22) The requested URL returned error: 403

2023-01-11 12:03:45 : REQ : openvpnconnectv3 : ################## End Installomator, exit code 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    application-issueApp label issue that's not an Installomator bug. Vendor changed their installer, their website, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions