Skip to content
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

accessing 127.0.0.1:7878 open blank page (windows 11 - AMD) #79

Open
cksbisqui opened this issue May 5, 2024 · 7 comments
Open

accessing 127.0.0.1:7878 open blank page (windows 11 - AMD) #79

cksbisqui opened this issue May 5, 2024 · 7 comments

Comments

@cksbisqui
Copy link

Hello.
I have follow the instructions to the dot, and everything installed ok.
Created an openui environment, did pip install, set my openai key, and once server is up, I get a blank page.
Please help!

in the cmd I get this:

(openui) F:\OpenUIfolder\openui\backend>python -m openui
wandb: Unpatching OpenAI completions
INFO (openui): Starting OpenUI AI Server created by W&B...
INFO (openui): Running API Server
INFO (uvicorn.error): Started server process [22552]
INFO (uvicorn.error): Waiting for application startup.
DEBUG (openui): Starting up server in 22552...
INFO (uvicorn.error): Application startup complete.
INFO (uvicorn.error): Uvicorn running on http://127.0.0.1:7878 (Press CTRL+C to quit)
INFO (uvicorn.access): 127.0.0.1:53891 - "GET /ai/new HTTP/1.1" 200
INFO (uvicorn.access): 127.0.0.1:53891 - "GET /assets/index-6BqEBdFF.js HTTP/1.1" 200
INFO (uvicorn.access): 127.0.0.1:53892 - "GET /assets/vendor-BGjp6CLF.js HTTP/1.1" 200
INFO (uvicorn.access): 127.0.0.1:53893 - "GET /assets/index-DspDvSlJ.css HTTP/1.1" 200

Screenshot 2024-05-04 233530
Screenshot 2024-05-04 234712
Screenshot 2024-05-04 234802

@vanpelt
Copy link
Contributor

vanpelt commented May 5, 2024

The errors are saying the JavaScript files are returning plain text. Can you share what's being returned by selecting one of the js files from the last screenshot you shared?

@Fahadxx
Copy link

Fahadxx commented May 6, 2024

I'm facing the same issue, windows 10

@cksbisqui
Copy link
Author

cksbisqui commented May 6, 2024

@vanpelt , Thank you for helping out with the issue.
Here are the screenshots. the .js are empty, all of them, and in the 127.0.0.1, I see this in the second screenshot.
I searched and found out some comments about React and a specific line in the code, <script type="module" crossorigin src="/assets/index-6BqEBdFF.js"></script> , that should have <script type="text/javascript" ...> instead.
But I don't know if that is the issue here, and I cannot change that code in the browser to test it.

Screenshot 2024-05-06 150232
Screenshot 2024-05-06 150339

I was able to build it on docker, but then it was not finding Ollama, and my first task made the process freeze up.

@vanpelt
Copy link
Contributor

vanpelt commented May 7, 2024

It could be a windows path issue. I'll try it in Windows when I get a chance.

@k2an
Copy link

k2an commented May 9, 2024

sadly same error on my side. any solution will be great.

@magdymaher2024
Copy link

I' am facing same error in windows 10 also

@Ereis
Copy link

Ereis commented May 14, 2024

Same issue on windows 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants