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

Direct search via URL (?q=<term>) seems broken #235

Open
ProjectMoon opened this issue Jul 1, 2024 · 3 comments
Open

Direct search via URL (?q=<term>) seems broken #235

ProjectMoon opened this issue Jul 1, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@ProjectMoon
Copy link

Describe the bug
Searching directly via a URL (e.g. https://perplexica.example.com/?q=search term) seems broken in the latest release. It loads the page with the term as the title, but no search seems to be performed, and no output is generated.

To Reproduce
Steps to reproduce the behavior:

  1. Go to URL of Perplexica server with ?q= appended to the query string.

Expected behavior
Results to load as normal.

@ProjectMoon ProjectMoon added the bug Something isn't working label Jul 1, 2024
@ItzCrazyKns
Copy link
Owner

ItzCrazyKns commented Jul 2, 2024

Tried reproducing but couldn't see any issues, can you provide more context

@rick-github
Copy link

Also #199

@ProjectMoon
Copy link
Author

ProjectMoon commented Jul 13, 2024

Bit more info based on browser console:

  1. The page loads, and the websocket connection is established.
  2. This JSON gets sent up: {"type":"message","message":{"chatId":"2882b84d8632c0e40a7e1083f130817728d807a4","content":"testing"},"focusMode":"webSearch","history":[["human","testing"]]} (for /?q=testing).
  3. But nothing ever comes back.
  4. WebSocket connection eventually dies (this may be more an issue with my reverse proxy rather than Perplexica itself).

Default logging configuration of the Docker images doesn't show any messages printed out, so I am unsure of what's going on on the server.

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