Skip to content

[Bug]: Rules only start working after manually clicking “Test Proxy Connection” #141

@mehradhm1

Description

@mehradhm1

Platform

Windows

ProxyBridge Version

3.2.0

OS and Version

Windows 11

Documentation

Code Review

  • I have gone through the code page

Describe the Bug

Hi,

First of all, thank you for ProxyBridge. It is a very useful tool, especially because it provides free per-process proxy routing on Windows.

I found a possible bug or usability issue in the Proxy Settings behavior.

Current behavior:
After setting the proxy as:

Proxy Type: SOCKS5
Proxy IP Address: localhost / 127.0.0.1
Proxy Port: 10808

the routing rules do not start working properly until I manually open the Proxy Settings page and click “Test Proxy Connection”.

After clicking “Test Proxy Connection”, the rules start working as expected.

Expected behavior:
ProxyBridge should initialize and apply the configured proxy automatically on startup, or at least immediately after pressing “Save Changes”, without requiring the user to manually click “Test Proxy Connection” every time.

My setup:

  • Windows 11
  • ProxyBridge on Windows
  • Local SOCKS5 proxy: 127.0.0.1:10808
  • Backend proxy app: v2rayN / Xray
  • Proxy type: SOCKS5
  • No username/password

Observed issue:
Rules are visible and saved, but traffic remains Direct or rules do not behave correctly until the proxy test button is clicked manually.

Possible cause:
It seems that the “Test Proxy Connection” button may be triggering some proxy initialization or refresh logic that is not being triggered on application startup or after saving settings.

Suggested fix:
Please consider calling the same proxy initialization/reload logic used by “Test Proxy Connection” automatically when:

  1. The app starts
  2. Proxy settings are saved
  3. Routing rules are applied or changed

This would make ProxyBridge much more reliable for automatic startup usage.

Thanks again for the great work.

Additional Context

No response

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Bug.

Projects

Status
In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions