-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Failed to connect to the server. Please try again later. #572
Comments
Check this : ### this is what i did to solve the same problem (after i closed ports 3000 and 3001):
[API_ENDPOINTS] [GENERAL] 4.go to UI folder and change the env file to only be .env (look at the pic) should work |
also in perplexica make sure this : |
Hello @yuval-kahan, I did install the ollama on docker, it is running but has empty list of models. And the Perplexica still having the failed to connect to the server. |
looks like Backend problem linux / mac : if you have something running on port 3001 i recommend you to close it or changing the backend port on perlexica |
I'm pretty sure you have something running on port 3001 and you need to close port 3001 to "free" the port |
By the way - where is the frontend container ? i see only the back in the pic -?....?? |
I was trying to rename the sample.config.toml but it didnt let me to rename. |
wait but i don't see the frontend container in your docker .... |
also make sure to receive connections from all (0.0.0.0) but let's try first the port thing as i'm pretty sure that is the problem |
looks like you need to kill what is running on port 3001 and then the backend should work |
but double check it |
I'm also facing the same issue. I ran |
The issues seemed to be multi-fold. My 3001 port is already used by Open WebUI, so I had to change all the port numbers in Perplexica configs. Second, I had to change all Summary of changesconfig.toml
docker-compose.yaml
ui/.env fileCreate the file if it doesn't exist.
/etc/systemd/system/ollama.service
Then run:
After making all these changes:
Now I can access Perplexica in http://localhost:3003. |
I've done all of this but nothing helped( |
Are you using Linux? Try changing the port numbers used. Can you post the log that you see? If you are using a browser to access Perplexica, open the console and see if there are any errors there. |
I am deployed on an Oracle server, have opened the firewall and VPS port rules, and have performed the above operations, yet it still reports. https://www.docker.com |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Remove the Host Network: LineAnd use the direct URLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX version: "3.9" # Specify a version for best compatibility services: perplexica-backend: perplexica-frontend: networks: volumes: |
In my case it was the ufw firewall. I had to allow access to port 11434 from the docker IP 172.x.x.x, which I got using |
Hi, I have followed the instructions and here's my config.toml:
When I run
docker compose up -d
, I am able to access the frontend at http://localhost:3000. However, the following error appeared:Failed to connect to the server. Please try again later.
Appreciate if I could get some advice on this. :)
Best,
YM
The text was updated successfully, but these errors were encountered: