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

Request to Ollama server failed: 500 Internal Server Error[BUG] #2793

Closed
a419506442 opened this issue Jul 11, 2024 · 2 comments · Fixed by #2862
Closed

Request to Ollama server failed: 500 Internal Server Error[BUG] #2793

a419506442 opened this issue Jul 11, 2024 · 2 comments · Fixed by #2862
Labels
bug Something isn't working

Comments

@a419506442
Copy link

Describe the bug
ollama is runinng with jupyter code,but error for same component with flowise.

Request to Ollama server failed: 500 Internal Server Error\n\nError: Request to Ollama server failed: 500 Internal Server Error

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image
image

Flow
If applicable, add exported flow in order to help replicating the problem.

Setup

  • Installation [e.g. docker, npx flowise start, pnpm start]
  • Flowise Version [e.g. 1.2.11]
  • OS: [e.g. macOS, Windows, Linux]
  • Browser [e.g. chrome, safari]

Additional context
Add any other context about the problem here.

@HenryHengZJ HenryHengZJ added the bug Something isn't working label Jul 12, 2024
@stigtk
Copy link

stigtk commented Jul 15, 2024

I believe it works if you make connection to the ChatOllama - that works for me. However, using OllamaEmbeddings somehow gives the 500 internal server error. But I don't know how to fix it. Perhaps it is the wrong model name to use, but I have not solved it yet

@kb-
Copy link

kb- commented Jul 21, 2024

It works after activating MMap in addidional parameters of Ollama Embeddings
#1673 (comment)

This should be on by default

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
None yet
Development

Successfully merging a pull request may close this issue.

4 participants