Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

[Bug]: Firefox for Android will not add an IPv6-only search engine #21080

Closed
ghost opened this issue Aug 30, 2021 · 5 comments
Closed

[Bug]: Firefox for Android will not add an IPv6-only search engine #21080

ghost opened this issue Aug 30, 2021 · 5 comments
Labels
🐞 bug Crashes, Something isn't working, .. Feature:Search qa-triaged Issues triaged by qa

Comments

@ghost
Copy link

ghost commented Aug 30, 2021

Steps to reproduce

  1. Go to "Add search engine"
  2. Try to add a search engine whose domain name server points only to an IPv6 address.

Expected behaviour

Firefox should add a search engine whether or not the domain has IPv4 enabled.

Actual behaviour

Firefox only adds a search engine which has IPv4 enabled. If the search engine is only IPv6 Firefox will not add it.

Device name

Lenovo TB-X304F

Android version

8.1.0

Firefox release type

Firefox

Firefox version

91.3.1

Device logs

No response

Additional information

Also tested it in Android 11.

Screenshot_2021-08-30-17-27-11-708

┆Issue is synchronized with this Jira Story

@ghost ghost added needs:triage Issue needs triage 🐞 bug Crashes, Something isn't working, .. labels Aug 30, 2021
@LaurentiuApahideanSV
Copy link

I can confirm the issues is reproducible on Firefox RC 91.4.0 and Nigthly 2021-09-01. Might be related to #4343.

Device used:

  • Oppo Find X3 Neo (Android 11)
  • OnePlus 6T (Android 9)

@stale
Copy link

stale bot commented Feb 28, 2022

See: #17373 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Feb 28, 2022
@SoftVision-LorandJanos
Copy link

This issue is reproducible on the latest Nightly 99.0a1 (2022-02-28).

@stale stale bot removed the wontfix label Feb 28, 2022
@jackyzy823
Copy link

Well this is not a bug of fenix.

It is because your specified site "https://search.asynchronousexchange.com/search?q=1" returns 429 too many requests due to the request leaking of headers like User-Agent and Accept-* . see searx's protection mechanism

and fenix think that status code do not work.

return if (response.isSuccess ||
isTestQueryParamNotFound(response.status)
) Result.Success else Result.CannotReach

and
https://github.com/mozilla-mobile/android-components/blob/6c0fe91ab83614265f533b819bf406fc046b2227/components/concept/fetch/src/main/java/mozilla/components/concept/fetch/Response.kt#L140

@ghost
Copy link
Author

ghost commented May 15, 2022

Hi there!

Thanks for taking a look into it. Actually at the time of reporting the bug I had tested it without any kind of filter or protection, using IPv4-only and then IPv6-only in the same instance. Now without filter or protection it connects flawlessly, so I guess someone fixed something in the way.

Just tested the request headers, they seem quite complete. The only anomaly is «accept: */*». Anyway, I agree that this is not anymore a bug of Firefox for Android.

@ghost ghost closed this as completed May 15, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Crashes, Something isn't working, .. Feature:Search qa-triaged Issues triaged by qa
Projects
None yet
Development

No branches or pull requests

3 participants