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

Ollama gives error Connection refused. #304

Open
nohYoom opened this issue Oct 25, 2024 · 5 comments · May be fixed by #381
Open

Ollama gives error Connection refused. #304

nohYoom opened this issue Oct 25, 2024 · 5 comments · May be fixed by #381

Comments

@nohYoom
Copy link

nohYoom commented Oct 25, 2024

File "/home/nohyoom/PycharmProjects/PythonProject/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 89, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectError: [Errno 111] Connection refused

I tried using Windows, but it didn't work and gave me this error, so I tried WSL, but it still doesn't work.

@Jaswanth-Pillella
Copy link

Yes, I'm having the same error. I am trying in Google Colab

@ArminFaiom
Copy link

Did anyone find any solution?

@MAXNORM8650
Copy link

Same issue: httpx.ConnectError: All connection attempts failed

@mchiang0610
Copy link
Member

Hey @nohYoom @Jaswanth-Pillella @ArminFaiom @MAXNORM8650 we're trying to get to the bottom of this.

The error message shown doesn't seem like it's running ollama (?). Possible to show us how to reproduce this with Ollama?

@antoninoLorenzo
Copy link

@Jaswanth-Pillella how are you running it Google Colab?

wmichelin added a commit to wmichelin/ollama-python that referenced this issue Dec 15, 2024
wmichelin added a commit to wmichelin/ollama-python that referenced this issue Dec 15, 2024
wmichelin added a commit to wmichelin/ollama-python that referenced this issue Dec 15, 2024
wmichelin added a commit to wmichelin/ollama-python that referenced this issue Dec 15, 2024
wmichelin added a commit to wmichelin/ollama-python that referenced this issue Dec 15, 2024
wmichelin added a commit to wmichelin/ollama-python that referenced this issue Dec 15, 2024
wmichelin added a commit to wmichelin/ollama-python that referenced this issue Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants