Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Ollama service is unavailable - MacOs - Vercel #2327

Open
RVciTo opened this issue Apr 30, 2024 · 11 comments
Open

[Bug] Ollama service is unavailable - MacOs - Vercel #2327

RVciTo opened this issue Apr 30, 2024 · 11 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@RVciTo
Copy link

RVciTo commented Apr 30, 2024

💻 Operating System

macOS

📦 Environment

Vercel / Zeabur / Sealos

🌐 Browser

Safari

🐛 Bug Description

I can't use Ollama as a language model.

Ollama service is unavailable. Please check if Ollama is running properly or if the cross-origin configuration of Ollama is set correctly.

Show Details

json
{
"host": "http://localhost:11434",
"message": "please check whether your ollama service is available or set the CORS rules",
"provider": "ollama"
}

Also tried with IP address instead of Local Host. Did confirm that Ollama is running from http://localhost:11434

🚦 Expected Behavior

Being able to use Ollama as a language model

📷 Recurrence Steps

Run LobeChat through vercel
Run Ollama Locally
Try to use Ollama with LobeChat through vercel

📝 Additional Information

I followed those steps : https://lobehub.com/docs/usage/providers/ollama

@RVciTo RVciTo added the 🐛 Bug Something isn't working | 缺陷 label Apr 30, 2024
@lobehubbot
Copy link
Member

👀 @RVciTo

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@Mrered
Copy link

Mrered commented May 4, 2024

#2337

@lobehubbot
Copy link
Member

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


#2337

@zzf8264
Copy link

zzf8264 commented May 7, 2024

同样的问题,是浏览器的问题 要换个浏览器就行了 那个 Safari浏览器 那个请求头有问题

@lobehubbot
Copy link
Member

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


The same problem is caused by the browser. Just change the browser. There is something wrong with the Safari browser and the request header.

@Mrered
Copy link

Mrered commented May 7, 2024

同样的问题,是浏览器的问题 要换个浏览器就行了 那个 Safari浏览器 那个请求头有问题

我用 Arc 浏览器操作的,从来没有正常运行过

@lobehubbot
Copy link
Member

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


The same problem is caused by the browser. Just change the browser. There is something wrong with the Safari browser and the request header.

I use Arc Browser to operate it and it has never worked properly.

@vishnupriyavr
Copy link

vishnupriyavr commented May 7, 2024

Works on Brave browser for me, atleast I am not getting the CORS error message and the connectivity check in the Language Model settings passes

@arvinxx
Copy link
Contributor

arvinxx commented May 8, 2024

@Mrered 换成 Chrome 试试呢?

@Mrered
Copy link

Mrered commented May 8, 2024

@Mrered 换成 Chrome 试试呢?

目前只安装了 Arc 和 Safari ,有点不想单独再装一个 Chrome 了,等之后再测吧,目前用 OpenCat 和 Open WebUI 可正常访问。

@lobehubbot
Copy link
Member

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


@Mrered Try switching to Chrome?

At present, only Arc and Safari are installed. I don’t want to install Chrome separately. I will test it later. Currently, OpenCat and Open WebUI can be accessed normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

6 participants