I have searched the existing issues and discussions.
I am using the latest version of Open WebUI.
Installation Method
Docker
Open WebUI Version
v0.6.6 Latest dev branch
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22.04
Browser (if applicable)
Chrome (Windows), Safari (iOS)
Confirmation
I have read and followed all instructions in README.md.
I am using the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
I have listed steps to reproduce the bug in detail.
Expected Behavior
The "Web Search" button should remain visible at all times when the feature is enabled in the admin panel.
Actual Behavior
The "Web Search" button sometimes disappears on both PC (Chrome) and iOS (Safari) browsers, even though the feature is enabled in the admin panel. This prevents users from accessing the Web Search functionality.
Workaround
The issue stems from the /api/config endpoint. Normally, this endpoint returns:
{"features":{"enable_web_search":true...}}
However, when the user's cookies (access token) become invalid (not included in the request header), the enable_web_search entry is missing from the response. This occurs because the endpoint relies on cookies to identify the current user, and the enable_web_search flag is only included when a valid user session exists.
When this issue happens, I can only manually signing out and signing back to refresh the cookies and restore the functionality.
Steps to Reproduce
Log in and enable Web Search in the admin panel.
After some time, the token cookies expire and no longer included in the request header.
The /api/config endpoint no longer includes enable_web_search in the response.
The "Web Search" button disappears.
Additional Context
This issue did not occur to me prior to v0.6.6, so I wonder if recent changes in cookie management introduced this error.
Originally created by @tth37 on GitHub (Apr 28, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13276
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
- [x] I am using the latest version of Open WebUI.
### Installation Method
Docker
### Open WebUI Version
v0.6.6 Latest dev branch
### Ollama Version (if applicable)
_No response_
### Operating System
Ubuntu 22.04
### Browser (if applicable)
Chrome (Windows), Safari (iOS)
### Confirmation
- [x] I have read and followed all instructions in `README.md`.
- [x] I am using the latest version of **both** Open WebUI and Ollama.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
- [x] I have listed steps to reproduce the bug in detail.
### Expected Behavior
The "Web Search" button should remain visible at all times when the feature is enabled in the admin panel.
### Actual Behavior
The "Web Search" button **sometimes disappears** on both PC (Chrome) and iOS (Safari) browsers, even though the feature is enabled in the admin panel. This prevents users from accessing the Web Search functionality.
### Workaround
The issue stems from the `/api/config` endpoint. Normally, this endpoint returns:
```json
{
"features": {
"enable_web_search": true
...
}
}
```
However, when the **user's cookies (access token) become invalid (not included in the request header)**, the `enable_web_search` entry is missing from the response. This occurs because the endpoint relies on cookies to identify the current user, and the `enable_web_search` flag is only included when a valid user session exists.
https://github.com/open-webui/open-webui/blob/1349bc47b1bf04e03f4ed0cb2260825e76001375/backend/open_webui/main.py#L1260-L1274
When this issue happens, I can only manually signing out and signing back to **refresh the cookies** and restore the functionality.
### Steps to Reproduce
1. Log in and enable Web Search in the admin panel.
2. After some time, the token cookies expire and no longer included in the request header.
3. The `/api/config` endpoint no longer includes `enable_web_search` in the response.
4. The "Web Search" button disappears.
### Additional Context
This issue did not occur to me prior to v0.6.6, so I wonder if recent changes in cookie management introduced this error.
GiteaMirror
added the bug label 2026-05-13 03:26:29 -05:00
Should have been fixed in latest dev branch, what's your version?
v0.6.6 open-webui, when using internal ip (http) the Web Search + Image Generation + Code Interpreter buttons are not showing, but using domain with https works
version:
domain with https:
internal ip with http:
<!-- gh-comment-id:2845079445 -->
@eric2788 commented on GitHub (May 1, 2025):
> Should have been fixed in latest dev branch, what's your version?
v0.6.6 open-webui, when using internal ip (http) the Web Search + Image Generation + Code Interpreter buttons are not showing, but using domain with https works
version:

domain with https:

internal ip with http:

<!-- gh-comment-id:2845084166 -->
@eric2788 commented on GitHub (May 1, 2025):
this is the `/api/config` when using http

opps, just saw the latest release version, I am probably using dev branch btw
problem solved
<!-- gh-comment-id:2845086474 -->
@eric2788 commented on GitHub (May 1, 2025):
opps, just saw the latest release version, I am probably using dev branch btw
problem solved
@timfriedmannmai-design commented on GitHub (Apr 7, 2026):
Hello unfortunately we are here having the same problem again with version 0.8.12. On one browser on my computer web search is showing in the other it will not. Tried to clear cache to make search button visible again with no improvement. Also the /api/config call shows a lot more including search for the browser, where search still works. Any one else wih the same issue? Any workarounds known?
<!-- gh-comment-id:4200904207 -->
@timfriedmannmai-design commented on GitHub (Apr 7, 2026):
Hello unfortunately we are here having the same problem again with version 0.8.12. On one browser on my computer web search is showing in the other it will not. Tried to clear cache to make search button visible again with no improvement. Also the /api/config call shows a lot more including search for the browser, where search still works. Any one else wih the same issue? Any workarounds known?
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @tth37 on GitHub (Apr 28, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13276
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.6 Latest dev branch
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22.04
Browser (if applicable)
Chrome (Windows), Safari (iOS)
Confirmation
README.md.Expected Behavior
The "Web Search" button should remain visible at all times when the feature is enabled in the admin panel.
Actual Behavior
The "Web Search" button sometimes disappears on both PC (Chrome) and iOS (Safari) browsers, even though the feature is enabled in the admin panel. This prevents users from accessing the Web Search functionality.
Workaround
The issue stems from the
/api/configendpoint. Normally, this endpoint returns:However, when the user's cookies (access token) become invalid (not included in the request header), the
enable_web_searchentry is missing from the response. This occurs because the endpoint relies on cookies to identify the current user, and theenable_web_searchflag is only included when a valid user session exists.https://github.com/open-webui/open-webui/blob/1349bc47b1bf04e03f4ed0cb2260825e76001375/backend/open_webui/main.py#L1260-L1274
When this issue happens, I can only manually signing out and signing back to refresh the cookies and restore the functionality.
Steps to Reproduce
/api/configendpoint no longer includesenable_web_searchin the response.Additional Context
This issue did not occur to me prior to v0.6.6, so I wonder if recent changes in cookie management introduced this error.
@tjbck commented on GitHub (Apr 28, 2025):
Taking a look!
@tjbck commented on GitHub (Apr 28, 2025):
Should be addressed but testing wanted here!
@eric2788 commented on GitHub (May 1, 2025):
I got this problem on v0.6.6, when using internal ip
@tth37 commented on GitHub (May 1, 2025):
Should have been fixed in latest dev branch, what's your version?
@eric2788 commented on GitHub (May 1, 2025):
v0.6.6 open-webui, when using internal ip (http) the Web Search + Image Generation + Code Interpreter buttons are not showing, but using domain with https works
version:
domain with https:
internal ip with http:
@eric2788 commented on GitHub (May 1, 2025):
this is the
/api/configwhen using http@eric2788 commented on GitHub (May 1, 2025):
opps, just saw the latest release version, I am probably using dev branch btw
problem solved
@timfriedmannmai-design commented on GitHub (Apr 7, 2026):
Hello unfortunately we are here having the same problem again with version 0.8.12. On one browser on my computer web search is showing in the other it will not. Tried to clear cache to make search button visible again with no improvement. Also the /api/config call shows a lot more including search for the browser, where search still works. Any one else wih the same issue? Any workarounds known?