mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 20:25:51 +03:00
[GH-ISSUE #588] [BUG] [Firefox] Can't add search engine #374
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#374
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LeonMusCoden on GitHub (Dec 21, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/588
Describe the bug
My Whoogle instance is running behind a nginx reverse proxy. When trying to add the search engine to Firefox, I get the following error:
Firefox could not download the search plugin from: https://search.domain.xyz/opensearch.xmlThe file is reachable when searching for https://search.domain.xyz/opensearch.xml
The search itself works perfectly.
Root URL is set to: https://search.domain.xyz/
To Reproduce
Steps to reproduce the behavior:
Deployment Method
runexecutableVersion of Whoogle Search
Desktop (please complete the following information):
@DEvmIb commented on GitHub (Jan 8, 2022):
same problem. seems to be an problem with the session redirect.
< HTTP/2 307
< date: Sat, 08 Jan 2022 10:39:50 GMT
< content-type: text/html; charset=utf-8
< content-length: 413
< location: http://whoogle/session/34ca0683-e14e-4670-8eed-280d6d28988e?follow=http%3A%2F%2Fwhoogle%2Fopensearch.xml
< server: waitress
< set-cookie: session=c5944a45-1277-47ac-aaab-db47685b2f3f; Expires=Sun, 08-Jan-2023 10:39:50 GMT; HttpOnly; Path=/; SameSite=Strict
< x-content-type-options: nosniff
< x-frame-options: DENY
< x-robots-tag: noindex, nofollow, noarchive, nosnippet, noimageindex, notranslate
@DEvmIb commented on GitHub (Jan 8, 2022):
my solution until fix is to serv static file on nginx
location /opensearch.xml { alias /data/opensearch_whoogle.xml; }@DUOLabs333 commented on GitHub (Jan 11, 2022):
Weird -- it works for me (though I'm on 88). Can you post your nginx config?
@benbusby commented on GitHub (Jan 11, 2022):
The opensearch file route is now excluded from session validation, so this should be fixed now.
@LeonMusCoden commented on GitHub (Jan 16, 2022):
I built the latest docker version but it does not work. I still get the same error when trying to add the search engine.
Edit: It suddenly worked! I'm confused but happy
@anarkia47 commented on GitHub (May 8, 2023):
I currently also have this issue.
Found this workaround,
https://old.reddit.com/r/firefox/comments/1246l41/is_there_a_way_to_make_firefox_recognize_rlinks/jdy0eq7/?context=999