Hailo-Ollama 0.5.1: Llama 3.2 3B fails with Open WebUI web search, while Qwen2 1.5B works
Summary
I am running Hailo-Ollama 0.5.1 on a Raspberry Pi 5 with an AI HAT+ 2 (Hailo-10H).
Open WebUI web search works correctly with qwen2:1.5b, but the same web-search request fails consistently with llama3.2:3b.
Both models are configured identically in Open WebUI.
The failure occurs after Open WebUI successfully retrieves the web-search results. The error is:
Response payload is not completed:
<TransferEncodingError: 400, message='Not enough data to satisfy transfer length header.'>
Environment
-
Raspberry Pi 5
-
Raspberry Pi AI HAT+ 2 / Hailo-10H
-
Hailo-Ollama: 0.5.1
-
Open WebUI: 0.11.0
-
Models:
-
Web search provider: Brave
-
Brave LLM Context is enabled
-
Open WebUI Function Calling: Legacy
-
Builtin Tools: disabled
Hailo-Ollama models
The following models are available:
deepseek_r1_distill_qwen:1.5b
llama3.2:3b
qwen2.5-coder:1.5b
qwen2.5-instruct:1.5b
qwen2:1.5b
curl http://127.0.0.1:8000/api/tags successfully returns all five models.
Reproduction
In Open WebUI, with qwen2:1.5b:
Prompt:
Give me the latest headlines on the stock market
Result:
Retrieved 3 sources
LIVE ⢠LATEST MARKET MOVES
Live updates
Micron Shares: Technical Perspective and Price Movement
Aug 5, 1:31 PM EDT
Stocks Advance as Crude Slides; Dollar Edges Lower
Aug 5, 1:30 PM EDT
Stocks Climb to Records on Robust Earnings; Economic Data Spurs Varied Moves
The request completes successfully.
With llama3.2:3b, using the same Open WebUI configuration and prompt:
Can you search the web for today's date
Open WebUI reports:
Retrieved 3 sources
Response payload is not completed:
<TransferEncodingError: 400, message='Not enough data to satisfy transfer length header.'>
I also tested with 8 search results:
Retrieved 8 sources
Response payload is not completed:
<TransferEncodingError: 400, message='Not enough data to satisfy transfer length header.'>
Therefore the search itself appears to succeed: Open WebUI receives the retrieved sources. The failure occurs while processing/completing the response from llama3.2:3b.
Open WebUI model configuration
The JSON configuration for llama3.2:3b shows:
"capabilities": {
"file_context": true,
"vision": true,
"file_upload": true,
"web_search": true,
"image_generation": true,
"code_interpreter": true,
"terminal": true,
"citations": true,
"status_updates": true,
"usage": true,
"memory": true,
"builtin_tools": false
},
"params": {
"function_calling": "legacy"
}
So web search is enabled and builtin tools are disabled.
Additional Hailo-Ollama API issue
I also noticed that:
curl http://127.0.0.1:8000/api/tags
works and returns all models.
However:
curl http://127.0.0.1:8000/api/show \
-H "Content-Type: application/json" \
-d '{"name":"qwen2:1.5b"}'
returns:
server=oatpp/1.4.0
code=500
description=Internal Server Error
stacktrace:
- [oatpp::data::type::String::operator std::string() const]: Error. Null pointer.
- [ApiController]: Error processing request
- Error processing request
This also causes the model list in AnythingLLM to remain empty, although inference itself works.
Question
Could this be a Hailo-Ollama 0.5.1 issue specific to the Hailo-compiled llama3.2:3b model, or an issue with how Hailo-Ollama handles the Open WebUI web-search/RAG request or streaming response for this model?
The interesting comparison is:
qwen2:1.5b + Open WebUI web search ā works
llama3.2:3b + Open WebUI web search ā TransferEncodingError
Both use the same Hailo-Ollama server, Open WebUI instance, Brave search configuration, and model settings.
Any suggestions for additional diagnostics would be appreciated. I can provide Hailo-Ollama logs or the exact API request/response if useful.