Failed to create connection - Proxy tunnel request to proxy failed with status code '403'

  • Created

If you come across an error message whilst attempt to start your profile as shown below: 

[ERR] An unhandled exception has occurred while executing the request.
Application.Services.ProfileLifetimeHandler.ProfileLifetimeHandlerException: Failed to start profile.
---> PuppeteerSharp.ProcessException: Failed to create connection
---> System.Net.WebSockets.WebSocketException (0x80004005): Unable to connect to the remote server
---> System.Net.Http.HttpRequestException: The proxy tunnel request to proxy '' failed with status code '403'."
at System.Net.Http.HttpConnectionPool.EstablishProxyTunnelAsync(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)

If you are behind a proxy, make sure your proxy settings are configured correctly. The error is related to the inability to establish a connection through the proxy. Double-check your proxy settings in your application configuration.

We have especially observed this happening on Microsoft Windows Server 2022 Datacenter. You may not be running the proxy through the built in feature within Kameleo, but on the actual Datacenter.

It is important to double check any recent proxy setting changes, given that they can influence the process of running profiles, both via the GUI and CLI.

If you do not recall making any changes, we highly recommend that you open a support ticket and provide all related details to our customer support. 

Was this article helpful?

0 out of 1 found this helpful