# BUG: UnrealInsights: Error: Failed to connect to the store client.

**URL:** <https://forums.unrealengine.com/t/bug-unrealinsights-error-failed-to-connect-to-the-store-client/1304992>\
**Category:** Feedback & Requests\
**Tags:** unreal-engine, bug-report, question\
**Created:** [September 20, 2023, 2:40pm UTC](https://forums.unrealengine.com/t/bug-unrealinsights-error-failed-to-connect-to-the-store-client/1304992 "2023-09-20T14:40:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![migo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@migo](https://forums.unrealengine.com/u/migo)\
**Post date:** [September 20, 2023, 2:40pm UTC](https://forums.unrealengine.com/t/bug-unrealinsights-error-failed-to-connect-to-the-store-client/1304992/1 "2023-09-20T14:40:43Z")

</div>

Can’t run profiler using Unreal Insights and UnrealTraceServer, I tried to run manually UnrealTraceServer and it shows:

I:\Epic Games\UE\_5.2\Engine\Binaries\Win64\>UnrealTraceServer.exe daemon  
Setting working directory  
Succeeded setting ‘I:\Epic Games\UE\_5.2\Engine\Binaries\Win64’ (gle=0)  
Creating some shared memory  
Creating a quit event  
Writing shared instance info  
Starting the store

Im able to run manually Unreal Insights Browser but it shows nothing, While I try to run any trace Editor complains about connection:

UnrealInsights: Error: Failed to connect to the store client.

---

<div class="post-metadata">

**Author:** ![Scienziatogm](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/scienziatogm/32/906600_2.png) [@Scienziatogm](https://forums.unrealengine.com/u/Scienziatogm)\
**Post date:** [July 25, 2024, 6:16pm UTC](https://forums.unrealengine.com/t/bug-unrealinsights-error-failed-to-connect-to-the-store-client/1304992/2 "2024-07-25T18:16:40Z")

</div>

Same issue. Unfortunately the only “temporary fix” for me was to restart the PC. When restarting the UnrealTraceServer I got the same issue, so it was useless.

EDIT: As I mentioned on another post ([Unreal Insights Does not Connect to Server - #4 by Scienziatogm](https://forums.unrealengine.com/t/unreal-insights-does-not-connect-to-server/1487612/4)), maybe I’ve found a fix: disable all the network adapters except the main ethernet/wifi adapter, terminate the UnrealTraceServer.exe process, close the editor and open it again. These steps worked for me without restarting the PC.

---

<div class="post-metadata">

**Author:** ![AliAmanzadegan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AliAmanzadegan](https://forums.unrealengine.com/u/AliAmanzadegan)\
**Post date:** [September 10, 2024, 8:46am UTC](https://forums.unrealengine.com/t/bug-unrealinsights-error-failed-to-connect-to-the-store-client/1304992/3 "2024-09-10T08:46:41Z")

</div>

> [@Scienziatogm](#):
>
> UnrealTraceServer

I’m sending this to **those who couldn’t find the answer.** (I hope this helps you  
in Unreal Engine **5.3** , if you get this message you need to open UnrealTraceServer.exe (from the installation folder \UE\_5.3\Engine\Binaries\Win64)

if the issue is solved, congratulations. if not you need to open the CMD (if you are using Windows)

run this in the command prompt to stop the current service:  
`UE_5.3\Engine\Binaries\Win64>UnrealTraceServer.exe kill`

and then run this command to start the unreal trace server:  
`UE_5.3\Engine\Binaries\Win64>UnrealTraceServer.exe fork`

note that if you open the UnrealTraceServer.exe without any switches you will see something like this:

```auto
UnrealTraceServer v1.17 / Unreal Engine / Epic Games

Usage; <cmd>
Commands;
  fork Starts a background server, upgrading any existing instance
  daemon The mode that a background server runs in
  kill Shuts down a currently running instance

UnrealTraceServer acts as a hub between runtimes that are tracing performance
instrumentation and tools like Unreal Insights that consume and present that
data for analysis. TCP ports 1981 and 1989 are used, where the former receives
trace data, and the latter is used by tools to query the server's store.

Store path; [storage folder for your traces]

```

---

<div class="post-metadata">

**Author:** ![MickeySuperS](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mickeysupers/32/608746_2.png) [@MickeySuperS](https://forums.unrealengine.com/u/MickeySuperS)\
**Post date:** [December 18, 2024, 2:50pm UTC](https://forums.unrealengine.com/t/bug-unrealinsights-error-failed-to-connect-to-the-store-client/1304992/4 "2024-12-18T14:50:20Z")

</div>

Run this if you are still facing the same problem then restart the engine.

```auto
UnrealTraceServer.exe fork --sponsor-mode=0

```

Explanation:  
When trying to run any trace from the editor, I got a pop-up saying

```auto
Failed to connect to the store client.

```

Running the UnrealTraceServer with fork didn’t work for me. I was greeted with this error:

```auto
Error: Deamon is configured to run in sponsored mode, but no sponsor pid has been specified.

```

Using the --help for fork command, `UnrealTraceServer.exe fork --help` we can see the –`sponsor-mode` argument

```auto
      --sponsor-mode arg Set sponsor mode. Zero to disable, non-zero to
                          enable.

```

So, setting the mode to false and restarting the engine seems to fix it for me.

```auto
UnrealTraceServer.exe fork --sponsor-mode=0

```

To make sure it’s working, open the task manager and there should be something like this when Unreal is up and running.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/4/7/34712511711decc587033eca1338b6718535c53d.png)

For those who don’t know where to run the command, navigate to the Engine install directory then Binaries, then Win64

```auto
...\UE_5.5\Engine\Binaries\Win64

```

Then shift right click in any empty area and open CMD or Powershell whatever you have. If you opened powershell, type `start cmd` then press enter to start the CMD in the same exact path and you can continue from there.
