StreisandEffect / streisand

Streisand sets up a new server running your choice of WireGuard, OpenConnect, OpenSSH, OpenVPN, Shadowsocks, sslh, Stunnel, or a Tor bridge. It also generates custom instructions for all of these services. At the end of the run you are given an HTML file with instructions that can be shared with friends, family members, and fellow activists.
https://twitter.com/streisandvpn
Other
23.19k stars 1.99k forks source link

Openvpn install failed #1691

Open CliffS opened 4 years ago

CliffS commented 4 years ago

This is on a vanilla install (all defaults accepted) on Amazon AWS.

TASK [download-and-verify : Download the OpenVPN Community files] ***** changed: [3.136.24.173] => (item={u'sig': u'openvpn-latest-stable.tar.gz.asc', u'file': u'openvpn-latest-stable.tar.gz'}) failed: [3.136.24.173] (item={u'sig': u'openvpn-install-latest-stable.exe.asc', u'file': u'openvpn-install-latest-stable.exe'}) => {"ansible_loop_var": "item", "changed": false, "dest": "/var/www/streisand/mirror/openvpn/openvpn-install-latest-stable.exe", "elapsed": 0, "item": {"file": "openvpn-install-latest-stable.exe", "sig": "openvpn-install-latest-stable.exe.asc"}, "msg": "Request failed", "response": "HTTP Error 404: Not Found", "status_code": 404, "url": "https://build.openvpn.net/downloads/releases/latest/openvpn-install-latest-stable.exe"}

TASK [openvpn : One or more of the VPN clients could not be mirrored. Please file a bug report on GitHub so that the version number, checksum, or download location can be updated. Setup will now continue.] ***

firmshare commented 4 years ago

Yeap, the same issue, ubuntu 16.04, digitalocean. Also,

"fatal: [localhost -> localhost]: FAILED! => {"changed": false, "cmd": "xdg-open ../generated-docs/ubuntu-pure.html", "msg": "[Errno 2] No such file or directory", "rc": 2}                                                      
...ignoring
"
skstrobel commented 4 years ago

It looks like they now take the latest stable source (openvpn-latest-stable.tar.gz) and make separate builds for Windows 10 and Windows 7:

openvpn-install-latest-stable-win10.exe 31-Oct-2019 18:37 4335648 openvpn-install-latest-stable-win7.exe 31-Oct-2019 18:38 4322568

The easiest thing would be to just use latest Windows 10 build, since that is what most folks will need. The other obvious option would be to mirror both versions, but that would require documentation changes and/or some way to autodetect the OS when someone goes to download the file.

The URL for the Windows 10 version (and its signature) are: https://build.openvpn.net/downloads/releases/latest/openvpn-install-latest-stable-win10.exe https://build.openvpn.net/downloads/releases/latest/openvpn-install-latest-stable-win10.exe.asc

jpmurray commented 4 years ago

I'm going to hell for this, but I'm +1-ing on this one.

TASK [download-and-verify : Download the OpenVPN Community files] ************************************************************************************
TASK [download-and-verify : Download the OpenVPN Community files] ************************************************************************************
changed: [x.x.x.x] => (item={u'sig': u'openvpn-latest-stable.tar.gz.asc', u'file': u'openvpn-latest-stable.tar.gz'})
failed: [x.x.x.x] (item={u'sig': u'openvpn-install-latest-stable.exe.asc', u'file': u'openvpn-install-latest-stable.exe'}) => {"ansible_loop_var": "item", "changed": false, "dest": "/var/www/streisand/mirror/openvpn/openvpn-install-latest-stable.exe", "elapsed": 1, "item": {"file": "openvpn-install-latest-stable.exe", "sig": "openvpn-install-latest-stable.exe.asc"}, "msg": "Request failed", "response": "HTTP Error 404: Not Found", "status_code": 404, "url": "https://build.openvpn.net/downloads/releases/latest/openvpn-install-latest-stable.exe"}

I"m gussing this is the client right? No impact whatsoever if I'm not using windows... ?

skstrobel commented 4 years ago

It looks like this is fixed, assuming that it is OK to only provide the Windows 10 (not Windows 7) version. I just did a new installation from scratch and instead of the error messages I got before (like jpmurray), it now succeeds:

TASK [download-and-verify : Download the OpenVPN Community files] **************************************
changed: [3.20.46.136] => (item={u'sig': u'openvpn-latest-stable.tar.gz.asc', u'file': u'openvpn-latest-stable.tar.gz'})
changed: [3.20.46.136] => (item={u'sig': u'openvpn-install-latest-stable-win10.exe.asc', u'file': u'openvpn-install-latest-stable-win10.exe'})