mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 12:15:50 +03:00
[GH-ISSUE #821] [BUG] 405 Method not allowed #515
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#515
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 @sutidor on GitHub (Jul 27, 2022).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/821
Describe the bug
When I enter any term in the address bar for the first time: 405 Method not allowed
When I enter this term or any other term AGAIN to the same address bar DIRECTLY AFTER, it will search normally.
Since I could not find any1 else with this issue I presume there is an issue in my config but it only happened in versions 0.7 onward (currently 0.7.4). Using firefox and reinstalled the search engine with current version. Behind nginx reverse proxy. Happens on smartphone, too.
To Reproduce
Steps to reproduce the behavior:
Deployment Method
runexecutableVersion of Whoogle Search
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
@tootbrute commented on GitHub (Jul 28, 2022):
Just chiming in to say that I have this same problem but only on some of my machines. Information below.
Deployment Method
--> Docker
(running on Yunohost behind NGINX)
Version of Whoogle Search
--> Version 0.7.4
Desktop:
--> OS: Fedora 36 (no problems!)
Browser Firefox
Version 102
--> OS: Ubuntu 22
Browser: Firefox (get this 405 error)
Version: 103
--> OS: Ubuntu 22 (same system as above)
Browser: Brave (no 405 error, but doesn't complete search, just shows a blank Whoogle page)
Version: 1.41.100 Chromium: 103.0.5060.134 (Official build) (64-bit)
Smartphone (please complete the following information):
--> Device: Asus Zenfone Pro Max 2
OS: LineageOS 18.1
Browser Firefox (Currently can't add Whoogle search to Firefox "error connecting to Whoogle")
Version 102.2.1
(same device as above) - works!
Browser: Bromite
Version 103.0.5060.140
@erikderzweite commented on GitHub (Jul 31, 2022):
Deployment Method
--> Docker
(running on Yunohost behind NGINX)
Version of Whoogle Search
--> Version 0.7.4
--> OS: Ubuntu 18
Browser: Firefox (405 error second search works fine, after a longer pause 405 again)
Version: 103
--> OS: Ubuntu 18
Browser: Chromium (no 405, just whoogle landing page after putting a search term in address bar, second search works)
Version: 103.0.5060.134 snap
@benbusby commented on GitHub (Aug 1, 2022):
@sutidor (or anyone else with this issue) can you give me a breakdown of the full request details sent to Whoogle when the 405 code is returned (i.e. which endpoint, what request type (POST vs GET), etc)? I'm wondering if there's an opensearch caching issue here. I haven't been able to reproduce on my end, so I'll have to debug this a bit blind.
@sutidor commented on GitHub (Aug 1, 2022):
@benbusby from the opensearch.xml I assume it is a POST request. Additional context sent to the email provided in your github (contact@) Thank you
Edit: Autocomplete works by the way.
@benbusby commented on GitHub (Aug 2, 2022):
@sutidor could you (or anyone here) try out the latest changes on
mainor thelatestDocker tag (once it's finished building -- should be out in the next ~15-30 mins)? I just pushed a fix for a different issue that I think might fix this issue as well, hopefully.@tootbrute commented on GitHub (Aug 3, 2022):
On Fedora, Firefox and Brave is now working for me using the latest image.
@benbusby commented on GitHub (Aug 4, 2022):
Thanks for clarifying. I'm going to assume this is fixed for everyone, but anyone can feel free to re-open if that's not the case for them.
@selenias commented on GitHub (Aug 12, 2022):
@benbusby: i have the same issue as the users above. From time to time i get a white page with "Method Not Allowed" (The method is not allowed for the requested URL.). This happens a few times a day. Just now i started a Firefox Private Window.
few weeks ago, i installed whoogle for the first time to try it out. at that point i had a rather simple setup in docker (unfortunately i don't have the YML anymore). And i was accessing it via IP address. I added it to firefox so i could search via the address bar. for a few weeks that worked, so yesterday i decided to clean install the container. Since then i got the 405 error.
I don't know for sure but i think i was running 0.7.4, two weeks ago (it was a test so i flung it together quickly). yesterday i was running the latest version from i think august 10th (can't be sure, i know the Digest ID's are different now). Today i updated it again to the latest version (aug 11th, 6:40PM) and i still have the issue.
the differences between the last couple of weeks and yesterday/today are several (in my case).
Here is my YML file