You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened?
Not all pictures are rendered during a search. Search term isnt relevant to this bug. Browser logs show mostly images from live.staticflickr.com and tse1.mm.bing.net arent loaded properly, but I deactivated bing in the image search provider tab.
How To Reproduce
Search for anything and then check the image tab. Unrelated to duckduckgo, google, qwant, etc. .
Expected behavior
All pictures are loaded correctly.
Screenshots & Logs
Docker logs:
2024-09-24 16:46:59,193 ERROR:searx.webapp: Exception on /image_proxy [GET]
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/flask/app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/flask/app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/flask/app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/searxng/searx/webapp.py", line 1059, in image_proxy
resp, stream = http_stream(method='GET', url=url, headers=request_headers, allow_redirects=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/searxng/searx/network/__init__.py", line 258, in stream
response = next(generator) # pylint: disable=stop-iteration-return
^^^^^^^^^^^^^^^
File "/usr/local/searxng/searx/network/__init__.py", line 228, in _stream_generator
raise obj_or_exception
File "/usr/local/searxng/searx/network/__init__.py", line 195, in stream_chunk_to_queue
async with await network.stream(method, url, **kwargs) as response:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/contextlib.py", line 210, in __aenter__
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/httpx/_client.py", line 1573, in stream
response = await self.send(
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/httpx/_client.py", line 1617, in send
response = await self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/httpx/_client.py", line 1645, in _send_handling_auth
response = await self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/httpx/_client.py", line 1682, in _send_handling_redirects
response = await self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/httpx/_client.py", line 1719, in _send_single_request
response = await transport.handle_async_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/httpx/_transports/default.py", line 353, in handle_async_request
resp = await self._pool.handle_async_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 262, in handle_async_request
raise exc
File "/usr/lib/python3.12/site-packages/httpcore/_async/connection_pool.py", line 245, in handle_async_request
response = await connection.handle_async_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/httpcore/_async/connection.py", line 92, in handle_async_request
raise exc
File "/usr/lib/python3.12/site-packages/httpcore/_async/connection.py", line 69, in handle_async_request
stream = await self._connect(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/httpcore/_async/connection.py", line 149, in _connect
stream = await stream.start_tls(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/httpcore/_backends/anyio.py", line 78, in start_tls
raise exc
File "/usr/lib/python3.12/site-packages/httpcore/_backends/anyio.py", line 69, in start_tls
ssl_stream = await anyio.streams.tls.TLSStream.wrap(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/anyio/streams/tls.py", line 132, in wrap
await wrapper._call_sslobject_method(ssl_object.do_handshake)
File "/usr/lib/python3.12/site-packages/anyio/streams/tls.py", line 172, in _call_sslobject_method
raise EndOfStream from None
anyio.EndOfStream
[pid: 28|app: 0|req: 183/1598] 192.168.224.1 () {66 vars in 2934 bytes} [Tue Sep 24 16:46:59 2024] GET /image_proxy?url=https%3A%2F%2Flive.staticflickr.com%2F3612%2F3382159981_e3b73140e5.jpg&h=c00deda7780482d6331a6af191ecf24b6545a777df168a106d2c574b6cd73093 => generated 265 bytes in 39 msecs (HTTP/1.1 500) 8 headers in 289 bytes (1 switches on core 1)
This discussion was converted from issue #277 on September 24, 2024 22:37.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How did you install SearXNG?
What happened?
Not all pictures are rendered during a search. Search term isnt relevant to this bug. Browser logs show mostly images from live.staticflickr.com and tse1.mm.bing.net arent loaded properly, but I deactivated bing in the image search provider tab.
How To Reproduce
Search for anything and then check the image tab. Unrelated to duckduckgo, google, qwant, etc. .
Expected behavior
All pictures are loaded correctly.
Screenshots & Logs
Docker logs:
Browser logs:
Additional context
Docker compose:
Traefik:
Beta Was this translation helpful? Give feedback.
All reactions