[GH-ISSUE #38] /api/pipelines/list 500 #28

Closed
opened 2026-10-18 21:01:42 +00:00 by bsakaguchi · 9 comments
Owner

Originally created by @openainext on GitHub (Jun 2, 2024).
Original GitHub issue: https://github.com/open-webui/pipelines/issues/38

image
/api/pipelines/list 500

Originally created by @openainext on GitHub (Jun 2, 2024). Original GitHub issue: https://github.com/open-webui/pipelines/issues/38 ![image](https://github.com/open-webui/pipelines/assets/456516/839472f4-234c-4d78-8028-912c8bf47845) /api/pipelines/list 500
Author
Owner

@melvincarvalho commented on GitHub (Jun 2, 2024):

I tried this:

image

but I didnt see pipelines in the Admin panel

image

Going here on loncalost:

/api/pipelines/list

Gives:

{"detail":"Not authenticated"}

But I'm signed in

<!-- gh-comment-id:2143962104 --> @melvincarvalho commented on GitHub (Jun 2, 2024): I tried this: ![image](https://github.com/open-webui/pipelines/assets/65864/d7e37809-c379-4d14-9279-5fadcf17d4cd) but I didnt see pipelines in the Admin panel ![image](https://github.com/open-webui/pipelines/assets/65864/c62bcc9c-1b65-4331-8aac-c4d031ac85a7) Going here on loncalost: > /api/pipelines/list Gives: > {"detail":"Not authenticated"} But I'm signed in
Author
Owner

@tjbck commented on GitHub (Jun 2, 2024):

What method did you use to install Pipelines? if they're both on docker you should use host.docker.internal instead of localhost. Keep us updated!

<!-- gh-comment-id:2143963504 --> @tjbck commented on GitHub (Jun 2, 2024): What method did you use to install Pipelines? if they're both on docker you should use `host.docker.internal` instead of `localhost`. Keep us updated!
Author
Owner

@melvincarvalho commented on GitHub (Jun 2, 2024):

Yes, both docker, I will debug, and report back, thanks!

<!-- gh-comment-id:2143965057 --> @melvincarvalho commented on GitHub (Jun 2, 2024): Yes, both docker, I will debug, and report back, thanks!
Author
Owner

@ther3zz commented on GitHub (Jun 2, 2024):

@melvincarvalho
Wondering if this one is related: https://github.com/open-webui/open-webui/issues/2723

I'm betting that if you refresh the page, your UI breaks and doesn't load.

If that's the case, just modify the config.json of open webui, something like this:

	"openai": {
		"api_base_urls": [
			"http://192.168.1.200:4000/v1",
			"http://192.168.1.200:9099"
		],
		"api_keys": [
			"sk-xxx",
			"0p3n-w3bu!"
		],
		"enable": true
	},

In this example, the first IP would be my LiteLLM instance and second IP is the piplines instance. The first api_key is for litellm and second one is for pipelines.

<!-- gh-comment-id:2143994515 --> @ther3zz commented on GitHub (Jun 2, 2024): @melvincarvalho Wondering if this one is related: https://github.com/open-webui/open-webui/issues/2723 I'm betting that if you refresh the page, your UI breaks and doesn't load. If that's the case, just modify the config.json of open webui, something like this: ``` "openai": { "api_base_urls": [ "http://192.168.1.200:4000/v1", "http://192.168.1.200:9099" ], "api_keys": [ "sk-xxx", "0p3n-w3bu!" ], "enable": true }, ``` In this example, the first IP would be my LiteLLM instance and second IP is the piplines instance. The first api_key is for litellm and second one is for pipelines.
Author
Owner

@melvincarvalho commented on GitHub (Jun 3, 2024):

My 2 commands

open-webui

run -d -p 6111:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main

pipelines

docker run -d -p 9099:9099 --add-host=host.docker.internal:host-gateway -v pipelines:/app/pipelines --name pipelines --restart always ghcr.io/open-webui/pipelines:main

I figured out where the pipelines tab is, but it's empty:

image

<!-- gh-comment-id:2145501983 --> @melvincarvalho commented on GitHub (Jun 3, 2024): My 2 commands ## open-webui > run -d -p 6111:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main ## pipelines > docker run -d -p 9099:9099 --add-host=host.docker.internal:host-gateway -v pipelines:/app/pipelines --name pipelines --restart always ghcr.io/open-webui/pipelines:main I figured out where the pipelines tab is, but it's empty: ![image](https://github.com/open-webui/pipelines/assets/65864/d7fb8ce1-a97d-4c6a-99b7-6ce7140672d5)
Author
Owner

@melvincarvalho commented on GitHub (Jun 3, 2024):

debug

When clicking refresh in connections it did give me this, although both dockers are running

image

<!-- gh-comment-id:2145504852 --> @melvincarvalho commented on GitHub (Jun 3, 2024): ## debug When clicking refresh in connections it did give me this, although both dockers are running ![image](https://github.com/open-webui/pipelines/assets/65864/3bb2b1e7-655b-428e-a780-1fca28ec6c3b)
Author
Owner

@timmytaco45 commented on GitHub (Jun 3, 2024):

image

I get this when openai url is host.docker.internal:9099 and when it is localhost:9099 I get the 'openai: network problem'. I have never successfully used a pipe, filter, or anything without error.

<!-- gh-comment-id:2146162584 --> @timmytaco45 commented on GitHub (Jun 3, 2024): <img width="574" alt="image" src="https://github.com/open-webui/pipelines/assets/171052332/1bcef1e2-4579-4b6e-b81b-d910fc373d83"> I get this when openai url is host.docker.internal:9099 and when it is localhost:9099 I get the 'openai: network problem'. I have never successfully used a pipe, filter, or anything without error.
Author
Owner

@tjbck commented on GitHub (Jun 3, 2024):

@timmytaco45 Did you install any pipelines?

<!-- gh-comment-id:2146192289 --> @tjbck commented on GitHub (Jun 3, 2024): @timmytaco45 Did you install any pipelines?
Author
Owner

@timmytaco45 commented on GitHub (Jun 3, 2024):

I added the urls for 'function calling python' and 'applescript'. They were visible but neither worked and broke normal chat use so I assumed the /examples folder was being sorted out. I will try again.

<!-- gh-comment-id:2146205810 --> @timmytaco45 commented on GitHub (Jun 3, 2024): I added the urls for 'function calling python' and 'applescript'. They were visible but neither worked and broke normal chat use so I assumed the /examples folder was being sorted out. I will try again.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/pipelines#28
No description provided.