[GH-ISSUE #45] Failed to create session 403 / GET /files 403 forbidden #28

Closed
opened 2026-10-18 21:09:54 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @Joly0 on GitHub (Mar 11, 2026).
Original GitHub issue: https://github.com/open-webui/open-terminal/issues/45

Hey, i have an existing multi-user open-webui instance running and i wanted to add open-terminals with the new OPEN_TERMINAL_MULTI_USER=true option. The compose i am using is:

services:
  open-terminal:
    hostname: open-terminal
    image: ghcr.io/open-webui/open-terminal
    restart: unless-stopped
    ports:
      - 8800:8000
    networks:
      - owui-net
    volumes:
      - /data/open-terminal:/home
    environment:
      - OPEN_TERMINAL_MULTI_USER=true
      - OPEN_TERMINAL_API_KEY=HIDDEN

I added open-terminal via the admin interface of the owui instance like this:

Image and while our chat model (atm gpt-5.4) can access and work with the terminal (when enabled separately in the chat session, which also works), there seems to be some kind of problem i am not sure how to solve: Image So the terminal sidebar cant seem to get a connection, and cant list my files, when i ask the llm directly though, its properly able to list them all: Image In the meantime the backend keeps throwing this error: `"GET /files/list?directory=/home/adedef21/ HTTP/1.1" 403 Forbidden`
Originally created by @Joly0 on GitHub (Mar 11, 2026). Original GitHub issue: https://github.com/open-webui/open-terminal/issues/45 Hey, i have an existing multi-user open-webui instance running and i wanted to add open-terminals with the new `OPEN_TERMINAL_MULTI_USER=true` option. The compose i am using is: ``` services: open-terminal: hostname: open-terminal image: ghcr.io/open-webui/open-terminal restart: unless-stopped ports: - 8800:8000 networks: - owui-net volumes: - /data/open-terminal:/home environment: - OPEN_TERMINAL_MULTI_USER=true - OPEN_TERMINAL_API_KEY=HIDDEN ``` I added open-terminal via the admin interface of the owui instance like this: <img width="480" height="338" alt="Image" src="https://github.com/user-attachments/assets/ce2c1dd9-ee42-43e3-b014-4dba31e676b1" /> and while our chat model (atm gpt-5.4) can access and work with the terminal (when enabled separately in the chat session, which also works), there seems to be some kind of problem i am not sure how to solve: <img width="347" height="1348" alt="Image" src="https://github.com/user-attachments/assets/17b3e0f0-58c6-4624-9fa0-7dd631e236ed" /> So the terminal sidebar cant seem to get a connection, and cant list my files, when i ask the llm directly though, its properly able to list them all: <img width="1163" height="634" alt="Image" src="https://github.com/user-attachments/assets/11f3a10a-e8fb-42af-ba5e-379819708844" /> In the meantime the backend keeps throwing this error: `"GET /files/list?directory=/home/adedef21/ HTTP/1.1" 403 Forbidden`
Author
Owner

@tjbck commented on GitHub (Mar 11, 2026):

Unable to reproduce, keep us posted!

<!-- gh-comment-id:4041906677 --> @tjbck commented on GitHub (Mar 11, 2026): Unable to reproduce, keep us posted!
Sign in to join this conversation.
No labels
bug
pull-request
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/open-terminal#28
No description provided.