Guidelines
Describe the bug
- Go to the Proxy settings page
- Enter a SOCKS5 or SOCKS4 proxy with username and password
- Click on "test proxy"
- FreeTube shows the error:
Error getting network information. Is your proxy configured properly?
On my proxy I see a connection attempt without authentication [ERR] socks: Failed to authenticate: No supported authentication mechanism
Expected Behavior
Freetube should connect to the proxy using authentication and the test button should return the proxy IP address
Issue Labels
inconsistent behavior
FreeTube Version
v0.24.0
Operating System Version
Windows 11 version 25H2
Installation Method
.exe
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Upload screenshots or videos
No response
Additional Information
The current proxy authentication implementation use on app.on('login'). However, Electron/Chromium does not emit this event for SOCKS proxies because It does not support it. Using credentials directly in the url (socks5://username:password@ip:port) also does not work. A possible workaround is to run a local HTTP proxy (for example using proxy-chain) that redirect requests to the SOCKS proxy with authentication via an upstream URL.
Nightly Build
Guidelines
Describe the bug
Error getting network information. Is your proxy configured properly?On my proxy I see a connection attempt without authentication
[ERR] socks: Failed to authenticate: No supported authentication mechanismExpected Behavior
Freetube should connect to the proxy using authentication and the test button should return the proxy IP address
Issue Labels
inconsistent behavior
FreeTube Version
v0.24.0
Operating System Version
Windows 11 version 25H2
Installation Method
.exe
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Upload screenshots or videos
No response
Additional Information
The current proxy authentication implementation use on app.on('login'). However, Electron/Chromium does not emit this event for SOCKS proxies because It does not support it. Using credentials directly in the url (socks5://username:password@ip:port) also does not work. A possible workaround is to run a local HTTP proxy (for example using proxy-chain) that redirect requests to the SOCKS proxy with authentication via an upstream URL.
Nightly Build