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

Firefox Android: Proxies are not applied on v8.2 #60

Closed
AgentConDier opened this issue Dec 9, 2023 · 25 comments
Closed

Firefox Android: Proxies are not applied on v8.2 #60

AgentConDier opened this issue Dec 9, 2023 · 25 comments
Labels
app: Android Mobile Android related issues done ✓

Comments

@AgentConDier
Copy link

AgentConDier commented Dec 9, 2023

Regardless of FoxyProxy configuration, no connections attempt to use any proxy server.

Firefox Nightly 122.0a1 (Build #2015990567), a2268afaa0+
Huawei Mate 20 Pro, Emui 12 (Android 10)
My FoxyProxy was updated to 8.2 today, before that everything has always worked fine.
Unfortunately, I don't know which version I had previously, and sideloading other versions to test is impossible on android as far as I know.

@erosman erosman added the app: Android Mobile Android related issues label Dec 9, 2023
@erosman
Copy link
Collaborator

erosman commented Dec 9, 2023

Firefox on Android

Support is experimental and based on user feedback.

Have you enabled Run in private browsing?

@AgentConDier
Copy link
Author

Yes, that is enabled. I am primarily using FoxyProxy in normal browsing mode though.

@erosman
Copy link
Collaborator

erosman commented Dec 9, 2023

I asked since Firefox requires it and blocks the extensions without it.

@erosman
Copy link
Collaborator

erosman commented Dec 10, 2023

Out of curiosity, can you try v8.3?
FoxyProxy Basic (same code) is available now.
FoxyProxy (standard) is awaiting approval.

@BrandtnerKPW
Copy link

BrandtnerKPW commented Dec 11, 2023

I have same issue. Neither FoxyProxy Standard or Basic (both version 8.2) works with patterns.
It works only if manually set proxy for each tab (Set Tab Proxy).
UPD. Basic updated to 8.4 and still not working with patterns.

@AgentConDier
Copy link
Author

AgentConDier commented Dec 11, 2023

Using FoxyProxy Basic v8.4, I still can't get it to connect with a proxy server. Using pattern mode or selecting a specific proxy, the requests appear in the log but the proxy columns are empty.

@AgentConDier
Copy link
Author

@BrandtnerKPW Thanks for the hint, I can confirm that setting the per-tab proxy works, and appears correctly with the proxy details in the log.

@erosman
Copy link
Collaborator

erosman commented Dec 11, 2023

My guess is that one of the APIs used is not supported in Firefox for Android.

If you can list what works and what doesn't, maybe I can pinpoint it and work out a workaround.

  • Single Proxy
  • Proxy by Patterns
  • Tab Proxy
  • Incognito
  • Containers

@BrandtnerKPW
Copy link

BrandtnerKPW commented Dec 11, 2023

Using FoxyProxy Basic v8.4 and Firefox Nightly 122.0a1 for Android:

  • Single Proxy - not working
  • Proxy by Patterns - not working
  • Tab Proxy - working
  • Incognito - setup in addon settings not working, but manually set tab proxy in private window working
  • Containers - I'm not sure how to test it in Android version

UPD. Same for FoxyProxy Basic v8.6

@erosman
Copy link
Collaborator

erosman commented Dec 12, 2023

I think, I have found the problem.
I am going to fix it upload to repo.

Update
I have updated the repo with the latest code but testing it is a bit cumbersome.

@dmitry-j-mikhin
Copy link

FoxyProxy Basic v8.6 and Firefox 120.1.1 for Android.
Tab Proxy mode only works for me, all other options do not work.

@erosman
Copy link
Collaborator

erosman commented Dec 14, 2023

Install Firefox Nightly for Developers

  • Install Firefox Nightly for Developers
  • Go to: Nightly menu -> Settings -> About Firefox nightly
  • Tap a few times on the Firefox icon to enable debug menu

Disable Automatic Updates

  • Go to: about:confog
  • Find extensions.update.enabled
  • Toggle to false

Disable Signature Required

  • Go to: about:confog
  • Find xpinstall.signatures.required
  • Toggle to false

FoxyProxy Beta

  • Follow Beta Installation Guide
  • Create a zip file from the content of src
  • Make the file available to the Android device

FoxyProxy Older Versions

Install add-on from file

  • Go to: Android Nightly menu -> Settings -> Advanced -> Install add-on from file

@AgentConDier
Copy link
Author

Thanks, I didn't know about that debug mode.
I can confirm that v7.5.1 works as expected.
When I try to install the latest beta (64598b1), it refuses with ‘This add-on could not be installed, because it hasn't been verified’. Is that a known restriction for Android, or am I packaging it wrong?

@erosman
Copy link
Collaborator

erosman commented Dec 14, 2023

Are you trying it in "Firefox on Android" or "Firefox Nightly for Developers"?

@AgentConDier
Copy link
Author

Firefox Nightly for Developers

@erosman
Copy link
Collaborator

erosman commented Dec 14, 2023

hm... try disabling xpinstall.signatures.required in about:confog and see.

@AgentConDier
Copy link
Author

Yes, that did it. I've installed the beta version now, firefox shows it as v8.7
Proxies still only work when set as per-tab proxy though.

@erosman
Copy link
Collaborator

erosman commented Dec 15, 2023

After having a chat with Mozilla, I have found the problem. 🤞
The API test did not work as expected and caused the error.
Try v8.7 now.

@AgentConDier
Copy link
Author

Hmm it still isn't using the proxy server unless I set it as the tab proxy

@erosman
Copy link
Collaborator

erosman commented Dec 15, 2023

Thank you for testing.
Did you test it with the latest update of the repo?

I will check it again.

@AgentConDier
Copy link
Author

Yes, I reinstalled from a zip file of 00c8670

@pggdt
Copy link

pggdt commented Dec 15, 2023

I'm on Android with Fennec and Mull which are both base on Firefox Mobile. Version 8.6 not working on them. Thank you for your hard working, and we are looking forward to updating them with a working Foxyproxy.

@erosman
Copy link
Collaborator

erosman commented Dec 16, 2023

I updated the repo with the fix and I tested it on Android and it was working.
(debugging is not easy on Android)
Please let me know if there are any issue.

@AgentConDier
Copy link
Author

Yes, it's working now (2d8cfad)! Thanks a lot for putting in the effort 👍

@erosman
Copy link
Collaborator

erosman commented Dec 16, 2023

Foxy Proxy v8.7 uploaded to AMO.
Basic is available now and standard will be after it is reviewed by AMO.

@erosman erosman closed this as completed Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app: Android Mobile Android related issues done ✓
Projects
None yet
Development

No branches or pull requests

5 participants