bluet / proxybroker2

The New (auto rotate) Proxy [Finder | Checker | Server]. HTTP(S) & SOCKS :performing_arts:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`Update-geo` does not work

sequencerr opened this issue · comments

yrch@debian:~$ proxybroker update-geo
The update in progress, please waite for a while...
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/urllib/request.py", line 1346, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/local/lib/python3.9/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/lib/python3.9/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.9/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.9/http/client.py", line 1040, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.9/http/client.py", line 980, in send
    self.connect()
  File "/usr/local/lib/python3.9/http/client.py", line 946, in connect
    self.sock = self._create_connection(
  File "/usr/local/lib/python3.9/socket.py", line 823, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/local/lib/python3.9/socket.py", line 954, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/app/proxybroker/__main__.py", line 4, in <module>
    cli()
  File "/app/proxybroker/cli.py", line 377, in cli
    ns.func()
  File "/app/proxybroker/utils.py", line 120, in update_geoip_db
    urllib.request.urlretrieve(url, local_file)
  File "/usr/local/lib/python3.9/urllib/request.py", line 239, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File "/usr/local/lib/python3.9/urllib/request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/local/lib/python3.9/urllib/request.py", line 517, in open
    response = self._open(req, data)
  File "/usr/local/lib/python3.9/urllib/request.py", line 534, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/usr/local/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python3.9/urllib/request.py", line 1375, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/local/lib/python3.9/urllib/request.py", line 1349, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
yrch@debian:~$ proxybroker update-geo --log DEBUG
usage: proxybroker [--max-conn MAX_CONN] [--max-tries MAX_TRIES]
                   [--timeout SECONDS] [--judge JUDGES] [--provider PROVIDERS]
                   [--verify-ssl]
                   [--log [{NOTSET,DEBUG,INFO,WARNING,ERROR,CRITICAL}]]
                   [--version] [--help]
                   {find,grab,serve,update-geo} ...
proxybroker: error: unrecognized arguments: --log DEBUG
$ docker pull bluet/proxybroker2
Using default tag: latest
latest: Pulling from bluet/proxybroker2
Digest: sha256:fa6c5f1872e27e55c1a9a83d2a651746b51a13ccd756c7744bdd2019ab150a9e
Status: Image is up to date for bluet/proxybroker2:latest
docker.io/bluet/proxybroker2:latest