Skip to content

Wren AI Launcher exits unexpectedly after entering OpenAI API key on Windows 10 #1548

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

Closed
guidasneves opened this issue Apr 15, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@guidasneves
Copy link

Describe the bug
After running wren-launcher-windows.exe as administrator and entering my OpenAI API key, the application closes immediately without any error message or confirmation. It doesn’t open the browser or show any feedback, and no Docker containers are started.

To Reproduce
Steps to reproduce the behavior:

  1. Download wren-launcher-windows.zip from the latest release.
  2. Extract and run wren-launcher-windows.exe as administrator on Windows 11.
  3. Select OpenAI as LLM provider.
  4. Enter valid OpenAI API key.
  5. Observe the application exits immediately after printin "Sending a hello request to OpenAI...".

Expected behavior
I expected the launcher to validate the key, start Docker containers, and open the browser with the local Wren AI app (http://localhost:3000/).

Screenshots
Image

System Information

@guidasneves guidasneves added the bug Something isn't working label Apr 15, 2025
@cyyeh
Copy link
Member

cyyeh commented Apr 15, 2025

@guidasneves thanks for the report. We will fix this issue in the next release. However, often the issue is due to several possible reasons:

  1. OpenAI API key is invalid
  2. You haven't put enough api credits(which is different from paying to use ChatGPT) in OpenAI API
  3. Your OpenAI API key doesn't have full permissions

@guidasneves
Copy link
Author

Thanks for your reply, @cyyeh! In this case it was the issue of the OpenAI API credits. Thank you very much.

@cyyeh cyyeh closed this as completed Apr 17, 2025
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

No branches or pull requests

2 participants