-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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,
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: