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

[ISSUE] failed to connect to server #499

Open
danilo139 opened this issue Apr 27, 2024 · 11 comments
Open

[ISSUE] failed to connect to server #499

danilo139 opened this issue Apr 27, 2024 · 11 comments

Comments

@danilo139
Copy link

Once i get into de UI it popup a message saying "failed to connect server" and i cant continue, i can not interact in any way with the UI.

image
image
image

Configuration

- OS: windows 
- Python version: 3.10.6
- Node version: 20.11


@NoCapxGaming
Copy link

I think you gotta use node version 18

@ASXXX0
Copy link

ASXXX0 commented Apr 28, 2024

i have the same message with the localhost:3000 but its working good when i lunch with bun run dev --host and take 192.168... try it

with localhost
bug

with local ip
work

@protector131090
Copy link

same here...

@protector131090
Copy link

i have the same message with the localhost:3000 but its working good when i lunch with bun run dev --host and take 192.168... try it

with localhost bug

with local ip work

same error

@Iquryy
Copy link

Iquryy commented Apr 29, 2024

If you're using anything that would block a connections like portmaster then disable it

@protector131090
Copy link

If you're using anything that would block a connections like portmaster then disable it

i disabled antivirus and windows brandmauer but no help...

@danilo139
Copy link
Author

danilo139 commented Apr 29, 2024

i have the same message with the localhost:3000 but its working good when i lunch with bun run dev --host and take 192.168... try it

with localhost bug

with local ip work

yeah !! thanks man, finally works with that command line when starting the UI.

If someone has the same issue, just start bun UI with the following line: "bun run dev --host" and then open the IP in your browser

image

@cesaregerbino
Copy link

Hi all! I've the same problem. I'm using an Oracle Linux 9.3 virtual machine on Oracle VirtualBox.

Devika backend is up and running .....

image

For the UI if I use bun run start the command output is

image
image

and nothing appears in the browser.

If I use bun run dev --host the command output is

image

and the browser still return an empty page

Any suggestion will be appreciated!!

Thank you in advance

@ARajgor
Copy link
Collaborator

ARajgor commented Apr 30, 2024

can you all share the browser's console? also try to run the python server with a different port and update it in api.js and run it again

@cesaregerbino
Copy link

Here you are the browser console ...
image
image
To set a different port for the backend, which file should I modify?

@TheMaskedAvengers
Copy link

Weirdly I had this working, setup via pinokio, then stopped and restared it and now I'm getting the failed to connect to server error too. the localhost website loads...but when I go to settings all the API keys etc aren't visible there...

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

8 participants