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

Deploy well, can use searXNG search, but cannot use perplexica search #316

Open
TOM-ZHOUch opened this issue Aug 15, 2024 · 6 comments
Open
Labels
bug Something isn't working

Comments

@TOM-ZHOUch
Copy link

Describe the bug
I have used docker to deploy the perplexica and the page as this:
image
I wait for arount 25min, it still no response.

To Reproduce
I follow the instruction of deployment by docker

I check the frontend, backend logs are as follows:
image
image
it seems frontend is well, but the backend have some problems, but I don't know how to solve it.

I would be appreciate if someone could help me to see what's wrong with my deployment

@TOM-ZHOUch TOM-ZHOUch added the bug Something isn't working label Aug 15, 2024
@TOM-ZHOUch
Copy link
Author

Previous error eccured during the test from our linux
I also deployed it on the my local windows, it also have some faults:
image
I can see the error quite same with the linux, so what should I do to cope with this issue:

error: Unhandled Rejection at: [object Promise], reason: TypeError: Cannot read properties of undefined (reading 'indexOf')

@ops-xin
Copy link

ops-xin commented Aug 16, 2024

I have also encountered the same problem before. Due to Linux network issues, I placed SearXNG and backend services on my local Mac to enable the search function

@TOM-ZHOUch
Copy link
Author

I have also encountered the same problem before. Due to Linux network issues, I placed SearXNG and backend services on my local Mac to enable the search function

@ops-xin Thanks for your help! But I am not sure how to place SearXNG and backend services on local, could you please give some more details

@ops-xin
Copy link

ops-xin commented Aug 16, 2024

image By changing these three parameters, you should be able to specify the local service

@TOM-ZHOUch
Copy link
Author

I have solved the issue,. Probably when we want to use openai-key. Make sure u use the correct open-ai baseURL(Openai-format).
eg: if we want to use a baseurl transfer to openai, the format like: https://xxx.xxx.xxx/v1
add /v1 in the end

@PKUcoldkeyboard
Copy link

I have solved the issue,. Probably when we want to use openai-key. Make sure u use the correct open-ai baseURL(Openai-format). eg: if we want to use a baseurl transfer to openai, the format like: https://xxx.xxx.xxx/v1 add /v1 in the end

Thank you very much, I had this problem too, added /v1 and it was fine :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants