-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Error to connect the backend #568
Comments
I only found errors on the searchnx container searxng-1 | During handling of the above exception, another exception occurred: |
Isn’t this because of SSL errors on your Searxng? I have firewall errors on my work laptop so I am testing this on my personal one. |
because this project hard-code 127.0.0.1 in its frontend, you should follow this closed issue. |
#92 does not help if you're using the Docker published images. One way of doing it is: #467 (comment) There are other ways in the countless issues about it. |
You can use this docker #565, I have solved the problem of variable hardcoding |
Hey @keven1024 @realies @Mkz9s4Vy do you know what it is thank you |
look up the issues, it's a problem the author does not want to address |
None on the projects including Open WebUI provide support for errors related to networking, I've added a really good guide explaining the entire process, please read it correctly and try again |
hey @ItzCrazyKns , could you help me with the error please, the problem with the 127.0.0.1 was solved now the error is little different. |
Follow this guide, if you face any issues, I am here to help: https://github.com/ItzCrazyKns/Perplexica/blob/master/docs/installation/NETWORKING.md |
@ItzCrazyKns Now it is working, I needed to configure an endpoint with nginx to the backend as well. Thank you for your help. But when I try to do a search nothing happens I was trying to find some errors Backend
front end
searxng
|
How did you set up the SearXNG? Use the config and limiter files I provide the error should be gone, most probably an error with JSON mode disabled in SearXNG |
@ItzCrazyKns I'm using the docker compose available, do I need to setup Searxng? |
Its either an issue related to SearXNG or the LLM you're using |
I had issues also but got everything to work. And you compose for searxng seems different: Try this: searxng: yours is: ports: And in ports for frontend in yours is:
should be Change this in yours maby this helps or you found the issue? |
Hey,
Thank you for this amazing software. I'm trying to deploy in my homelab but I think I did something wrong.
My compose:
`services:
searxng:
image: docker.io/searxng/searxng:latest
volumes:
- /data/apps/perplexica:/etc/searxng:rw
ports:
- 4000
networks:
- container-network
restart: unless-stopped
perplexica-backend:
image: itzcrazykns1337/perplexica-backend:main
environment:
- SEARXNG_API_URL=http://searxng:8080
depends_on:
- searxng
ports:
- 3001:3001
volumes:
- /data/apps/perplexica/backend-dbstore:/home/perplexica/data
- /data/apps/perplexica/uploads:/home/perplexica/uploads
- /data/apps/perplexica/config.toml:/home/perplexica/config.toml
extra_hosts:
- 'host.docker.internal:host-gateway'
networks:
- container-network
restart: unless-stopped
perplexica-frontend:
image: itzcrazykns1337/perplexica-frontend:main
depends_on:
- perplexica-backend
environment:
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
ports:
- 3000
networks:
- container-network
restart: unless-stopped
networks:
container-network:
external: true
volumes:
backend-dbstore:
uploads:
`
I'm getting this error on the web frontend: Failed to connect to the server. Please try again later.
The text was updated successfully, but these errors were encountered: