Problems with Image Editing #7615
KiS-please
started this conversation in
Help Wanted
Replies: 3 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
I am seeing this error:
When resuming an old conversation. I googled the error and I get only this page. I'm on |
Beta Was this translation helpful? Give feedback.
0 replies
-
I updated prod server and image tools works good on this server. I don't know why, but it just work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
Image Editing doesn't work for me.
I have two servers:
I configured OpenAI Image Tools on the production server. It generates images perfectly, but image editing sometimes works and often fails.
I suspected the issue was related to Reverse Proxy sessions on the production server (I read #7134). However, I set up a minimal Docker configuration for OpenAI Image Tools on the test server and got the same result.
System Information:
os-release
PRETTY_NAME="Ubuntu 24.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.2 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
Docker version 28.1.1, build 4eba377
Docker Compose version v2.36.2
git version 2.43.0
nodejs v18.19.1
npm v9.2.0
LibreChat - 0.7.8
What browsers are you seeing the problem on?
Google Chrome & MS Edge
What i did?
Command for installation:
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
sudo apt install docker-ce
sudo curl -L https://github.com/docker/compose/releases/download/v2.36.2/docker-compose-`uname -s
-
uname -m` -o /usr/local/bin/docker-composesudo apt install git nodejs npm
git clone https://github.com/danny-avila/LibreChat.git
cd LibreChat/
cp .env.example .env
nano .env
#add api key for OPENAI_API_KEY= and IMAGE_GEN_OAI_API_KEY=
sudo systemctl start docker
sudo docker-compose -f ./deploy-compose.yml up -d
Then i opened http://:3080/login
I create agent OpenAI Image Tools. I tried generating an image, it worked. Then I tried editing an image, i got an error "Something went wrong. Here's the specific error message we encoutered:" An error occurred while processing the request: Connection error.

Logs
`docker logs LibreChat-API
2025-05-28 08:10:30 info: [Optional] Redis not initialized.
2025-05-28 08:10:31 info: [Optional] IoRedis not initialized for rate limiters.
2025-05-28 08:10:31 info: Connected to MongoDB
2025-05-28 08:10:32 error: An error occurred while fixing Token indexes: ns does not exist: LibreChat.tokens
2025-05-28 08:10:32 error: Config file YAML format is invalid: EISDIR: illegal operation on a directory, read
2025-05-28 08:10:32 warn: Default value for CREDS_KEY is being used.
2025-05-28 08:10:32 warn: Default value for CREDS_IV is being used.
2025-05-28 08:10:32 warn: Default value for JWT_SECRET is being used.
2025-05-28 08:10:32 warn: Default value for JWT_REFRESH_SECRET is being used.
2025-05-28 08:10:32 info: Please replace any default secret values.
2025-05-28 08:10:32 info:
2025-05-28 08:10:32 warn: RAG API is either not running or not reachable at http://rag_api:8000, you may experience errors with file uploads.
2025-05-28 08:10:32 info: No changes needed for 'USER' role permissions
2025-05-28 08:10:32 info: No changes needed for 'ADMIN' role permissions
2025-05-28 08:10:32 info: Turnstile is DISABLED (no siteKey provided).
2025-05-28 08:10:32 info: Server listening on all interfaces at port 3080. Use http://localhost:3080 to access it
{"level":"info","message":"[Login] [Login successful] [Username: my_user] [Request-IP: XXX.XXX.XXX.XXX]","timestamp":"2025-05-28T08:13:32.571Z"}
2025-05-28 08:16:56 error: [api/server/controllers/agents/client.js #sendCompletion] Operation aborted Connection error.
2025-05-28 08:16:56 error: [api/server/controllers/agents/client.js #sendCompletion] Unhandled error type Connection error.
2025-05-28 08:16:56 error: [api/server/controllers/agents/client.js #titleConvo] Error getting custom endpoint config Config not found for the openAI custom endpoint.
2025-05-28 08:20:44 error: [api/server/controllers/agents/client.js #sendCompletion] Operation aborted Aborted
2025-05-28 08:20:44 error: [api/server/controllers/agents/client.js #titleConvo] Error getting custom endpoint config Config not found for the openAI custom endpoint.`
I might have missed something in the test configuration, but on the production server (without Docker, but with reverse-proxy), I'm seeing similar errors in the logs. I'd like to troubleshoot the test server first.
Another important (possibly relevant) detail: I’m in a country where direct access to OpenAI is unfortunately blocked, so I have to use WireGuard to connect. Testing via curl to the OpenAI API works. For example, I can get the list of models.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions