ItzCrazyKns / Perplexica

Perplexica is an AI-powered search engine. It is an Open source alternative to Perplexity AI
MIT License
13.68k stars 1.3k forks source link

OPAI outputs normally, but Perplexica cannot use Searxng to complete the search function。 #306

Open hanjinxin opened 1 month ago

hanjinxin commented 1 month ago
20240808-143547@2x

I have tested the latest code deployment multiple times. I have two environments, one is a Mac with VPN that can search normally, and the other is deployed on a server with VPN configured, which can be requested both inside and outside the container https://www.google.com.hk/ However, the server-side Perplexica cannot search for content

hanjinxin commented 1 month ago

@WanQuanXie Expert, I would like to inquire about the issue with Searxing. I know it is caused by my network problem. When requesting, I checked both the backend and Searxing logs and found no error output. However, Perplexica cannot use the search function. Does using Searxing depend on the client's network environment,

ops-xin commented 1 month ago
image image

Occasionally, this problem arises

WanQuanXie commented 1 month ago

It seems like something wrong with remote server VPN environment configuration, but I do not have any server to deploy for debugging, does @ItzCrazyKns have any suggestion for this issue?

WanQuanXie commented 1 month ago

@hanjinxin could u give more specific info about how do you deployed Perplexica on your server? By Docker or directly served? If Docker and what is the docker-compose.yml configuration? thx:)

ItzCrazyKns commented 1 month ago

Might be a VPN issue, I cannot say anything without more context. If you are able to access the UI on the server port and the backend works then it can be a docker networking issue since we access the SearXNG API over the docker network.

ops-xin commented 1 month ago
image

I uploaded the VPN information into Docker Compose, and my server and container can access google.com.Hk. However, for some reason, the front-end page can answer questions normally, but there is no search function. Later, I tried to modify the configuration file to put the back-end service and sealXNG in my local Mac environment and then search. The VPN was opened from my Mac @ItzCrazyKns @WanQuanXie

LZBNCC commented 3 weeks ago

I have the same issue.