You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing an issue with OpenWebUI where it reports an "Openai: Network Problem" when setting the OpenAI API key. The same API key works fine with curl on my local machine.
curl http://localhost:8000/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer sk-***************" -d '{"model": "gpt-4o","messages": [{"role": "user", "content": "Say this is a test!"}]}'
{"id":"chatcmpl-78823c3892804d50a3ec215253fb5dd4","model":"*************","object":"chat.completion","created":1718955051,"choices":[{"index":0,"message":{"role":"assistant","content":"# This is a Test!\n\nWelcome! How can I assist you with your questions or interests in Chinese modern and contemporary history today?"},"finish_reason":"stop"}],"usage":{"prompt_tokens":0,"completion_tokens":0,"total_tokens":0}}
Steps to Reproduce:
Deploy OpenAI API key on local server.
Use curl on local machine to verify API key works.
Set the same API key in OpenWebUI.
Actual Behavior:
OpenWebUI reports "Openai: Network Problem".
Environment
Open WebUI Version: 0.3.1
Operating System: Windows 11
Browser (if applicable): Edge 126.0.2592.61
Reproduction Details
Confirmation:
I have read and followed all the instructions provided in the README.md.
I am on the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
Logs and Screenshots
Browser Console Logs:
Ignore the Ollama error because I'm not focusing on it.
Bug Report
Description
Bug Summary:
I am experiencing an issue with OpenWebUI where it reports an "Openai: Network Problem" when setting the OpenAI API key. The same API key works fine with curl on my local machine.
Steps to Reproduce:
Actual Behavior:
OpenWebUI reports "Openai: Network Problem".
Environment
Open WebUI Version: 0.3.1
Operating System: Windows 11
Browser (if applicable): Edge 126.0.2592.61
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
Ignore the Ollama error because I'm not focusing on it.
Docker Container Logs:
Installation Method
Docker
The text was updated successfully, but these errors were encountered: