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.18k stars 1.99k forks source link

Installing problems: OpenVPN [download-and-verify] and Shadowsocks [Mirror the Shadowsocks clients] #1788

Open vitavilov opened 4 years ago

vitavilov commented 4 years ago

Expected behavior:

completed tasks

Actual Behavior:

TASK [openvpn : One or more of the VPN clients could not be mirrored]. TASK [shadowsocks : One or more of the VPN clients could not be mirrored].

Steps to Reproduce:

  1. ./streisand (install option 8) from local Ubuntu 18.04 desktop to remote Ubuntu 16.04 server

Ansible Information

Streisand Information

Enabled Roles

Additional Details:

Log output from Ansible or other relevant services (link to Gist for longer output):

TASK [download-and-verify : Verify the OpenVPN Community download signatures with the Streisand GPG keyring] *** failed: [194.87.101.208] (item={u'sig': u'openvpn-latest-stable.tar.gz.asc', u'file': u'openvpn-latest-stable.tar.gz'}) => {"ansible_loop_var": "item", "changed": true, "cmd": ["gpgv2", "--keyring", "/root/.gnupg/streisand/pubring.gpg", "/var/www/streisand/mirror/openvpn/openvpn-latest-stable.tar.gz.asc", "/var/www/streisand/mirror/openvpn/openvpn-latest-stable.tar.gz"], "delta": "0:00:03.957794", "end": "2020-07-09 10:06:21.296025", "item": {"file": "openvpn-latest-stable.tar.gz", "sig": "openvpn-latest-stable.tar.gz.asc"}, "msg": "non-zero return code", "rc": 2, "start": "2020-07-09 10:06:17.338231", "stderr": "gpgv: Signature made Fri 17 Apr 2020 02:18:44 PM MSK using RSA key ID 005D6BB4\ngpgv: Can't check signature: No public key", "stderr_lines": ["gpgv: Signature made Fri 17 Apr 2020 02:18:44 PM MSK using RSA key ID 005D6BB4", "gpgv: Can't check signature: No public key"], "stdout": "", "stdout_lines": []} failed: [194.87.101.208] (item={u'sig': u'openvpn-install-latest-stable-win10.exe.asc', u'file': u'openvpn-install-latest-stable-win10.exe'}) => {"ansible_loop_var": "item", "changed": true, "cmd": ["gpgv2", "--keyring", "/root/.gnupg/streisand/pubring.gpg", "/var/www/streisand/mirror/openvpn/openvpn-install-latest-stable-win10.exe.asc", "/var/www/streisand/mirror/openvpn/openvpn-install-latest-stable-win10.exe"], "delta": "0:00:00.082716", "end": "2020-07-09 10:06:21.851114", "item": {"file": "openvpn-install-latest-stable-win10.exe", "sig": "openvpn-install-latest-stable-win10.exe.asc"}, "msg": "non-zero return code", "rc": 2, "start": "2020-07-09 10:06:21.768398", "stderr": "gpgv: Signature made Fri 17 Apr 2020 02:25:00 PM MSK using RSA key ID 005D6BB4\ngpgv: Can't check signature: No public key", "stderr_lines": ["gpgv: Signature made Fri 17 Apr 2020 02:25:00 PM MSK using RSA key ID 005D6BB4", "gpgv: Can't check signature: No public key"], "stdout": "", "stdout_lines": []}

TASK [shadowsocks : Mirror the Shadowsocks clients] **** changed: [194.87.101.208] => (item={u'url': u'https://github.com/shadowsocks/shadowsocks-android/releases/download/v4.3.2/shadowsocks-nightly-4.3.2.apk', u'checksum': u'sha256:333833ed934a22767e19ebf468f51e59fff16f9d12ca2cf223b8d1e0eedd5895'}) changed: [194.87.101.208] => (item={u'url': u'https://github.com/shadowsocks/shadowsocks-windows/releases/download/4.1.9.2/Shadowsocks-4.1.9.2.zip', u'checksum': u'sha256:7a52b4827a4dac14ccd0c8a05a46c7debafca33672285e7630ee8f8e54387738'}) changed: [194.87.101.208] => (item={u'url': u'https://github.com/shadowsocks/ShadowsocksX-NG/releases/download/v1.9.4/ShadowsocksX-NG.1.9.4.zip', u'checksum': u'sha256:dc06a995b63f8e32be9b86c265fd2979a6d73d4742d0ff16e1b2bb8f538d77a3'}) failed: [194.87.101.208] (item={u'url': u'https://github.com/riobard/go-shadowsocks2/releases/download/v0.0.9/shadowsocks2-linux-x64.gz', u'checksum': u'sha256:9c08118a0caa60acdb6764112fd181513dbaa2c85d63e7b4b333895b7fe225e9'}) => {"ansible_loop_var": "item", "changed": false, "dest": "/var/www/streisand/mirror/shadowsocks", "elapsed": 0, "gid": 33, "group": "www-data", "item": {"checksum": "sha256:9c08118a0caa60acdb6764112fd181513dbaa2c85d63e7b4b333895b7fe225e9", "url": "https://github.com/riobard/go-shadowsocks2/releases/download/v0.0.9/shadowsocks2-linux-x64.gz"}, "mode": "0755", "msg": "Request failed", "owner": "www-data", "response": "HTTP Error 404: Not Found", "size": 4096, "state": "directory", "status_code": 404, "uid": 33, "url": "https://github.com/riobard/go-shadowsocks2/releases/download/v0.0.9/shadowsocks2-linux-x64.gz"}

Target Cloud Provider: https://ruvds.com
Operating System of target host: Ubuntu 16.04
Operating System of client: Ubuntu 18.04
vaheed commented 4 years ago

+1

vitavilov commented 4 years ago

I solved my problem by installing the CHR from Mikrotik )

969193124 commented 4 years ago

+1