Can't add custom search engine "https://searx.be/?q=%s" on Android #11332
Comments
Probably the same as #9831 |
Any progress towards fixing it? |
This issue occurs due to a program that filter clients that doesn't send specific headers when doing an HTTP request, this program is used in order to combat against bots that harm the searx search engine. The program is called filtron. When adding https://searx.be as a search engine, fenix sends a request in order to test if the search engine works. The issue is that it doesn't include Here are the headers sent by fenix when adding the website as a search engine:
And here are the headers from a normal request in fenix when browsing the specific page that fenix use when adding the search engine:
As you can see the missing headers that I talked earlier are present and the request succeed. On other instances from the Searx project which aren't behind filtron, adding the instance as a new search engine works. An example is https://searx.xyz. This issue can be safely closed because I opened an issue here in order to fix the issue on Searx instances that are behind filtron but if the fenix developers would like to change the behavior when adding a search engine so that it mimics a real request that are done in a normal browsing session then this issue can be kept open. |
@Rochey the issue can be closed, it has been fixed in searx/searx-docker#49. |
@unixfox - I've just tested this again and added searx.be in Firefox beta. I can confirm that it now works as espected - woohoo! |
I had success adding searx.be But still getting the error for searx.info and searx.ninja |
Maybe those instances aren't up to date. Unfortunately we cannot do anything about that, you will have to contact the maintainer or use another instance. |
They display the version on the loading page. searx.info is running the same version as searx.be (which works). and searx.ninja is running a newer version that both of them. The issue appears to be solved for searx.be, but not any other server I've tried |
There is a chance that someone contacted the host of searx.be about this problem, and they may have changed something on their side to make themselves compatible with Firefox search engine. Which would explain why they appear to be the only ones that are to be able to add |
This issue is unrelated to Searx, in fact it's not even a Searx bug but the antibot solution (filtron) that flagged Firefox android as a bot. So version number of Searx doesn't matter at all. Filtron is a common tool used among public Searx instances.
A while ago I pushed a fix for that on searx-docker so any up to date instances receive it, including searx.be. The fix: searx/searx-docker#61 |
Got this error when trying to add searx.be to Firefox 89.1.0 and also Fennec 89.1.1 both on Android. If it's an issue on Fennec again should this be reopened? Or is this something that has been or should be reported to Mozilla? Thanks for any help or direction on this! |
Hello, could you try again if it works now? By the way, I just tested on Firefox for android 89.1.1, and it works perfectly. |
@unixfox I tried it again and it is working now! Not sure what the issue was before. Maybe an error on my part or something with my config (I did upgrade to Firefox 89.1.1 and cleared Data before trying again). Anyway, thank you for checking and for getting back with me so quickly. Sorry for any inconvenience! |
"Firefox could not download the search plugin from: https://searx.be/opensearch.xml?method=POST&autocomplete=swisscows" |
Sorry opensearch was broken, please try again. |
When i try to add a searx search engine and put the search string "https://searx.be/?q=%s", it says "Error connecting to searx".
I've also tried "https://searx.ninja/?q=%s".
I've tried on both Firefox Preview and Firefox Beta (installed just now) and both show the same error message.
I'm using a Oneplus 7T pro, Android 10.
The custom search engines work on the desktop version of Firefox.
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: