[GH-ISSUE #11674] gpt-oss:20b web search broken error 402 #69780

Closed
opened 2026-05-04 19:13:12 -05:00 by GiteaMirror · 7 comments
Owner

Originally created by @2jfs904judsw20600jikn613d0dookl23jsig on GitHub (Aug 5, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/11674

Originally assigned to: @ParthSareen on GitHub.

What is the issue?

Error: failed to crawl URL https://abc7.com/place/calabasas/: crawl API error (status 402): unknown error
Thought for 0.8 seconds

Searching for Calabasas mobile home fire April 1 2025…
Error: search error: search API error (status 402): unknown error
Thought for 0.4 seconds

Searching for Calabasas news April 2025…
Error: search error: search API error (status 402): unknown error
Thought for 0.4 seconds

Searching for Calabasas news 2025…
Error: search error: search API error (status 402): unknown error
Thought for 0.4 seconds

Searching for Calabasas fire 2025…
Error: search error: search API error (status 402): unknown error
Thought for 0.4 seconds

Scrolling
Error: failed to crawl URL https://foxla.com/news/calabasas-mobile-home-fire: crawl API error (status 402): unknown error
Thought for 0.8 seconds

Searching for August 5 2025 Calabasas news…
Error: search error: search API error (status 402): unknown error
Thought for 0.8 seconds

Scrolling
Error: failed to crawl URL https://r.jina.ai/http://foxla.com/news/calabasas-mobile-home-fire: crawl API error (status 402): unknown error
Thought for 1.4 seconds

Scrolling
Error: failed to crawl URL https://r.jina.ai/http://patch.com/california/calabasas: crawl API error (status 402): unknown error
Thought for 0.5 seconds

Searching for Los Angeles Times Calabasas 2025…
Error: search error: search API error (status 402): unknown error
Thought for 0.9 seconds

Scrolling
Error: failed to crawl URL https://www.latimes.com: crawl API error (status 402): unknown err

Relevant log output

time=2025-08-05T10:21:47.298-07:00 level=INFO source=app_windows.go:272 msg="starting Ollama" app=C:\Users\admin\AppData\Local\Programs\Ollama version=0.11.0 OS=Windows/10.0.26100
time=2025-08-05T10:21:47.355-07:00 level=INFO source=app.go:214 msg="initialized tools registry" tool_count=0
time=2025-08-05T10:21:47.355-07:00 level=INFO source=app.go:229 msg="starting ollama server"
time=2025-08-05T10:21:47.542-07:00 level=INFO source=app.go:257 msg="starting ui server" port=54253
time=2025-08-05T10:21:50.543-07:00 level=INFO source=updater.go:252 msg="beginning update checker" interval=1h0m0s
time=2025-08-05T10:36:55.402-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/settings http.pattern="GET /api/v1/settings" http.status=200 http.d=507µs request_id=1754415415401774000 version=0.11.0
time=2025-08-05T10:36:55.542-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/me http.pattern="GET /api/v1/me" http.status=200 http.d=151.1788ms request_id=1754415415390907100 version=0.11.0
time=2025-08-05T10:36:55.626-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/me http.pattern="GET /api/v1/me" http.status=200 http.d=82.6796ms request_id=1754415415543423500 version=0.11.0
time=2025-08-05T10:45:49.951-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/me http.pattern="GET /api/v1/me" http.status=200 http.d=183.2084ms request_id=1754415949767960700 version=0.11.0
time=2025-08-05T10:45:50.001-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/models http.pattern="GET /api/v1/models" http.status=200 http.d=214.7114ms request_id=1754415949786426000 version=0.11.0
time=2025-08-05T10:45:50.077-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/model/gpt-oss:20b/capabilities http.pattern="GET /api/v1/model/{model}/capabilities" http.status=200 http.d=72.0391ms request_id=1754415950005019000 version=0.11.0
time=2025-08-05T10:45:57.647-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/connect http.pattern="GET /api/v1/connect" http.status=200 http.d=2.0042ms request_id=1754415957645427200 version=0.11.0
time=2025-08-05T10:46:28.257-07:00 level=INFO source=app_windows.go:272 msg="starting Ollama" app=C:\Users\admin\AppData\Local\Programs\Ollama version=0.11.0 OS=Windows/10.0.26100
time=2025-08-05T10:46:28.351-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/me http.pattern="GET /api/v1/me" http.status=200 http.d=81.9847ms request_id=1754415988269540700 version=0.11.0
time=2025-08-05T10:46:32.840-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/chats http.pattern="GET /api/v1/chats" http.status=200 http.d=4.9083ms request_id=1754415992835341600 version=0.11.0
time=2025-08-05T10:46:33.660-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/settings http.pattern="GET /api/v1/settings" http.status=200 http.d=0s request_id=1754415993660038300 version=0.11.0
time=2025-08-05T10:46:33.743-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/me http.pattern="GET /api/v1/me" http.status=200 http.d=81.5678ms request_id=1754415993662352100 version=0.11.0
time=2025-08-05T10:47:14.232-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/chats http.pattern="GET /api/v1/chats" http.status=200 http.d=0s request_id=1754416034232262700 version=0.11.0
time=2025-08-05T10:47:14.373-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/models http.pattern="GET /api/v1/models" http.status=200 http.d=140.9607ms request_id=1754416034232262700 version=0.11.0
time=2025-08-05T10:47:14.940-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/chat/0198636a-0394-71f7-a873-488782cc05da http.pattern="GET /api/v1/chat/{id}" http.status=200 http.d=2.6674ms request_id=1754416034937638300 version=0.11.0
time=2025-08-05T10:47:17.989-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/chats http.pattern="GET /api/v1/chats" http.status=200 http.d=1.2847ms request_id=1754416037988614700 version=0.11.0
time=2025-08-05T10:47:18.010-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/chat/01987b58-4058-74ec-8f8f-74a211daba48 http.pattern="GET /api/v1/chat/{id}" http.status=200 http.d=7.0988ms request_id=1754416038003615200 version=0.11.0
time=2025-08-05T10:47:18.091-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/models http.pattern="GET /api/v1/models" http.status=200 http.d=87.8743ms request_id=1754416038003615200 version=0.11.0
time=2025-08-05T10:47:21.965-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=POST http.path=/api/v1/chat/new http.pattern="POST /api/v1/chat/{id}" http.status=200 http.d=3.9887627s request_id=1754416037976322800 version=0.11.0
time=2025-08-05T10:48:01.140-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=POST http.path=/api/v1/chat/01987b58-4058-74ec-8f8f-74a211daba48 http.pattern="POST /api/v1/chat/{id}" http.status=200 http.d=26.6617755s request_id=1754416054479063000 version=0.11.0

OS

Windows

GPU

Nvidia

CPU

Intel

Ollama version

ollama version is 0.11.0

Originally created by @2jfs904judsw20600jikn613d0dookl23jsig on GitHub (Aug 5, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/11674 Originally assigned to: @ParthSareen on GitHub. ### What is the issue? Error: failed to crawl URL https://abc7.com/place/calabasas/: crawl API error (status 402): unknown error Thought for 0.8 seconds Searching for Calabasas mobile home fire April 1 2025… Error: search error: search API error (status 402): unknown error Thought for 0.4 seconds Searching for Calabasas news April 2025… Error: search error: search API error (status 402): unknown error Thought for 0.4 seconds Searching for Calabasas news 2025… Error: search error: search API error (status 402): unknown error Thought for 0.4 seconds Searching for Calabasas fire 2025… Error: search error: search API error (status 402): unknown error Thought for 0.4 seconds Scrolling Error: failed to crawl URL https://foxla.com/news/calabasas-mobile-home-fire: crawl API error (status 402): unknown error Thought for 0.8 seconds Searching for August 5 2025 Calabasas news… Error: search error: search API error (status 402): unknown error Thought for 0.8 seconds Scrolling Error: failed to crawl URL https://r.jina.ai/http://foxla.com/news/calabasas-mobile-home-fire: crawl API error (status 402): unknown error Thought for 1.4 seconds Scrolling Error: failed to crawl URL https://r.jina.ai/http://patch.com/california/calabasas: crawl API error (status 402): unknown error Thought for 0.5 seconds Searching for Los Angeles Times Calabasas 2025… Error: search error: search API error (status 402): unknown error Thought for 0.9 seconds Scrolling Error: failed to crawl URL https://www.latimes.com: crawl API error (status 402): unknown err ### Relevant log output ```shell time=2025-08-05T10:21:47.298-07:00 level=INFO source=app_windows.go:272 msg="starting Ollama" app=C:\Users\admin\AppData\Local\Programs\Ollama version=0.11.0 OS=Windows/10.0.26100 time=2025-08-05T10:21:47.355-07:00 level=INFO source=app.go:214 msg="initialized tools registry" tool_count=0 time=2025-08-05T10:21:47.355-07:00 level=INFO source=app.go:229 msg="starting ollama server" time=2025-08-05T10:21:47.542-07:00 level=INFO source=app.go:257 msg="starting ui server" port=54253 time=2025-08-05T10:21:50.543-07:00 level=INFO source=updater.go:252 msg="beginning update checker" interval=1h0m0s time=2025-08-05T10:36:55.402-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/settings http.pattern="GET /api/v1/settings" http.status=200 http.d=507µs request_id=1754415415401774000 version=0.11.0 time=2025-08-05T10:36:55.542-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/me http.pattern="GET /api/v1/me" http.status=200 http.d=151.1788ms request_id=1754415415390907100 version=0.11.0 time=2025-08-05T10:36:55.626-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/me http.pattern="GET /api/v1/me" http.status=200 http.d=82.6796ms request_id=1754415415543423500 version=0.11.0 time=2025-08-05T10:45:49.951-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/me http.pattern="GET /api/v1/me" http.status=200 http.d=183.2084ms request_id=1754415949767960700 version=0.11.0 time=2025-08-05T10:45:50.001-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/models http.pattern="GET /api/v1/models" http.status=200 http.d=214.7114ms request_id=1754415949786426000 version=0.11.0 time=2025-08-05T10:45:50.077-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/model/gpt-oss:20b/capabilities http.pattern="GET /api/v1/model/{model}/capabilities" http.status=200 http.d=72.0391ms request_id=1754415950005019000 version=0.11.0 time=2025-08-05T10:45:57.647-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/connect http.pattern="GET /api/v1/connect" http.status=200 http.d=2.0042ms request_id=1754415957645427200 version=0.11.0 time=2025-08-05T10:46:28.257-07:00 level=INFO source=app_windows.go:272 msg="starting Ollama" app=C:\Users\admin\AppData\Local\Programs\Ollama version=0.11.0 OS=Windows/10.0.26100 time=2025-08-05T10:46:28.351-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/me http.pattern="GET /api/v1/me" http.status=200 http.d=81.9847ms request_id=1754415988269540700 version=0.11.0 time=2025-08-05T10:46:32.840-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/chats http.pattern="GET /api/v1/chats" http.status=200 http.d=4.9083ms request_id=1754415992835341600 version=0.11.0 time=2025-08-05T10:46:33.660-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/settings http.pattern="GET /api/v1/settings" http.status=200 http.d=0s request_id=1754415993660038300 version=0.11.0 time=2025-08-05T10:46:33.743-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/me http.pattern="GET /api/v1/me" http.status=200 http.d=81.5678ms request_id=1754415993662352100 version=0.11.0 time=2025-08-05T10:47:14.232-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/chats http.pattern="GET /api/v1/chats" http.status=200 http.d=0s request_id=1754416034232262700 version=0.11.0 time=2025-08-05T10:47:14.373-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/models http.pattern="GET /api/v1/models" http.status=200 http.d=140.9607ms request_id=1754416034232262700 version=0.11.0 time=2025-08-05T10:47:14.940-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/chat/0198636a-0394-71f7-a873-488782cc05da http.pattern="GET /api/v1/chat/{id}" http.status=200 http.d=2.6674ms request_id=1754416034937638300 version=0.11.0 time=2025-08-05T10:47:17.989-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/chats http.pattern="GET /api/v1/chats" http.status=200 http.d=1.2847ms request_id=1754416037988614700 version=0.11.0 time=2025-08-05T10:47:18.010-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/chat/01987b58-4058-74ec-8f8f-74a211daba48 http.pattern="GET /api/v1/chat/{id}" http.status=200 http.d=7.0988ms request_id=1754416038003615200 version=0.11.0 time=2025-08-05T10:47:18.091-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=GET http.path=/api/v1/models http.pattern="GET /api/v1/models" http.status=200 http.d=87.8743ms request_id=1754416038003615200 version=0.11.0 time=2025-08-05T10:47:21.965-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=POST http.path=/api/v1/chat/new http.pattern="POST /api/v1/chat/{id}" http.status=200 http.d=3.9887627s request_id=1754416037976322800 version=0.11.0 time=2025-08-05T10:48:01.140-07:00 level=INFO source=ui.go:166 msg=site.serveHTTP http.method=POST http.path=/api/v1/chat/01987b58-4058-74ec-8f8f-74a211daba48 http.pattern="POST /api/v1/chat/{id}" http.status=200 http.d=26.6617755s request_id=1754416054479063000 version=0.11.0 ``` ### OS Windows ### GPU Nvidia ### CPU Intel ### Ollama version ollama version is 0.11.0
GiteaMirror added the bug label 2026-05-04 19:13:12 -05:00
Author
Owner

@VimalMollyn commented on GitHub (Aug 5, 2025):

Bumping, getting the same issue.

<!-- gh-comment-id:3156091721 --> @VimalMollyn commented on GitHub (Aug 5, 2025): Bumping, getting the same issue.
Author
Owner

@ParthSareen commented on GitHub (Aug 5, 2025):

Hey we missed rendering this in the UI but websearch is part of turbo and you probably don't have enough credits left to use it. We're still reworking credits do want to make it useable

<!-- gh-comment-id:3156284904 --> @ParthSareen commented on GitHub (Aug 5, 2025): Hey we missed rendering this in the UI but websearch is part of turbo and you probably don't have enough credits left to use it. We're still reworking credits do want to make it useable
Author
Owner

@2jfs904judsw20600jikn613d0dookl23jsig commented on GitHub (Aug 5, 2025):

Hey we missed rendering this in the UI but websearch is part of turbo and you probably don't have enough credits left to use it. We're still reworking credits do want to make it useable

Makes sense! Also missed it in the marketing - websearch has not been communicated to be dependent on Turbo - check the release logs 0.11.0 announcement :)

Also oddly enough I don't entirely know if thats the case - web search works for me but only with some sites (like 10% of the time). I'm not a turbo subscriber.

<!-- gh-comment-id:3156294684 --> @2jfs904judsw20600jikn613d0dookl23jsig commented on GitHub (Aug 5, 2025): > Hey we missed rendering this in the UI but websearch is part of turbo and you probably don't have enough credits left to use it. We're still reworking credits do want to make it useable Makes sense! Also missed it in the marketing - websearch has not been communicated to be dependent on Turbo - check the release logs 0.11.0 announcement :) Also oddly enough I don't entirely know if thats the case - web search works for me but only with some sites (like 10% of the time). I'm not a turbo subscriber.
Author
Owner

@ParthSareen commented on GitHub (Aug 5, 2025):

@2jfs904judsw20600jikn613d0dookl23jsig

If you're signed in it's included as part of a feature. I've changed the limits. Should be working for everyone now. Please ping if still failing 🙏🏽

<!-- gh-comment-id:3156314775 --> @ParthSareen commented on GitHub (Aug 5, 2025): @2jfs904judsw20600jikn613d0dookl23jsig If you're signed in it's included as part of a feature. I've changed the limits. Should be working for everyone now. Please ping if still failing 🙏🏽
Author
Owner

@ericdrgn commented on GitHub (Aug 5, 2025):

Thanks @ParthSareen

Definitely working now! Since it's a part of Turbo/Ollama account are you all releasing the source for how you're doing the web searches or are you keeping that out of the source code?

Asking because it would be nice if we could run that locally ourselves too, saves you all from serving free users web searches too if it's easy enough for us to implement locally and tie into ollama

<!-- gh-comment-id:3156473328 --> @ericdrgn commented on GitHub (Aug 5, 2025): Thanks @ParthSareen Definitely working now! Since it's a part of Turbo/Ollama account are you all releasing the source for how you're doing the web searches or are you keeping that out of the source code? Asking because it would be nice if we could run that locally ourselves too, saves you all from serving free users web searches too if it's easy enough for us to implement locally and tie into ollama
Author
Owner

@ParthSareen commented on GitHub (Aug 5, 2025):

Thanks @ParthSareen

Definitely working now! Since it's a part of Turbo/Ollama account are you all releasing the source for how you're doing the web searches or are you keeping that out of the source code?

As it stands planning to when things are more stable – it's been a bit crazy haha. We are using a go version of the following: https://github.com/openai/gpt-oss/tree/main/gpt_oss/tools/simple_browser

<!-- gh-comment-id:3156483675 --> @ParthSareen commented on GitHub (Aug 5, 2025): > Thanks [@ParthSareen](https://github.com/ParthSareen) > > Definitely working now! Since it's a part of Turbo/Ollama account are you all releasing the source for how you're doing the web searches or are you keeping that out of the source code? As it stands planning to when things are more stable – it's been a bit crazy haha. We are using a go version of the following: https://github.com/openai/gpt-oss/tree/main/gpt_oss/tools/simple_browser
Author
Owner

@ericdrgn commented on GitHub (Aug 5, 2025):

Thanks @ParthSareen
Definitely working now! Since it's a part of Turbo/Ollama account are you all releasing the source for how you're doing the web searches or are you keeping that out of the source code?

As it stands planning to when things are more stable – it's been a bit crazy haha. We are using a go version of the following: https://github.com/openai/gpt-oss/tree/main/gpt_oss/tools/simple_browser

Awesome, happy you all are always committed to OSS! Thanks for sharing what you are using too.

I can only imagine how crazy it's been, going from barely launching a full GUI to throwing in a ton more features and supporting this gpt-oss day zero. You (and the rest of Ollama team) are cooking, thanks for your efforts!

<!-- gh-comment-id:3156497580 --> @ericdrgn commented on GitHub (Aug 5, 2025): > > Thanks [@ParthSareen](https://github.com/ParthSareen) > > Definitely working now! Since it's a part of Turbo/Ollama account are you all releasing the source for how you're doing the web searches or are you keeping that out of the source code? > > As it stands planning to when things are more stable – it's been a bit crazy haha. We are using a go version of the following: https://github.com/openai/gpt-oss/tree/main/gpt_oss/tools/simple_browser Awesome, happy you all are always committed to OSS! Thanks for sharing what you are using too. I can only imagine how crazy it's been, going from barely launching a full GUI to throwing in a ton more features and supporting this gpt-oss day zero. You (and the rest of Ollama team) are cooking, thanks for your efforts!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#69780