Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Docker Container Going "Unhealthy" and Whoogle Stops working Every Day or Two #1100

Open
2 of 8 tasks
ilovepancakes95 opened this issue Nov 19, 2023 · 15 comments
Open
2 of 8 tasks
Labels
bug Something isn't working

Comments

@ilovepancakes95
Copy link

ilovepancakes95 commented Nov 19, 2023

After upgrading to v0.8.4, about 1-2 days after starting the docker container, the status goes "Unhealthy" and Whoogle's webpage stops loading/container seemingly is completely not responding until I restart it. Then status is "Healthy" again until 1-2 days later where it fails yet again. The logs in docker for the container don't seem to show any errors. The behavior wasn't present when running the prior version before v0.8.4.

Deployment Method

  • Heroku (one-click deploy)
  • Docker
  • run executable
  • pip/pipx
  • Other: [describe setup]

Version of Whoogle Search

  • Latest build from [source] (i.e. GitHub, Docker Hub, pip, etc)
  • Version 0.8.4
  • Not sure
@ilovepancakes95 ilovepancakes95 added the bug Something isn't working label Nov 19, 2023
@ryang3d
Copy link

ryang3d commented Dec 7, 2023

I'm seeing a very similar (likely the same) issue on version 0.8.4 (manual install on Ubuntu 22.04, not docker). Service appears to be running fine but Whoogle becomes unreachable after roughly 24 hours and will not load up again until I manually restart the service. Like OP, this keeps happening every day or so, so requires a manual service restart every day or so too.

@MaHivka
Copy link

MaHivka commented Dec 10, 2023

I have an identical situation, except that the status "Unhealthy" appears after several search queries, I restart the container manually and everything works again (This is clearly not how it was planned to work).
Version: Docker "latest" (most likely 0.8.4, the latest after all)
(p.s. I have installed new version, not updated it.)

@thimplicity
Copy link

Same here unfortunately.

@raindog2
Copy link

raindog2 commented Dec 19, 2023

Same problem here:
Docker container latest version. The whoogle page loads, but then when I do a search I get:
500 Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

@gravelfreeman
Copy link

Same thing. Here's all the logs related to a failed search.

2023-12-20 12:53:19.806235-05:00ERROR:app:Exception on /autocomplete [POST]
2023-12-20 12:53:19.806349-05:00Traceback (most recent call last):
2023-12-20 12:53:19.806379-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn
2023-12-20 12:53:19.806398-05:00conn = connection.create_connection(
2023-12-20 12:53:19.806415-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.806434-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection
2023-12-20 12:53:19.806453-05:00for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
2023-12-20 12:53:19.806509-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.806532-05:00File "/usr/local/lib/python3.11/socket.py", line 955, in getaddrinfo
2023-12-20 12:53:19.806551-05:00for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2023-12-20 12:53:19.806568-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.806586-05:00socket.gaierror: [Errno -3] Try again
2023-12-20 12:53:19.806604-05:002023-12-20T12:53:19.806604104-05:00
2023-12-20 12:53:19.806621-05:00During handling of the above exception, another exception occurred:
2023-12-20 12:53:19.806638-05:002023-12-20T12:53:19.806638534-05:00
2023-12-20 12:53:19.806655-05:00Traceback (most recent call last):
2023-12-20 12:53:19.806673-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 715, in urlopen
2023-12-20 12:53:19.806691-05:00httplib_response = self._make_request(
2023-12-20 12:53:19.806708-05:00^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.806725-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 404, in _make_request
2023-12-20 12:53:19.806744-05:00self._validate_conn(conn)
2023-12-20 12:53:19.806761-05:00^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.806778-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1058, in _validate_conn
2023-12-20 12:53:19.806797-05:00conn.connect()
2023-12-20 12:53:19.806814-05:00^^^^^^^^^^^^^^
2023-12-20 12:53:19.806847-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 363, in connect
2023-12-20 12:53:19.806867-05:00self.sock = conn = self._new_conn()
2023-12-20 12:53:19.806884-05:00^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.806902-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn
2023-12-20 12:53:19.806920-05:00raise NewConnectionError(
2023-12-20 12:53:19.806937-05:00^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.806955-05:00urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8a939e6610>: Failed to establish a new connection: [Errno -3] Try again
2023-12-20 12:53:19.806972-05:002023-12-20T12:53:19.806972868-05:00
2023-12-20 12:53:19.806990-05:00During handling of the above exception, another exception occurred:
2023-12-20 12:53:19.807007-05:002023-12-20T12:53:19.807007082-05:00
2023-12-20 12:53:19.807024-05:00Traceback (most recent call last):
2023-12-20 12:53:19.807077-05:00File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
2023-12-20 12:53:19.807104-05:00resp = conn.urlopen(
2023-12-20 12:53:19.807121-05:00^^^^^^^^^^^^^
2023-12-20 12:53:19.807138-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 799, in urlopen
2023-12-20 12:53:19.807157-05:00retries = retries.increment(
2023-12-20 12:53:19.807174-05:00^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.807191-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment
2023-12-20 12:53:19.807208-05:00raise MaxRetryError(_pool, url, error or ResponseError(cause))
2023-12-20 12:53:19.807226-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.807245-05:00urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='suggestqueries.google.com', port=443): Max retries exceeded with url: /complete/search?client=toolbar&q=w (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a939e6610>: Failed to establish a new connection: [Errno -3] Try again'))
2023-12-20 12:53:19.807262-05:002023-12-20T12:53:19.807262658-05:00
2023-12-20 12:53:19.807279-05:00During handling of the above exception, another exception occurred:
2023-12-20 12:53:19.807299-05:002023-12-20T12:53:19.807299936-05:00
2023-12-20 12:53:19.807319-05:00Traceback (most recent call last):
2023-12-20 12:53:19.807339-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 2190, in wsgi_app
2023-12-20 12:53:19.807356-05:00response = self.full_dispatch_request()
2023-12-20 12:53:19.807374-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.807392-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1486, in full_dispatch_request
2023-12-20 12:53:19.807409-05:00rv = self.handle_user_exception(e)
2023-12-20 12:53:19.807426-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.807443-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request
2023-12-20 12:53:19.807461-05:00rv = self.dispatch_request()
2023-12-20 12:53:19.807479-05:00^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.807496-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1469, in dispatch_request
2023-12-20 12:53:19.807513-05:00return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
2023-12-20 12:53:19.807530-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.807547-05:00File "/whoogle/app/routes.py", line 299, in autocomplete
2023-12-20 12:53:19.807564-05:00g.user_request.autocomplete(q) if not g.user_config.tor else []
2023-12-20 12:53:19.807581-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.807598-05:00File "/whoogle/app/request.py", line 257, in autocomplete
2023-12-20 12:53:19.807616-05:00response = self.send(base_url=AUTOCOMPLETE_URL,
2023-12-20 12:53:19.807633-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.807650-05:00File "/whoogle/app/request.py", line 339, in send
2023-12-20 12:53:19.807667-05:00response = requests.get(
2023-12-20 12:53:19.807707-05:00^^^^^^^^^^^^^
2023-12-20 12:53:19.807729-05:00File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 73, in get
2023-12-20 12:53:19.807747-05:00return request("get", url, params=params, **kwargs)
2023-12-20 12:53:19.807764-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.807781-05:00File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 59, in request
2023-12-20 12:53:19.807798-05:00return session.request(method=method, url=url, **kwargs)
2023-12-20 12:53:19.807815-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.807832-05:00File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
2023-12-20 12:53:19.807848-05:00resp = self.send(prep, **send_kwargs)
2023-12-20 12:53:19.807865-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.807882-05:00File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
2023-12-20 12:53:19.807899-05:00r = adapter.send(request, **kwargs)
2023-12-20 12:53:19.807916-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.807933-05:00File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 519, in send
2023-12-20 12:53:19.807950-05:00raise ConnectionError(e, request=request)
2023-12-20 12:53:19.807966-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.807984-05:00requests.exceptions.ConnectionError: HTTPSConnectionPool(host='suggestqueries.google.com', port=443): Max retries exceeded with url: /complete/search?client=toolbar&q=w (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a939e6610>: Failed to establish a new connection: [Errno -3] Try again'))
2023-12-20 12:53:19.955708-05:00ERROR:app:Exception on /autocomplete [POST]
2023-12-20 12:53:19.955784-05:00Traceback (most recent call last):
2023-12-20 12:53:19.955809-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn
2023-12-20 12:53:19.955857-05:00conn = connection.create_connection(
2023-12-20 12:53:19.955878-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.955900-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection
2023-12-20 12:53:19.955918-05:00for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
2023-12-20 12:53:19.955936-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.955953-05:00File "/usr/local/lib/python3.11/socket.py", line 955, in getaddrinfo
2023-12-20 12:53:19.955971-05:00for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2023-12-20 12:53:19.955988-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.956007-05:00socket.gaierror: [Errno -3] Try again
2023-12-20 12:53:19.956038-05:002023-12-20T12:53:19.956038656-05:00
2023-12-20 12:53:19.956059-05:00During handling of the above exception, another exception occurred:
2023-12-20 12:53:19.956076-05:002023-12-20T12:53:19.956076100-05:00
2023-12-20 12:53:19.956093-05:00Traceback (most recent call last):
2023-12-20 12:53:19.956110-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 715, in urlopen
2023-12-20 12:53:19.956127-05:00httplib_response = self._make_request(
2023-12-20 12:53:19.956145-05:00^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.956163-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 404, in _make_request
2023-12-20 12:53:19.956181-05:00self._validate_conn(conn)
2023-12-20 12:53:19.956198-05:00^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.956215-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1058, in _validate_conn
2023-12-20 12:53:19.956233-05:00conn.connect()
2023-12-20 12:53:19.956251-05:00^^^^^^^^^^^^^^
2023-12-20 12:53:19.956269-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 363, in connect
2023-12-20 12:53:19.956290-05:00self.sock = conn = self._new_conn()
2023-12-20 12:53:19.956308-05:00^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.956325-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn
2023-12-20 12:53:19.956342-05:00raise NewConnectionError(
2023-12-20 12:53:19.956359-05:00^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.956377-05:00urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8a93828e50>: Failed to establish a new connection: [Errno -3] Try again
2023-12-20 12:53:19.956394-05:002023-12-20T12:53:19.956394997-05:00
2023-12-20 12:53:19.956411-05:00During handling of the above exception, another exception occurred:
2023-12-20 12:53:19.956428-05:002023-12-20T12:53:19.956428464-05:00
2023-12-20 12:53:19.956445-05:00Traceback (most recent call last):
2023-12-20 12:53:19.956461-05:00File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
2023-12-20 12:53:19.956479-05:00resp = conn.urlopen(
2023-12-20 12:53:19.956496-05:00^^^^^^^^^^^^^
2023-12-20 12:53:19.956513-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 799, in urlopen
2023-12-20 12:53:19.956530-05:00retries = retries.increment(
2023-12-20 12:53:19.956547-05:00^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.956567-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment
2023-12-20 12:53:19.956583-05:00raise MaxRetryError(_pool, url, error or ResponseError(cause))
2023-12-20 12:53:19.956600-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.956619-05:00urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='suggestqueries.google.com', port=443): Max retries exceeded with url: /complete/search?client=toolbar&q=who (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a93828e50>: Failed to establish a new connection: [Errno -3] Try again'))
2023-12-20 12:53:19.956636-05:002023-12-20T12:53:19.956636083-05:00
2023-12-20 12:53:19.956653-05:00During handling of the above exception, another exception occurred:
2023-12-20 12:53:19.956670-05:002023-12-20T12:53:19.956670987-05:00
2023-12-20 12:53:19.956688-05:00Traceback (most recent call last):
2023-12-20 12:53:19.956705-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 2190, in wsgi_app
2023-12-20 12:53:19.956723-05:00response = self.full_dispatch_request()
2023-12-20 12:53:19.956740-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.956760-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1486, in full_dispatch_request
2023-12-20 12:53:19.956778-05:00rv = self.handle_user_exception(e)
2023-12-20 12:53:19.956795-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.956813-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request
2023-12-20 12:53:19.956831-05:00rv = self.dispatch_request()
2023-12-20 12:53:19.956848-05:00^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.956866-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1469, in dispatch_request
2023-12-20 12:53:19.956884-05:00return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
2023-12-20 12:53:19.956902-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.956921-05:00File "/whoogle/app/routes.py", line 299, in autocomplete
2023-12-20 12:53:19.956939-05:00g.user_request.autocomplete(q) if not g.user_config.tor else []
2023-12-20 12:53:19.956964-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.956981-05:00File "/whoogle/app/request.py", line 257, in autocomplete
2023-12-20 12:53:19.956998-05:00response = self.send(base_url=AUTOCOMPLETE_URL,
2023-12-20 12:53:19.957016-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.957033-05:00File "/whoogle/app/request.py", line 339, in send
2023-12-20 12:53:19.957051-05:00response = requests.get(
2023-12-20 12:53:19.957090-05:00^^^^^^^^^^^^^
2023-12-20 12:53:19.957113-05:00File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 73, in get
2023-12-20 12:53:19.957132-05:00return request("get", url, params=params, **kwargs)
2023-12-20 12:53:19.957149-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.957167-05:00File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 59, in request
2023-12-20 12:53:19.957185-05:00return session.request(method=method, url=url, **kwargs)
2023-12-20 12:53:19.957204-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.957222-05:00File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
2023-12-20 12:53:19.957239-05:00resp = self.send(prep, **send_kwargs)
2023-12-20 12:53:19.957257-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.957274-05:00File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
2023-12-20 12:53:19.957291-05:00r = adapter.send(request, **kwargs)
2023-12-20 12:53:19.957308-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.957326-05:00File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 519, in send
2023-12-20 12:53:19.957343-05:00raise ConnectionError(e, request=request)
2023-12-20 12:53:19.957360-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:19.957378-05:00requests.exceptions.ConnectionError: HTTPSConnectionPool(host='suggestqueries.google.com', port=443): Max retries exceeded with url: /complete/search?client=toolbar&q=who (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a93828e50>: Failed to establish a new connection: [Errno -3] Try again'))
2023-12-20 12:53:20.179514-05:00ERROR:app:Exception on /autocomplete [POST]
2023-12-20 12:53:20.179620-05:00Traceback (most recent call last):
2023-12-20 12:53:20.179646-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn
2023-12-20 12:53:20.179666-05:00conn = connection.create_connection(
2023-12-20 12:53:20.179728-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.179753-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection
2023-12-20 12:53:20.179771-05:00for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
2023-12-20 12:53:20.179789-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.179806-05:00File "/usr/local/lib/python3.11/socket.py", line 955, in getaddrinfo
2023-12-20 12:53:20.179824-05:00for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2023-12-20 12:53:20.179852-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.179869-05:00socket.gaierror: [Errno -3] Try again
2023-12-20 12:53:20.179886-05:002023-12-20T12:53:20.179886137-05:00
2023-12-20 12:53:20.179903-05:00During handling of the above exception, another exception occurred:
2023-12-20 12:53:20.179919-05:002023-12-20T12:53:20.179919698-05:00
2023-12-20 12:53:20.179936-05:00Traceback (most recent call last):
2023-12-20 12:53:20.179953-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 715, in urlopen
2023-12-20 12:53:20.179970-05:00httplib_response = self._make_request(
2023-12-20 12:53:20.179987-05:00^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.180004-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 404, in _make_request
2023-12-20 12:53:20.180053-05:00self._validate_conn(conn)
2023-12-20 12:53:20.180072-05:00^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.180089-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1058, in _validate_conn
2023-12-20 12:53:20.180108-05:00conn.connect()
2023-12-20 12:53:20.180125-05:00^^^^^^^^^^^^^^
2023-12-20 12:53:20.180146-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 363, in connect
2023-12-20 12:53:20.180168-05:00self.sock = conn = self._new_conn()
2023-12-20 12:53:20.180185-05:00^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.180202-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn
2023-12-20 12:53:20.180220-05:00raise NewConnectionError(
2023-12-20 12:53:20.180237-05:00^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.180255-05:00urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8a93a1be10>: Failed to establish a new connection: [Errno -3] Try again
2023-12-20 12:53:20.180272-05:002023-12-20T12:53:20.180272532-05:00
2023-12-20 12:53:20.180289-05:00During handling of the above exception, another exception occurred:
2023-12-20 12:53:20.180306-05:002023-12-20T12:53:20.180306029-05:00
2023-12-20 12:53:20.180322-05:00Traceback (most recent call last):
2023-12-20 12:53:20.180339-05:00File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
2023-12-20 12:53:20.180356-05:00resp = conn.urlopen(
2023-12-20 12:53:20.180372-05:00^^^^^^^^^^^^^
2023-12-20 12:53:20.180389-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 799, in urlopen
2023-12-20 12:53:20.180406-05:00retries = retries.increment(
2023-12-20 12:53:20.180423-05:00^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.180441-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment
2023-12-20 12:53:20.180458-05:00raise MaxRetryError(_pool, url, error or ResponseError(cause))
2023-12-20 12:53:20.180475-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.180494-05:00urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='suggestqueries.google.com', port=443): Max retries exceeded with url: /complete/search?client=toolbar&q=whoo (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a93a1be10>: Failed to establish a new connection: [Errno -3] Try again'))
2023-12-20 12:53:20.180512-05:002023-12-20T12:53:20.180512291-05:00
2023-12-20 12:53:20.180529-05:00During handling of the above exception, another exception occurred:
2023-12-20 12:53:20.180545-05:002023-12-20T12:53:20.180545828-05:00
2023-12-20 12:53:20.180562-05:00Traceback (most recent call last):
2023-12-20 12:53:20.180579-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 2190, in wsgi_app
2023-12-20 12:53:20.180596-05:00response = self.full_dispatch_request()
2023-12-20 12:53:20.180613-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.180630-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1486, in full_dispatch_request
2023-12-20 12:53:20.180647-05:00rv = self.handle_user_exception(e)
2023-12-20 12:53:20.180664-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.180682-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request
2023-12-20 12:53:20.180699-05:00rv = self.dispatch_request()
2023-12-20 12:53:20.180716-05:00^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.180733-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1469, in dispatch_request
2023-12-20 12:53:20.180749-05:00return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
2023-12-20 12:53:20.180766-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.180784-05:00File "/whoogle/app/routes.py", line 299, in autocomplete
2023-12-20 12:53:20.180801-05:00g.user_request.autocomplete(q) if not g.user_config.tor else []
2023-12-20 12:53:20.180817-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.180834-05:00File "/whoogle/app/request.py", line 257, in autocomplete
2023-12-20 12:53:20.180851-05:00response = self.send(base_url=AUTOCOMPLETE_URL,
2023-12-20 12:53:20.180867-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.180885-05:00File "/whoogle/app/request.py", line 339, in send
2023-12-20 12:53:20.180902-05:00response = requests.get(
2023-12-20 12:53:20.180941-05:00^^^^^^^^^^^^^
2023-12-20 12:53:20.180964-05:00File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 73, in get
2023-12-20 12:53:20.180981-05:00return request("get", url, params=params, **kwargs)
2023-12-20 12:53:20.180998-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.181015-05:00File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 59, in request
2023-12-20 12:53:20.181031-05:00return session.request(method=method, url=url, **kwargs)
2023-12-20 12:53:20.181048-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.181064-05:00File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
2023-12-20 12:53:20.181081-05:00resp = self.send(prep, **send_kwargs)
2023-12-20 12:53:20.181098-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.181115-05:00File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
2023-12-20 12:53:20.181133-05:00r = adapter.send(request, **kwargs)
2023-12-20 12:53:20.181150-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.181166-05:00File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 519, in send
2023-12-20 12:53:20.181183-05:00raise ConnectionError(e, request=request)
2023-12-20 12:53:20.181205-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.181223-05:00requests.exceptions.ConnectionError: HTTPSConnectionPool(host='suggestqueries.google.com', port=443): Max retries exceeded with url: /complete/search?client=toolbar&q=whoo (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a93a1be10>: Failed to establish a new connection: [Errno -3] Try again'))
2023-12-20 12:53:20.296664-05:00ERROR:app:Exception on /autocomplete [POST]
2023-12-20 12:53:20.296743-05:00Traceback (most recent call last):
2023-12-20 12:53:20.296768-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn
2023-12-20 12:53:20.296787-05:00conn = connection.create_connection(
2023-12-20 12:53:20.296806-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.296825-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection
2023-12-20 12:53:20.296875-05:00for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
2023-12-20 12:53:20.296923-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.296955-05:00File "/usr/local/lib/python3.11/socket.py", line 955, in getaddrinfo
2023-12-20 12:53:20.296974-05:00for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2023-12-20 12:53:20.296992-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.297010-05:00socket.gaierror: [Errno -3] Try again
2023-12-20 12:53:20.297027-05:002023-12-20T12:53:20.297027835-05:00
2023-12-20 12:53:20.297045-05:00During handling of the above exception, another exception occurred:
2023-12-20 12:53:20.297063-05:002023-12-20T12:53:20.297063679-05:00
2023-12-20 12:53:20.297081-05:00Traceback (most recent call last):
2023-12-20 12:53:20.297098-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 715, in urlopen
2023-12-20 12:53:20.297116-05:00httplib_response = self._make_request(
2023-12-20 12:53:20.297133-05:00^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.297149-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 404, in _make_request
2023-12-20 12:53:20.297168-05:00self._validate_conn(conn)
2023-12-20 12:53:20.297185-05:00^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.297202-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1058, in _validate_conn
2023-12-20 12:53:20.297221-05:00conn.connect()
2023-12-20 12:53:20.297238-05:00^^^^^^^^^^^^^^
2023-12-20 12:53:20.297255-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 363, in connect
2023-12-20 12:53:20.297272-05:00self.sock = conn = self._new_conn()
2023-12-20 12:53:20.297290-05:00^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.297307-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn
2023-12-20 12:53:20.297324-05:00raise NewConnectionError(
2023-12-20 12:53:20.297341-05:00^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.297359-05:00urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8a9314ba10>: Failed to establish a new connection: [Errno -3] Try again
2023-12-20 12:53:20.297375-05:002023-12-20T12:53:20.297375599-05:00
2023-12-20 12:53:20.297392-05:00During handling of the above exception, another exception occurred:
2023-12-20 12:53:20.297409-05:002023-12-20T12:53:20.297409309-05:00
2023-12-20 12:53:20.297425-05:00Traceback (most recent call last):
2023-12-20 12:53:20.297442-05:00File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
2023-12-20 12:53:20.297460-05:00resp = conn.urlopen(
2023-12-20 12:53:20.297477-05:00^^^^^^^^^^^^^
2023-12-20 12:53:20.297495-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 799, in urlopen
2023-12-20 12:53:20.297513-05:00retries = retries.increment(
2023-12-20 12:53:20.297530-05:00^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.297547-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment
2023-12-20 12:53:20.297591-05:00raise MaxRetryError(_pool, url, error or ResponseError(cause))
2023-12-20 12:53:20.297638-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.297663-05:00urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='suggestqueries.google.com', port=443): Max retries exceeded with url: /complete/search?client=toolbar&q=whoogl (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a9314ba10>: Failed to establish a new connection: [Errno -3] Try again'))
2023-12-20 12:53:20.297681-05:002023-12-20T12:53:20.297681546-05:00
2023-12-20 12:53:20.297698-05:00During handling of the above exception, another exception occurred:
2023-12-20 12:53:20.297716-05:002023-12-20T12:53:20.297716539-05:00
2023-12-20 12:53:20.297733-05:00Traceback (most recent call last):
2023-12-20 12:53:20.297750-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 2190, in wsgi_app
2023-12-20 12:53:20.297770-05:00response = self.full_dispatch_request()
2023-12-20 12:53:20.297788-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.297806-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1486, in full_dispatch_request
2023-12-20 12:53:20.297823-05:00rv = self.handle_user_exception(e)
2023-12-20 12:53:20.297840-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.297856-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request
2023-12-20 12:53:20.297874-05:00rv = self.dispatch_request()
2023-12-20 12:53:20.297891-05:00^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.297908-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1469, in dispatch_request
2023-12-20 12:53:20.297925-05:00return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
2023-12-20 12:53:20.297943-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.297960-05:00File "/whoogle/app/routes.py", line 299, in autocomplete
2023-12-20 12:53:20.297977-05:00g.user_request.autocomplete(q) if not g.user_config.tor else []
2023-12-20 12:53:20.297994-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.298011-05:00File "/whoogle/app/request.py", line 257, in autocomplete
2023-12-20 12:53:20.298028-05:00response = self.send(base_url=AUTOCOMPLETE_URL,
2023-12-20 12:53:20.298044-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.298061-05:00File "/whoogle/app/request.py", line 339, in send
2023-12-20 12:53:20.298079-05:00response = requests.get(
2023-12-20 12:53:20.298119-05:00^^^^^^^^^^^^^
2023-12-20 12:53:20.298141-05:00File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 73, in get
2023-12-20 12:53:20.298158-05:00return request("get", url, params=params, **kwargs)
2023-12-20 12:53:20.298175-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.298192-05:00File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 59, in request
2023-12-20 12:53:20.298209-05:00return session.request(method=method, url=url, **kwargs)
2023-12-20 12:53:20.298227-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.298244-05:00File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
2023-12-20 12:53:20.298262-05:00resp = self.send(prep, **send_kwargs)
2023-12-20 12:53:20.298279-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.298296-05:00File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
2023-12-20 12:53:20.298313-05:00r = adapter.send(request, **kwargs)
2023-12-20 12:53:20.298330-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.298346-05:00File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 519, in send
2023-12-20 12:53:20.298363-05:00raise ConnectionError(e, request=request)
2023-12-20 12:53:20.298380-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:20.298397-05:00requests.exceptions.ConnectionError: HTTPSConnectionPool(host='suggestqueries.google.com', port=443): Max retries exceeded with url: /complete/search?client=toolbar&q=whoogl (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a9314ba10>: Failed to establish a new connection: [Errno -3] Try again'))
2023-12-20 12:53:25.321982-05:00ERROR:app:Exception on /search [GET]
2023-12-20 12:53:25.322122-05:00Traceback (most recent call last):
2023-12-20 12:53:25.322152-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn
2023-12-20 12:53:25.322173-05:00conn = connection.create_connection(
2023-12-20 12:53:25.322217-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.322262-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection
2023-12-20 12:53:25.322289-05:00for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
2023-12-20 12:53:25.322307-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.322324-05:00File "/usr/local/lib/python3.11/socket.py", line 955, in getaddrinfo
2023-12-20 12:53:25.322341-05:00for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2023-12-20 12:53:25.322363-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.322403-05:00socket.gaierror: [Errno -3] Try again
2023-12-20 12:53:25.322433-05:002023-12-20T12:53:25.322433759-05:00
2023-12-20 12:53:25.322457-05:00During handling of the above exception, another exception occurred:
2023-12-20 12:53:25.322476-05:002023-12-20T12:53:25.322476519-05:00
2023-12-20 12:53:25.322506-05:00Traceback (most recent call last):
2023-12-20 12:53:25.322539-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 715, in urlopen
2023-12-20 12:53:25.322572-05:00httplib_response = self._make_request(
2023-12-20 12:53:25.322604-05:00^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.322634-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 404, in _make_request
2023-12-20 12:53:25.322711-05:00self._validate_conn(conn)
2023-12-20 12:53:25.322751-05:00^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.322786-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1058, in _validate_conn
2023-12-20 12:53:25.322822-05:00conn.connect()
2023-12-20 12:53:25.322857-05:00^^^^^^^^^^^^^^
2023-12-20 12:53:25.322895-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 363, in connect
2023-12-20 12:53:25.322932-05:00self.sock = conn = self._new_conn()
2023-12-20 12:53:25.322970-05:00^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.323003-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn
2023-12-20 12:53:25.323035-05:00raise NewConnectionError(
2023-12-20 12:53:25.323088-05:00^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.323119-05:00urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8a93805990>: Failed to establish a new connection: [Errno -3] Try again
2023-12-20 12:53:25.323153-05:002023-12-20T12:53:25.323153264-05:00
2023-12-20 12:53:25.323186-05:00During handling of the above exception, another exception occurred:
2023-12-20 12:53:25.323206-05:002023-12-20T12:53:25.323206498-05:00
2023-12-20 12:53:25.323225-05:00Traceback (most recent call last):
2023-12-20 12:53:25.323257-05:00File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
2023-12-20 12:53:25.323291-05:00resp = conn.urlopen(
2023-12-20 12:53:25.323326-05:00^^^^^^^^^^^^^
2023-12-20 12:53:25.323362-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 799, in urlopen
2023-12-20 12:53:25.323399-05:00retries = retries.increment(
2023-12-20 12:53:25.323434-05:00^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.323471-05:00File "/usr/local/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment
2023-12-20 12:53:25.323507-05:00raise MaxRetryError(_pool, url, error or ResponseError(cause))
2023-12-20 12:53:25.323541-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.323580-05:00urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: /search?gbv=1&num=10&q=whoogle%20github&tbs=&tbm=&hl=fr&safe=off (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a93805990>: Failed to establish a new connection: [Errno -3] Try again'))
2023-12-20 12:53:25.323618-05:002023-12-20T12:53:25.323618415-05:00
2023-12-20 12:53:25.323654-05:00During handling of the above exception, another exception occurred:
2023-12-20 12:53:25.323690-05:002023-12-20T12:53:25.323690780-05:00
2023-12-20 12:53:25.323726-05:00Traceback (most recent call last):
2023-12-20 12:53:25.323763-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 2190, in wsgi_app
2023-12-20 12:53:25.323800-05:00response = self.full_dispatch_request()
2023-12-20 12:53:25.323839-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.323874-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1486, in full_dispatch_request
2023-12-20 12:53:25.323936-05:00rv = self.handle_user_exception(e)
2023-12-20 12:53:25.323967-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.324000-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request
2023-12-20 12:53:25.324023-05:00rv = self.dispatch_request()
2023-12-20 12:53:25.324040-05:00^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.324057-05:00File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1469, in dispatch_request
2023-12-20 12:53:25.324074-05:00return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
2023-12-20 12:53:25.324092-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.324109-05:00File "/whoogle/app/routes.py", line 126, in decorated
2023-12-20 12:53:25.324127-05:00return f(*args, **kwargs)
2023-12-20 12:53:25.324144-05:00^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.324167-05:00File "/whoogle/app/routes.py", line 61, in decorated
2023-12-20 12:53:25.324200-05:00return f(*args, **kwargs)
2023-12-20 12:53:25.324221-05:00^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.324243-05:00File "/whoogle/app/routes.py", line 326, in search
2023-12-20 12:53:25.324274-05:00response = search_util.generate_response()
2023-12-20 12:53:25.324308-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.324388-05:00File "/whoogle/app/utils/search.py", line 148, in generate_response
2023-12-20 12:53:25.324430-05:00get_body = g.user_request.send(query=full_query,
2023-12-20 12:53:25.324464-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.324490-05:00File "/whoogle/app/request.py", line 339, in send
2023-12-20 12:53:25.324509-05:00response = requests.get(
2023-12-20 12:53:25.324534-05:00^^^^^^^^^^^^^
2023-12-20 12:53:25.324562-05:00File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 73, in get
2023-12-20 12:53:25.324580-05:00return request("get", url, params=params, **kwargs)
2023-12-20 12:53:25.324601-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.324638-05:00File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 59, in request
2023-12-20 12:53:25.324675-05:00return session.request(method=method, url=url, **kwargs)
2023-12-20 12:53:25.324696-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.324726-05:00File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
2023-12-20 12:53:25.324757-05:00resp = self.send(prep, **send_kwargs)
2023-12-20 12:53:25.324789-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.324821-05:00File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
2023-12-20 12:53:25.324851-05:00r = adapter.send(request, **kwargs)
2023-12-20 12:53:25.324870-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.324899-05:00File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 519, in send
2023-12-20 12:53:25.324932-05:00raise ConnectionError(e, request=request)
2023-12-20 12:53:25.324968-05:00^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-20 12:53:25.325003-05:00requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: /search?gbv=1&num=10&q=whoogle%20github&tbs=&tbm=&hl=fr&safe=off (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a93805990>: Failed to establish a new connection: [Errno -3] Try again'))

@C8opmBM
Copy link

C8opmBM commented Dec 28, 2023

since today, every other search will turn it unusable (unhealthy)
Please find a fix! Thank you!

@Mnikley
Copy link

Mnikley commented Dec 29, 2023

Might be related to a recent Flask/Werkzeug/Jinja update. Those are the errors i get with the recent docker image v0.8.4 in docker-compose:

whoogle       | ERROR:app:Exception on /favicon.ico [GET]
whoogle       | Traceback (most recent call last):
whoogle       |   File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request
whoogle       |     rv = self.dispatch_request()
whoogle       |          ^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |     self.raise_routing_exception(req)
whoogle       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1440, in raise_routing_exception
whoogle       |     raise request.routing_exception  # type: ignore
whoogle       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |     result = self.url_adapter.match(return_rule=True)  # type: ignore
whoogle       |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/usr/local/lib/python3.11/site-packages/werkzeug/routing/map.py", line 624, in match
whoogle       |     raise NotFound() from None
whoogle       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       | werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
whoogle       |
whoogle       | During handling of the above exception, another exception occurred:
whoogle       |
whoogle       | Traceback (most recent call last):
whoogle       |   File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 2190, in wsgi_app
whoogle       |     response = self.full_dispatch_request()
whoogle       |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1486, in full_dispatch_request
whoogle       |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1341, in handle_user_exception
whoogle       |     return self.handle_http_exception(e)
whoogle       |   File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1281, in handle_http_exception
whoogle       |     return self.ensure_sync(handler)(e)
whoogle       |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/whoogle/app/routes.py", line 609, in page_not_found
whoogle       |     return render_template('error.html', error_message=str(e)), 404
whoogle       |   File "/usr/local/lib/python3.11/site-packages/flask/templating.py", line 151, in render_template
whoogle       |     return _render(app, template, context)
whoogle       |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/usr/local/lib/python3.11/site-packages/flask/templating.py", line 132, in _render
whoogle       |     rv = template.render(context)
whoogle       |   File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render
whoogle       |     self.environment.handle_exception()
whoogle       |   File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception
whoogle       |     raise rewrite_traceback_stack(source=source)
whoogle       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/whoogle/app/templates/error.html", line 23, in top-level template code
whoogle       |     ^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 466, in getitem
whoogle       |     return obj[argument]
whoogle       |            ~~~^^^^^^^^^^
whoogle       | ERROR:app:Exception on /favicon.ico [GET]
whoogle       | Traceback (most recent call last):
whoogle       |   File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request
whoogle       |     rv = self.dispatch_request()
whoogle       |          ^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1458, in dispatch_request
whoogle       |     self.raise_routing_exception(req)
whoogle       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1440, in raise_routing_exception
whoogle       |     raise request.routing_exception  # type: ignore
whoogle       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |     result = self.url_adapter.match(return_rule=True)  # type: ignore
whoogle       |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/usr/local/lib/python3.11/site-packages/werkzeug/routing/map.py", line 624, in match
whoogle       |     raise NotFound() from None
whoogle       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       | werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
whoogle       |
whoogle       | During handling of the above exception, another exception occurred:
whoogle       |
whoogle       | Traceback (most recent call last):
whoogle       |   File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 2190, in wsgi_app
whoogle       |     response = self.full_dispatch_request()
whoogle       |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1486, in full_dispatch_request
whoogle       |     rv = self.handle_user_exception(e)
whoogle       |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1341, in handle_user_exception
whoogle       |     return self.handle_http_exception(e)
whoogle       |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1281, in handle_http_exception
whoogle       |     return self.ensure_sync(handler)(e)
whoogle       |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/whoogle/app/routes.py", line 609, in page_not_found
whoogle       |     return render_template('error.html', error_message=str(e)), 404
whoogle       |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/usr/local/lib/python3.11/site-packages/flask/templating.py", line 151, in render_template
whoogle       |     return _render(app, template, context)
whoogle       |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/usr/local/lib/python3.11/site-packages/flask/templating.py", line 132, in _render
whoogle       |     rv = template.render(context)
whoogle       |          ^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render
whoogle       |     self.environment.handle_exception()
whoogle       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception
whoogle       |     raise rewrite_traceback_stack(source=source)
whoogle       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/whoogle/app/templates/error.html", line 23, in top-level template code
whoogle       |     <h4><a class="link" href="https://farside.link">{{ translation['continue-search'] }}</a></h4>
whoogle       |     ^^^^^^^^^^^^^^^^^^^^^^^^^
whoogle       |   File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 466, in getitem
whoogle       |            ~~~^^^^^^^^^^
whoogle       | jinja2.exceptions.UndefinedError: 'translation' is undefined

@C8opmBM
Copy link

C8opmBM commented Dec 30, 2023

downgraded to benbusby/whoogle-search:0.8.3 until a fix is found.
Thanks.

@C8opmBM
Copy link

C8opmBM commented Feb 18, 2024

Any updates on this issue?
Or is it not reproduced by all users on 0.8.4?
Thank you!

@tarheelz
Copy link

Any updates on this issue? Or is it not reproduced by all users on 0.8.4? Thank you!

It's still an issue. Stay on 0.83.

@C8opmBM
Copy link

C8opmBM commented Mar 2, 2024

Somehow, the issue seems to be fixed.
Could this have been a dependency issue which has been meanwhile updated?
I've been swiched back to 0.8.4 for a week or so, without any issue.
Do test.

@gravelfreeman
Copy link

It did for me as well, went back to Google, then now it seems to be working again?

@davidf1984
Copy link

I still experiencing the issue

@GusGus68
Copy link

GusGus68 commented Jun 3, 2024

I have the same issue. Docker container shows unhealthy after a few days. Any fix for this?

@sss7526
Copy link

sss7526 commented Sep 25, 2024

Its still a problem with 0.8.4 and 0.8.3 still works fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests