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

No exclusion pattern works #223

Open
shayaniox opened this issue Aug 4, 2024 · 9 comments
Open

No exclusion pattern works #223

shayaniox opened this issue Aug 4, 2024 · 9 comments

Comments

@shayaniox
Copy link

FoxyProxy version: 8.9
Firefox version: 128.0 Ubuntu

2024-08-04-233404_1141x100_scrot
As it's shown in the picture, I've defined two patterns to exclude a bunch of URLs.
Also I have tested my patterns using the pattern tester:
2024-08-04-233658_1220x254_scrot
When try to access the URL: http://localhost:8025 the browser tabs goes loading and eventually can't access the intended address:
2024-08-04-233934_916x430_scrot

Please let me know if there is any further information required.

@erosman
Copy link
Collaborator

erosman commented Aug 4, 2024

Please use the FoxyProxy 8+ for v8+.

Are you using "Proxy by Patterns" or an individual proxy for all connections?

Include/Exclude patterns are meant to be used with "Proxy by Patterns". They will be ignored if a single proxy is used for everything.

In case you are using a single proxy for everything and want to exclude some hosts, it would be best to use the Global Exclude.

See also: foxyproxy/browser-extension#140

@shayaniox
Copy link
Author

shayaniox commented Aug 5, 2024

@erosman Thanks for the rapid answer.
When I define just exclusion patterns, the options Proxy by pattern doesn't show up, but once an inclusion patterns, it does.
Does Global Exclude accept wildcard or regex patterns?
Is it possible for a specific defined proxy to set exclusion patterns and the patterns are activated only for that proxy?

It's worth to mention the proxy type is SOCKS4.

@shayaniox
Copy link
Author

I just tried Global Exclude but the issue with the localhost persists.
2024-08-05-133721_1221x823_scrot

@erosman
Copy link
Collaborator

erosman commented Aug 5, 2024

When I define just exclusion patterns, the options Proxy by pattern doesn't show up, but once an inclusion patterns, it does.

"Proxy by Patterns" works by matching the INCLUDE (minus EXCLUDE). If there are no include patterns, it does not show as an option, since it wont be able to match anything.

Does Global Exclude accept wildcard or regex patterns?

Global exclude uses the pattern defined by the browser (see the included Help under Global Exclude).
Also: Global Exclude

Is it possible for a specific defined proxy to set exclusion patterns and the patterns are activated only for that proxy?

Include/Exclude patterns are only processed with "Proxy by Patterns". If you only want to use a single proxy with include/exclude patterns, you can disable other proxies or not set any include/exclude for them and then use "Proxy by Patterns".

I just tried Global Exclude but the issue with the localhost persists.

Try <local> in Global Exclude.

@shayaniox
Copy link
Author

shayaniox commented Aug 5, 2024

@erosman

Try in Global Exclude.

Didn't work for either localhost:8025 or 127.0.0.1:15672.

It feels like a hack by the method that worked is like:

  1. Add the pattern * to inclusion patterns
  2. Add desired exclusion patterns
  3. Turn on the Proxy by Patterns option

@shayaniox
Copy link
Author

@erosman
Isn't it a bug that the option Proxy by Patterns is not listed for the extension, until you enter the first inclusion pattern?
Shouldn't it be available just by setting exclusion patterns?

@erosman
Copy link
Collaborator

erosman commented Aug 5, 2024

Did you read #223 (comment)?

@shayaniox
Copy link
Author

Did you read #223 (comment)?

Yes, but you wrote it does show, but it doesn't. I think it's a typo and it does **NOT** show is correct. I get why it needs inclusion patterns.
What about the Global Patterns?
Any idea why it doesn't work?

@erosman
Copy link
Collaborator

erosman commented Aug 6, 2024

Ah... yes.. there was a typo.. corrected.

What about the Global Patterns?

Can you post your exported preferences (remove private data) for me to see?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants