Giter Site home page Giter Site logo

Comments (13)

ryang3d avatar ryang3d commented on June 17, 2024

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.

from whoogle-search.

MaHivka avatar MaHivka commented on June 17, 2024

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.)

from whoogle-search.

thimplicity avatar thimplicity commented on June 17, 2024

Same here unfortunately.

from whoogle-search.

raindog2 avatar raindog2 commented on June 17, 2024

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.

from whoogle-search.

gravelfreeman avatar gravelfreeman commented on June 17, 2024

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'))

from whoogle-search.

C8opmBM avatar C8opmBM commented on June 17, 2024

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

from whoogle-search.

Mnikley avatar Mnikley commented on June 17, 2024

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

from whoogle-search.

C8opmBM avatar C8opmBM commented on June 17, 2024

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

from whoogle-search.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.