streisand icon indicating copy to clipboard operation
streisand copied to clipboard

problem in Refresh the Streisand GPG keyring with keyserver information - Ubuntu 16

Open M-Razavi opened this issue 4 years ago • 5 comments

There is a problem in Refresh the Streisand GPG keyring with keyserver information - Ubuntu 16

Expected behavior:

Actual Behavior:

FAILED! => {"attempts": 10, "changed": true, "cmd": ["gpg2", "--no-default-keyring", "--keyring", "/root/.gnupg/streisand/pubring.gpg", "--keyserver-options", "timeout=120", "--refresh"], "delta": "0:00:00.621172", "end": "2020-10-20 08:46:08.437780", "msg": "non-zero return code", "rc": 2, "start": "2020-10-20 08:46:07.816608", "stderr": "gpg: refreshing 10 keys from hkps://gpg.mozilla.org\ngpg: keyserver refresh failed: General error", "stderr_lines": ["gpg: refreshing 10 keys from hkps://gpg.mozilla.org", "gpg: keyserver refresh failed: General error"], "stdout": "", "stdout_lines": []}

Steps to Reproduce:

  1. run the script from the scratch with default configuration

[

Ansible Information

  • Ansible version: 2.8.4
  • Ansible system: Linux
  • Host OS: Ubuntu
  • Host OS version: 20.04
  • Python interpreter: python3
  • Python version: 3.8.5

Streisand Information

  • Streisand Git revision: af5eb7dac157a2416ea64cba96cf32f7f505d9ff
  • Streisand Git clone has untracked changes: no
  • Genesis role: existing-server
  • Custom SSH key: False

Enabled Roles

  • Shadowsocks enabled: True
  • Wireguard enabled: True
  • OpenVPN enabled: True
  • stunnel enabled: True
  • Tor enabled: True
  • Openconnect enabled: True
  • TinyProxy enabled: True
  • SSH forward user enabled: True
  • Configured number of VPN clients: 10 ]

M-Razavi avatar Oct 20 '20 12:10 M-Razavi

in the previous comment, I've used my laptop to connect to the server and run the script on my laptop (my laptop's os is Ubuntu 20.0.4).

In this comment, run the script directly on the server but still get the same error:

fatal: [localhost]: FAILED! => {"attempts": 10, "changed": true, "cmd": ["gpg2", "--no-default-keyring", "--keyring", "/root/.gnupg/streisand/pubring.gpg", "--keyserver-options", "timeout=120", "--refresh"], "delta": "0:00:00.537601", "end": "2020-10-20 09:03:58.402354", "msg": "non-zero return code", "rc": 2, "start": "2020-10-20 09:03:57.864753", "stderr": "gpg: refreshing 10 keys from hkps://gpg.mozilla.org\ngpg: keyserver refresh failed: General error", "stderr_lines": ["gpg: refreshing 10 keys from hkps://gpg.mozilla.org", "gpg: keyserver refresh failed: General error"], "stdout": "", "stdout_lines": []}

Ansible Information

  • Ansible version: 2.8.4
  • Ansible system: Linux
  • Host OS: Ubuntu
  • Host OS version: 16.04
  • Python interpreter: /usr/bin/python
  • Python version: 2.7.12

Streisand Information

  • Streisand Git revision: af5eb7dac157a2416ea64cba96cf32f7f505d9ff
  • Streisand Git clone has untracked changes: no
  • Genesis role: localhost
  • Custom SSH key: False

Enabled Roles

  • Shadowsocks enabled: True
  • Wireguard enabled: True
  • OpenVPN enabled: True
  • stunnel enabled: True
  • Tor enabled: False
  • Openconnect enabled: True
  • TinyProxy enabled: True
  • SSH forward user enabled: True
  • Configured number of VPN clients: 10

M-Razavi avatar Oct 20 '20 13:10 M-Razavi

The same problem, please help

MaratPavlov avatar Oct 29 '20 11:10 MaratPavlov

keys have expired see #1822

marafa avatar Nov 11 '20 04:11 marafa

keys have expired see #1822

Failed again: fatal: [########]: FAILED! => {"attempts": 10, "changed": false, "msg": "failed to fetch PPA information, error was: HTTP Error 404: Not Found"}

M-Razavi avatar Nov 11 '20 10:11 M-Razavi

This seems to be a duplicate of #1806 .

gruentee avatar Jan 25 '21 20:01 gruentee