Repository navigation
Closed
Description
Problem Description
I triggered a corner case: I have a system wide HTTP proxy enabled.
Apparently the GUI attempts to connect to the handbrake via the proxy, which is not able to because obviously the proxy cannot connect back to this machine localhost. In addition, the firewall also kicked in and does not allow the gui to connect to the proxy.
Suggestion: when running local it should ignore the system proxy settings.
Activity Log, Crash Log or any other details
`
PS C:\Users\user> netsh winhttp show proxy
Current WinHTTP proxy settings:
Proxy Server(s) : 192.168.1.2:3128
Bypass List : *.local;*.something;<local>
HandBrake 1.9.2 (2025022300)
OS: Microsoft Windows NT 10.0.19045.0
CPU: Intel(R) Core(TM) i5-6440HQ CPU @ 2.60GHz
Ram: 16238 MB,
GPU Information:
Intel(R) HD Graphics 530 - 30.0.101.1338 - (Unsupported Driver Detected)
Screen: 1920x1080
Temp Dir: C:\Users\user\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\user\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[16:40:41] base preset: Very Fast 576p25 (Modified)
[16:40:41] Remote Process started with Process ID: 11580 using port: 8037. Max Allowed Instances: 1
[16:40:41] Unable to connect to the HandBrake Worker instance after 10 attempts. Try disabling this option in Tools -> Preferences -> Advanced.
[16:40:41] Error Information:
[16:40:41] System.AggregateException: One or more errors occurred. (An attempt was made to access a socket in a way forbidden by its access permissions. (192.168.1.2:3128))
---> System.Net.Http.HttpRequestException: An attempt was made to access a socket in a way forbidden by its access permissions. (192.168.1.2:3128)
---> System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at HandBrakeWPF.Utilities.HttpRequestBase.MakeHttpGetRequest(String urlPath)
at HandBrakeWPF.Instance.RemoteBase.<IsServerRunning>b__15_0()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout)
at HandBrakeWPF.Instance.RemoteBase.IsServerRunning()
# Job Failed (-10)
`
What Operating System are you running?
Windows 10 22H2
What version of HandBrake are you running?
HandBrake 1.9.2 (2025022300)
Where did you download HandBrake from?
handbrake.fr
Activity
github-actions commentedon Jul 2, 2025
Hello,
Welcome to the HandBrake repository.
Warning
Please be cautious of any non-members suggesting that you download a "DLL" or any other files from 3rd party websites.
These are likely malicious!
Members of the HandBrake team can be identified by the "(Member)" label in the top right of any response from them.
Tip
For HandBrake documentation, please see https://handbrake.fr/docs
Thank You,
The HandBrake Bot
mailinglists35 commentedon Jul 2, 2025
workaround is disabling process isolation
WinGui: By Default, Process Isolation will force disable system proxy…
sr55 commentedon Jul 2, 2025
Yeh, turning process isolation off will work.
While normally loopback shouldn't be impacted by this, I've seen a few instances where folks have had issues with it.
I've changed it to not use Proxy by default although I've added an override in portable.ini config file on the off chance there are any unexpected side effects. Lets see if this helps.
This may also resolve issues on some machines where AntiVirus hooks cause issues too. I suspect some of them are meddling with Proxy Settings too.
There will be a new development build ( https://github.com/HandBrake/HandBrake-snapshots ) later this week you can try if you wish. Otherwise, the fix will be in a future release.
Thanks for the report.
WinGui: Missed a code path for #7003