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

Error reported when executing Docker Compose up #185

Closed
a506488043 opened this issue Oct 6, 2023 · 2 comments
Closed

Error reported when executing Docker Compose up #185

a506488043 opened this issue Oct 6, 2023 · 2 comments
Labels
question Further information is requested

Comments

@a506488043
Copy link

a506488043 commented Oct 6, 2023

Linux ITX 6.2.0-33-generic #33~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 7 10:33:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

searxng    | 2023-10-06 11:01:06,562 ERROR:searx.engines.soundcloud: Fail to initialize
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_core/_tasks.py", line 115, in fail_after
searxng    |     yield cancel_scope
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 114, in connect_tcp
searxng    |     stream: anyio.abc.ByteStream = await anyio.connect_tcp(
searxng    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_core/_sockets.py", line 217, in connect_tcp
searxng    |     async with create_task_group() as tg:
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 674, in __aexit__
searxng    |     raise cancelled_exc_while_waiting_tasks
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 654, in __aexit__
searxng    |     await asyncio.wait(self.cancel_scope._tasks)
searxng    |   File "/usr/lib/python3.11/asyncio/tasks.py", line 428, in wait
searxng    |     return await _wait(fs, timeout, return_when, loop)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/asyncio/tasks.py", line 535, in _wait
searxng    |     await waiter
searxng    | asyncio.exceptions.CancelledError: Cancelled by cancel scope 7f0943e357d0
searxng    | 
searxng    | During handling of the above exception, another exception occurred:
searxng    | 
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions
searxng    |     yield
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 113, in connect_tcp
searxng    |     with anyio.fail_after(timeout):
searxng    |   File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
searxng    |     self.gen.throw(typ, value, traceback)
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_core/_tasks.py", line 118, in fail_after
searxng    |     raise TimeoutError
searxng    | TimeoutError
searxng    | 
searxng    | The above exception was the direct cause of the following exception:
searxng    | 
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions
searxng    |     yield
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_transports/default.py", line 353, in handle_async_request
searxng    |     resp = await self._pool.handle_async_request(req)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 262, in handle_async_request
searxng    |     raise exc
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 245, in handle_async_request
searxng    |     response = await connection.handle_async_request(request)
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection.py", line 92, in handle_async_request
searxng    |     raise exc
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection.py", line 69, in handle_async_request
searxng    |     stream = await self._connect(request)
searxng    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection.py", line 117, in _connect
searxng    |     stream = await self._network_backend.connect_tcp(**kwargs)
searxng    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_backends/auto.py", line 31, in connect_tcp
searxng    |     return await self._backend.connect_tcp(
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 112, in connect_tcp
searxng    |     with map_exceptions(exc_map):
searxng    |   File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
searxng    |     self.gen.throw(typ, value, traceback)
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
searxng    |     raise to_exc(exc) from exc
searxng    | httpcore.ConnectTimeout
searxng    | 
searxng    | The above exception was the direct cause of the following exception:
searxng    | 
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/local/searxng/searx/search/processors/abstract.py", line 75, in initialize
searxng    |     self.engine.init(get_engine_from_settings(self.engine_name))
searxng    |   File "/usr/local/searxng/searx/engines/soundcloud.py", line 69, in init
searxng    |     guest_client_id = get_client_id()
searxng    |                       ^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/engines/soundcloud.py", line 45, in get_client_id
searxng    |     response = http_get("https://soundcloud.com")
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/network/__init__.py", line 165, in get
searxng    |     return request('get', url, **kwargs)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/network/__init__.py", line 96, in request
searxng    |     return future.result(timeout)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/concurrent/futures/_base.py", line 456, in result
searxng    |     return self.__get_result()
searxng    |            ^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
searxng    |     raise self._exception
searxng    |   File "/usr/local/searxng/searx/network/network.py", line 291, in request
searxng    |     return await self.call_client(False, method, url, **kwargs)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/network/network.py", line 287, in call_client
searxng    |     raise e
searxng    |   File "/usr/local/searxng/searx/network/network.py", line 272, in call_client
searxng    |     response = await client.request(method, url, **kwargs)
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1530, in request
searxng    |     return await self.send(request, auth=auth, follow_redirects=follow_redirects)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1617, in send
searxng    |     response = await self._send_handling_auth(
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1645, in _send_handling_auth
searxng    |     response = await self._send_handling_redirects(
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1682, in _send_handling_redirects
searxng    |     response = await self._send_single_request(request)
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1719, in _send_single_request
searxng    |     response = await transport.handle_async_request(request)
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_transports/default.py", line 352, in handle_async_request
searxng    |     with map_httpcore_exceptions():
searxng    |   File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
searxng    |     self.gen.throw(typ, value, traceback)
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
searxng    |     raise mapped_exc(message) from exc
searxng    | httpx.ConnectTimeout
searxng    | 2023-10-06 11:01:06,697 ERROR:searx.engines.wikidata: Fail to initialize
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/local/searxng/searx/network/__init__.py", line 96, in request
searxng    |     return future.result(timeout)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/concurrent/futures/_base.py", line 458, in result
searxng    |     raise TimeoutError()
searxng    | TimeoutError
searxng    | 
searxng    | The above exception was the direct cause of the following exception:
searxng    | 
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/local/searxng/searx/search/processors/abstract.py", line 75, in initialize
searxng    |     self.engine.init(get_engine_from_settings(self.engine_name))
searxng    |   File "/usr/local/searxng/searx/engines/wikidata.py", line 775, in init
searxng    |     jsonresponse = send_wikidata_query(query)
searxng    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/engines/wikidata.py", line 162, in send_wikidata_query
searxng    |     http_response = get(SPARQL_ENDPOINT_URL + '?' + urlencode({'query': query}), headers=get_headers())
searxng    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/network/__init__.py", line 165, in get
searxng    |     return request('get', url, **kwargs)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/network/__init__.py", line 98, in request
searxng    |     raise httpx.TimeoutException('Timeout', request=None) from e
searxng    | httpx.TimeoutException: Timeout
searxng    | 2023-10-06 11:01:06,699 ERROR:searx.engines.soundcloud: Fail to initialize
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_core/_tasks.py", line 115, in fail_after
searxng    |     yield cancel_scope
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 114, in connect_tcp
searxng    |     stream: anyio.abc.ByteStream = await anyio.connect_tcp(
searxng    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_core/_sockets.py", line 217, in connect_tcp
searxng    |     async with create_task_group() as tg:
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 674, in __aexit__
searxng    |     raise cancelled_exc_while_waiting_tasks
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 654, in __aexit__
searxng    |     await asyncio.wait(self.cancel_scope._tasks)
searxng    |   File "/usr/lib/python3.11/asyncio/tasks.py", line 428, in wait
searxng    |     return await _wait(fs, timeout, return_when, loop)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/asyncio/tasks.py", line 535, in _wait
searxng    |     await waiter
searxng    | asyncio.exceptions.CancelledError: Cancelled by cancel scope 7f0943a636d0
searxng    | 
searxng    | During handling of the above exception, another exception occurred:
searxng    | 
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions
searxng    |     yield
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 113, in connect_tcp
searxng    |     with anyio.fail_after(timeout):
searxng    |   File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
searxng    |     self.gen.throw(typ, value, traceback)
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_core/_tasks.py", line 118, in fail_after
searxng    |     raise TimeoutError
searxng    | TimeoutError
searxng    | 
searxng    | The above exception was the direct cause of the following exception:
searxng    | 
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions
searxng    |     yield
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_transports/default.py", line 353, in handle_async_request
searxng    |     resp = await self._pool.handle_async_request(req)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 262, in handle_async_request
searxng    |     raise exc
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 245, in handle_async_request
searxng    |     response = await connection.handle_async_request(request)
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection.py", line 92, in handle_async_request
searxng    |     raise exc
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection.py", line 69, in handle_async_request
searxng    |     stream = await self._connect(request)
searxng    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection.py", line 117, in _connect
searxng    |     stream = await self._network_backend.connect_tcp(**kwargs)
searxng    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_backends/auto.py", line 31, in connect_tcp
searxng    |     return await self._backend.connect_tcp(
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 112, in connect_tcp
searxng    |     with map_exceptions(exc_map):
searxng    |   File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
searxng    |     self.gen.throw(typ, value, traceback)
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
searxng    |     raise to_exc(exc) from exc
searxng    | httpcore.ConnectTimeout
searxng    | 
searxng    | The above exception was the direct cause of the following exception:
searxng    | 
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/local/searxng/searx/search/processors/abstract.py", line 75, in initialize
searxng    |     self.engine.init(get_engine_from_settings(self.engine_name))
searxng    |   File "/usr/local/searxng/searx/engines/soundcloud.py", line 69, in init
searxng    |     guest_client_id = get_client_id()
searxng    |                       ^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/engines/soundcloud.py", line 45, in get_client_id
searxng    |     response = http_get("https://soundcloud.com")
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/network/__init__.py", line 165, in get
searxng    |     return request('get', url, **kwargs)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/network/__init__.py", line 96, in request
searxng    |     return future.result(timeout)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/concurrent/futures/_base.py", line 456, in result
searxng    |     return self.__get_result()
searxng    |            ^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
searxng    |     raise self._exception
searxng    |   File "/usr/local/searxng/searx/network/network.py", line 291, in request
searxng    |     return await self.call_client(False, method, url, **kwargs)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/network/network.py", line 287, in call_client
searxng    |     raise e
searxng    |   File "/usr/local/searxng/searx/network/network.py", line 272, in call_client
searxng    |     response = await client.request(method, url, **kwargs)
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1530, in request
searxng    |     return await self.send(request, auth=auth, follow_redirects=follow_redirects)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1617, in send
searxng    |     response = await self._send_handling_auth(
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1645, in _send_handling_auth
searxng    |     response = await self._send_handling_redirects(
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1682, in _send_handling_redirects
searxng    |     response = await self._send_single_request(request)
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1719, in _send_single_request
searxng    |     response = await transport.handle_async_request(request)
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_transports/default.py", line 352, in handle_async_request
searxng    |     with map_httpcore_exceptions():
searxng    |   File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
searxng    |     self.gen.throw(typ, value, traceback)
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
searxng    |     raise mapped_exc(message) from exc
searxng    | httpx.ConnectTimeout
searxng    | 2023-10-06 11:01:06,819 ERROR:searx.engines.soundcloud: Fail to initialize
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_core/_tasks.py", line 115, in fail_after
searxng    |     yield cancel_scope
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 114, in connect_tcp
searxng    |     stream: anyio.abc.ByteStream = await anyio.connect_tcp(
searxng    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_core/_sockets.py", line 217, in connect_tcp
searxng    |     async with create_task_group() as tg:
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 674, in __aexit__
searxng    |     raise cancelled_exc_while_waiting_tasks
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 654, in __aexit__
searxng    |     await asyncio.wait(self.cancel_scope._tasks)
searxng    |   File "/usr/lib/python3.11/asyncio/tasks.py", line 428, in wait
searxng    |     return await _wait(fs, timeout, return_when, loop)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/asyncio/tasks.py", line 535, in _wait
searxng    |     await waiter
searxng    | asyncio.exceptions.CancelledError: Cancelled by cancel scope 7f09433c9810
searxng    | 
searxng    | During handling of the above exception, another exception occurred:
searxng    | 
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions
searxng    |     yield
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 113, in connect_tcp
searxng    |     with anyio.fail_after(timeout):
searxng    |   File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
searxng    |     self.gen.throw(typ, value, traceback)
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_core/_tasks.py", line 118, in fail_after
searxng    |     raise TimeoutError
searxng    | TimeoutError
searxng    | 
searxng    | The above exception was the direct cause of the following exception:
searxng    | 
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions
searxng    |     yield
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_transports/default.py", line 353, in handle_async_request
searxng    |     resp = await self._pool.handle_async_request(req)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 262, in handle_async_request
searxng    |     raise exc
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 245, in handle_async_request
searxng    |     response = await connection.handle_async_request(request)
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection.py", line 92, in handle_async_request
searxng    |     raise exc
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection.py", line 69, in handle_async_request
searxng    |     stream = await self._connect(request)
searxng    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection.py", line 117, in _connect
searxng    |     stream = await self._network_backend.connect_tcp(**kwargs)
searxng    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_backends/auto.py", line 31, in connect_tcp
searxng    |     return await self._backend.connect_tcp(
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 112, in connect_tcp
searxng    |     with map_exceptions(exc_map):
searxng    |   File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
searxng    |     self.gen.throw(typ, value, traceback)
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
searxng    |     raise to_exc(exc) from exc
searxng    | httpcore.ConnectTimeout
searxng    | 
searxng    | The above exception was the direct cause of the following exception:
searxng    | 
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/local/searxng/searx/search/processors/abstract.py", line 75, in initialize
searxng    |     self.engine.init(get_engine_from_settings(self.engine_name))
searxng    |   File "/usr/local/searxng/searx/engines/soundcloud.py", line 69, in init
searxng    |     guest_client_id = get_client_id()
searxng    |                       ^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/engines/soundcloud.py", line 45, in get_client_id
searxng    |     response = http_get("https://soundcloud.com")
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/network/__init__.py", line 165, in get
searxng    |     return request('get', url, **kwargs)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/network/__init__.py", line 96, in request
searxng    |     return future.result(timeout)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/concurrent/futures/_base.py", line 456, in result
searxng    |     return self.__get_result()
searxng    |            ^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
searxng    |     raise self._exception
searxng    |   File "/usr/local/searxng/searx/network/network.py", line 291, in request
searxng    |     return await self.call_client(False, method, url, **kwargs)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/network/network.py", line 287, in call_client
searxng    |     raise e
searxng    |   File "/usr/local/searxng/searx/network/network.py", line 272, in call_client
searxng    |     response = await client.request(method, url, **kwargs)
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1530, in request
searxng    |     return await self.send(request, auth=auth, follow_redirects=follow_redirects)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1617, in send
searxng    |     response = await self._send_handling_auth(
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1645, in _send_handling_auth
searxng    |     response = await self._send_handling_redirects(
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1682, in _send_handling_redirects
searxng    |     response = await self._send_single_request(request)
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1719, in _send_single_request
searxng    |     response = await transport.handle_async_request(request)
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_transports/default.py", line 352, in handle_async_request
searxng    |     with map_httpcore_exceptions():
searxng    |   File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
searxng    |     self.gen.throw(typ, value, traceback)
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
searxng    |     raise mapped_exc(message) from exc
searxng    | httpx.ConnectTimeout
searxng    | 2023-10-06 11:01:06,850 ERROR:searx.engines.wikidata: Fail to initialize
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/streams/tls.py", line 133, in _call_sslobject_method
searxng    |     result = func(*args)
searxng    |              ^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/ssl.py", line 979, in do_handshake
searxng    |     self._sslobj.do_handshake()
searxng    | ssl.SSLWantReadError: The operation did not complete (read) (_ssl.c:1006)
searxng    | 
searxng    | During handling of the above exception, another exception occurred:
searxng    | 
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_core/_tasks.py", line 115, in fail_after
searxng    |     yield cancel_scope
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 69, in start_tls
searxng    |     ssl_stream = await anyio.streams.tls.TLSStream.wrap(
searxng    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/streams/tls.py", line 125, in wrap
searxng    |     await wrapper._call_sslobject_method(ssl_object.do_handshake)
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/streams/tls.py", line 140, in _call_sslobject_method
searxng    |     data = await self.transport_stream.receive()
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 1103, in receive
searxng    |     await self._protocol.read_event.wait()
searxng    |   File "/usr/lib/python3.11/asyncio/locks.py", line 213, in wait
searxng    |     await fut
searxng    | asyncio.exceptions.CancelledError: Cancelled by cancel scope 7f0943a63990
searxng    | 
searxng    | During handling of the above exception, another exception occurred:
searxng    | 
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions
searxng    |     yield
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 78, in start_tls
searxng    |     raise exc
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 68, in start_tls
searxng    |     with anyio.fail_after(timeout):
searxng    |   File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
searxng    |     self.gen.throw(typ, value, traceback)
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_core/_tasks.py", line 118, in fail_after
searxng    |     raise TimeoutError
searxng    | TimeoutError
searxng    | 
searxng    | The above exception was the direct cause of the following exception:
searxng    | 
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions
searxng    |     yield
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_transports/default.py", line 353, in handle_async_request
searxng    |     resp = await self._pool.handle_async_request(req)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 262, in handle_async_request
searxng    |     raise exc
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 245, in handle_async_request
searxng    |     response = await connection.handle_async_request(request)
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection.py", line 92, in handle_async_request
searxng    |     raise exc
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection.py", line 69, in handle_async_request
searxng    |     stream = await self._connect(request)
searxng    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_async/connection.py", line 149, in _connect
searxng    |     stream = await stream.start_tls(**kwargs)
searxng    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 66, in start_tls
searxng    |     with map_exceptions(exc_map):
searxng    |   File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
searxng    |     self.gen.throw(typ, value, traceback)
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
searxng    |     raise to_exc(exc) from exc
searxng    | httpcore.ConnectTimeout
searxng    | 
searxng    | The above exception was the direct cause of the following exception:
searxng    | 
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/local/searxng/searx/search/processors/abstract.py", line 75, in initialize
searxng    |     self.engine.init(get_engine_from_settings(self.engine_name))
searxng    |   File "/usr/local/searxng/searx/engines/wikidata.py", line 775, in init
searxng    |     jsonresponse = send_wikidata_query(query)
searxng    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/engines/wikidata.py", line 162, in send_wikidata_query
searxng    |     http_response = get(SPARQL_ENDPOINT_URL + '?' + urlencode({'query': query}), headers=get_headers())
searxng    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/network/__init__.py", line 165, in get
searxng    |     return request('get', url, **kwargs)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/network/__init__.py", line 96, in request
searxng    |     return future.result(timeout)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/concurrent/futures/_base.py", line 456, in result
searxng    |     return self.__get_result()
searxng    |            ^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
searxng    |     raise self._exception
searxng    |   File "/usr/local/searxng/searx/network/network.py", line 291, in request
searxng    |     return await self.call_client(False, method, url, **kwargs)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/local/searxng/searx/network/network.py", line 287, in call_client
searxng    |     raise e
searxng    |   File "/usr/local/searxng/searx/network/network.py", line 272, in call_client
searxng    |     response = await client.request(method, url, **kwargs)
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1530, in request
searxng    |     return await self.send(request, auth=auth, follow_redirects=follow_redirects)
searxng    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1617, in send
searxng    |     response = await self._send_handling_auth(
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1645, in _send_handling_auth
searxng    |     response = await self._send_handling_redirects(
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1682, in _send_handling_redirects
searxng    |     response = await self._send_single_request(request)
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_client.py", line 1719, in _send_single_request
searxng    |     response = await transport.handle_async_request(request)
searxng    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_transports/default.py", line 352, in handle_async_request
searxng    |     with map_httpcore_exceptions():
searxng    |   File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
searxng    |     self.gen.throw(typ, value, traceback)
searxng    |   File "/usr/lib/python3.11/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
searxng    |     raise mapped_exc(message) from exc
searxng    | httpx.ConnectTimeout
searxng    | 2023-10-06 11:01:06,853 ERROR:searx.engines.soundcloud: Fail to initialize
searxng    | Traceback (most recent call last):
searxng    |   File "/usr/lib/python3.11/site-packages/anyio/_core/_tasks.py", line 115, in fail_after
searxng    |     yield cancel_scope
searxng    |   File "/usr/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 114, in connect_tcp
........
@unixfox unixfox added the question Further information is requested label Oct 30, 2023
@unixfox
Copy link
Member

unixfox commented Oct 30, 2023

Invalid report closing.

@unixfox unixfox closed this as completed Oct 30, 2023
@monk-after-90s

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants