Unable to connect to the Internet #3938

Closed
opened 2025-11-11 15:42:50 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @wangyanmin123 on GitHub (Feb 18, 2025).

Open-webui uses the search engine duckduckgo, but still cannot achieve the networking function. Can you give me some guidance? Thank you very much

open-webui 0.15.4, deepseek-R1 32b installed 0.15.0 before and it also cannot connect to the Internet. Also, why didn't I think about it the first time, but I got it the second time I asked?

All three options are selected and the default option is displayed.:

Image

Image

Image
Originally created by @wangyanmin123 on GitHub (Feb 18, 2025). Open-webui uses the search engine duckduckgo, but still cannot achieve the networking function. Can you give me some guidance? Thank you very much open-webui 0.15.4, deepseek-R1 32b installed 0.15.0 before and it also cannot connect to the Internet. Also, why didn't I think about it the first time, but I got it the second time I asked? All three options are selected and the default option is displayed.: ![Image](https://github.com/user-attachments/assets/ccb0b931-9c31-4fd5-863c-3824b070a36d) ![Image](https://github.com/user-attachments/assets/67590122-6413-40e6-babd-780895179814) <img width="1194" alt="Image" src="https://github.com/user-attachments/assets/b80f867b-2644-4648-8e82-2bd1d21e3a74" />
Author
Owner

@wangyanmin123 commented on GitHub (Feb 18, 2025):

I used the local deepseek-R1 32b model deployed using the tool ollama. I tested a smaller model and the same problem occurred. open-webui was installed using pip install openwebui, python 3.11

@wangyanmin123 commented on GitHub (Feb 18, 2025): I used the local deepseek-R1 32b model deployed using the tool ollama. I tested a smaller model and the same problem occurred. open-webui was installed using pip install openwebui, python 3.11
Author
Owner

@wangyanmin123 commented on GitHub (Feb 18, 2025):

After many attempts, sometimes it shows that the web page is searched, but it is still not sent back to the model for output display. Can you help me?

Image

Image

@wangyanmin123 commented on GitHub (Feb 18, 2025): After many attempts, sometimes it shows that the web page is searched, but it is still not sent back to the model for output display. Can you help me? <img width="1146" alt="Image" src="https://github.com/user-attachments/assets/752b811c-82db-4bb2-a181-fdd4e2aa5a48" /> ![Image](https://github.com/user-attachments/assets/53e2fb1f-58a8-4132-a7dc-7e20841f18f6)
Author
Owner

@crema-lida commented on GitHub (Feb 18, 2025):

Same problem here. I tried docker run with --env GLOBAL_LOG_LEVEL="DEBUG" and this is what i got:

{
  "DEBUG [open_webui.utils.middleware] form_data": {
    "stream": true,
    "model": "deepseek-r1:14b",
    "messages": [
      {
        "role": "user",
        "content": "今天有什么科技新闻"
      }
    ],
    "features": {
      "image_generation": false,
      "code_interpreter": false,
      "web_search": true
    },
    "variables": {
      "{{USER_NAME}}": "Crema",
      "{{USER_LOCATION}}": "Unknown",
      "{{CURRENT_DATETIME}}": "2025-02-18 21:17:13",
      "{{CURRENT_DATE}}": "2025-02-18",
      "{{CURRENT_TIME}}": "21:17:13",
      "{{CURRENT_WEEKDAY}}": "Tuesday",
      "{{CURRENT_TIMEZONE}}": "Asia/Shanghai",
      "{{USER_LANGUAGE}}": "zh-CN"
    },
    "metadata": {
      "user_id": "6ca79db1-5c15-4f2f-ae5d-67eb8a777f63",
      "chat_id": "02b23985-54c9-4ec0-8073-af999e051efd",
      "message_id": "47d20db1-a452-45cd-afdf-6e5f10ca07fb",
      "session_id": "xPhcaqau1574rOt3AAAH",
      "tool_ids": null,
      "files": null,
      "features": {
        "image_generation": false,
        "code_interpreter": false,
        "web_search": true
      },
      "variables": {
        "{{USER_NAME}}": "Crema",
        "{{USER_LOCATION}}": "Unknown",
        "{{CURRENT_DATETIME}}": "2025-02-18 21:17:13",
        "{{CURRENT_DATE}}": "2025-02-18",
        "{{CURRENT_TIME}}": "21:17:13",
        "{{CURRENT_WEEKDAY}}": "Tuesday",
        "{{CURRENT_TIMEZONE}}": "Asia/Shanghai",
        "{{USER_LANGUAGE}}": "zh-CN"
      },
      "model": null,
      "direct": false
    },
    "options": {}
  }
}

And the system did return search results:

DEBUG [open_webui.routers.retrieval] web_results: [SearchResult(link='https://news.sina.com.cn/c/2025-02-18/doc-inekvxpr4219993.shtml?cre=tianyi', title='科技圈AI速递:昨夜今晨科技热点一览丨2025年2月18日_新浪新闻', snippet='科技圈ai速递:昨夜今晨科技热点一览丨2025年2月18日. 2025年02月18日 06:32 新浪ai. ... 图片新闻. 南京:各行各业复工 长江航运繁忙 ...'), SearchResult(link='https://news.cctv.com/2025/02/18/ARTIO0dBm2hvVoXNqejeGIRc250218.shtml', title='高寒高海拔、复杂地形地质勘查,我国这套系统成功拿捏!_新闻频道_央视网(cctv.com)', snippet='近日,由中国科学院空天信息创新研究院研制的我国首套直升机航空大地电磁探测系统,顺利完成5000米高寒高海拔、复杂地形地貌地区的地质勘查任务,为国家重大铁路建设工程的设计与施工提供了重要支撑。 ... 来源:央视新闻 | 2025年02月18日 12:31:17. 央视新闻 ...'), SearchResult(link='https://sydw.huatu.com/2025/0218/2801368.html', title='每日时政早报(2025年2月18日) - 华图事业单位', snippet='每日时政早报(2025年2月18日) ... (科技日报) 4.受气温回升影响,17日10时,黄河内蒙古河段上段麻黄沟省界断面至海勃湾坝址开始解冻开河,长度10千米,标志着黄河内蒙古河段正式进入2024—2025年度开河期。 ... (央视新闻) 9.截至2月17日12时,四川筠连县"2·8 ...')]

However the model didn't seem to obtain the search results. Don't know what's happening.
I used duckduckgo with full context mode turned on.

@crema-lida commented on GitHub (Feb 18, 2025): Same problem here. I tried `docker run` with `--env GLOBAL_LOG_LEVEL="DEBUG"` and this is what i got: ```json { "DEBUG [open_webui.utils.middleware] form_data": { "stream": true, "model": "deepseek-r1:14b", "messages": [ { "role": "user", "content": "今天有什么科技新闻" } ], "features": { "image_generation": false, "code_interpreter": false, "web_search": true }, "variables": { "{{USER_NAME}}": "Crema", "{{USER_LOCATION}}": "Unknown", "{{CURRENT_DATETIME}}": "2025-02-18 21:17:13", "{{CURRENT_DATE}}": "2025-02-18", "{{CURRENT_TIME}}": "21:17:13", "{{CURRENT_WEEKDAY}}": "Tuesday", "{{CURRENT_TIMEZONE}}": "Asia/Shanghai", "{{USER_LANGUAGE}}": "zh-CN" }, "metadata": { "user_id": "6ca79db1-5c15-4f2f-ae5d-67eb8a777f63", "chat_id": "02b23985-54c9-4ec0-8073-af999e051efd", "message_id": "47d20db1-a452-45cd-afdf-6e5f10ca07fb", "session_id": "xPhcaqau1574rOt3AAAH", "tool_ids": null, "files": null, "features": { "image_generation": false, "code_interpreter": false, "web_search": true }, "variables": { "{{USER_NAME}}": "Crema", "{{USER_LOCATION}}": "Unknown", "{{CURRENT_DATETIME}}": "2025-02-18 21:17:13", "{{CURRENT_DATE}}": "2025-02-18", "{{CURRENT_TIME}}": "21:17:13", "{{CURRENT_WEEKDAY}}": "Tuesday", "{{CURRENT_TIMEZONE}}": "Asia/Shanghai", "{{USER_LANGUAGE}}": "zh-CN" }, "model": null, "direct": false }, "options": {} } } ``` And the system did return search results: ``` DEBUG [open_webui.routers.retrieval] web_results: [SearchResult(link='https://news.sina.com.cn/c/2025-02-18/doc-inekvxpr4219993.shtml?cre=tianyi', title='科技圈AI速递:昨夜今晨科技热点一览丨2025年2月18日_新浪新闻', snippet='科技圈ai速递:昨夜今晨科技热点一览丨2025年2月18日. 2025年02月18日 06:32 新浪ai. ... 图片新闻. 南京:各行各业复工 长江航运繁忙 ...'), SearchResult(link='https://news.cctv.com/2025/02/18/ARTIO0dBm2hvVoXNqejeGIRc250218.shtml', title='高寒高海拔、复杂地形地质勘查,我国这套系统成功拿捏!_新闻频道_央视网(cctv.com)', snippet='近日,由中国科学院空天信息创新研究院研制的我国首套直升机航空大地电磁探测系统,顺利完成5000米高寒高海拔、复杂地形地貌地区的地质勘查任务,为国家重大铁路建设工程的设计与施工提供了重要支撑。 ... 来源:央视新闻 | 2025年02月18日 12:31:17. 央视新闻 ...'), SearchResult(link='https://sydw.huatu.com/2025/0218/2801368.html', title='每日时政早报(2025年2月18日) - 华图事业单位', snippet='每日时政早报(2025年2月18日) ... (科技日报) 4.受气温回升影响,17日10时,黄河内蒙古河段上段麻黄沟省界断面至海勃湾坝址开始解冻开河,长度10千米,标志着黄河内蒙古河段正式进入2024—2025年度开河期。 ... (央视新闻) 9.截至2月17日12时,四川筠连县"2·8 ...')] ``` However the model didn't seem to obtain the search results. Don't know what's happening. I used duckduckgo with full context mode turned on.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#3938