lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Bedrock / Azure / Mistral / DeepSeek),Knowledge Base(file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
37.47k stars 8.84k forks source link

[Bug]无法连接Ollama远程地址,但是我是使用Open WebUI是可以正常链接Ollama地址进行对话的,搞不懂了。 #3100

Open alanblogooo opened 1 month ago

alanblogooo commented 1 month ago

📦 部署环境

Docker

📌 软件版本

v1.1.16

💻 系统环境

Other Linux

🌐 浏览器

Edge

🐛 问题描述

[Bug]无法连接Ollama远程地址,但是我是使用Open WebUI是可以正常链接Ollama地址进行对话的,搞不懂了。

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

lobehubbot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


📦 Deployment environment

Docker

📌 Software version

v1.1.16

💻 System environment

Other Linux

🌐 Browser

Edge

🐛 Problem description

[Bug] Unable to connect to Ollama remote address, but I can connect to Ollama address normally for conversation using Open WebUI, I don’t understand.

📷 Steps to reproduce

No response

🚦 Expected results

No response

📝 Supplementary information

No response

lobehubbot commented 1 month ago

👀 @alanblogooo

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

rogerc66 commented 1 month ago

Same issue here

hhhguany commented 1 month ago

I have the same issue.

htdohk commented 1 month ago

因为HTTPS的问题。要么在Chrome设置里“允许不安全”,或者将http进行反向代理到https就OK了。

lobehubbot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Because of HTTPS issues. Either "Allow insecure" in Chrome settings, or reverse proxy http to https and it will be OK.

cy948 commented 1 month ago

如果你的服务器可以访问到 ollama 的服务的话,可以尝试关掉“客户端请求”,看看能不能解决跨域问题。

lobehubbot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


If your server can access ollama's services, you can try turning off "client requests" to see if the cross-domain problem can be solved.

pdxrlj commented 1 day ago

me too