ProtonMail / proton-bridge

Proton Mail Bridge application
GNU General Public License v3.0
1.11k stars 145 forks source link

[macOS] Can not connect to server via proxy if the app is launched by double click .app #474

Open universorum opened 2 months ago

universorum commented 2 months ago

Expected Behavior

When application launch by double click .app, it should read $https_proxy or $http_proxy that configured in ~/.zshrc.

Current Behavior

Hang on 'Connecting...' until timeout. Show the 'lost connecting' hint.

Possible Solution

run the command /Applications/Proton\ Mail\ Bridge.app/Contents/MacOS/bridge-gui in terminal manual

Version Information

macOS 14.4.1(23E224) I notice that I can not found the version information in app ui.

Context (Environment)

I have the .zshrc

export https_proxy=http://127.0.0.1:6152
export http_proxy=http://127.0.0.1:6152
export all_proxy=socks5://127.0.0.1:6153

and connection will be blocked if egress traffic is not processed by proxy app.

Detailed Description

When I launch the application by double click the .app, the proxy app does not detect any traffic from bridge app. Launch the application by run the command manual will make the traffic can be processed by proxy app correctly.

Also, Proton Mail desktop app can work correctly with proxy correctly without any additional configure.