Dedicated Server Not Rsponsive at times

When I use OpenLEvel to connect the client to my server, sometimes it becomes unresposive and if I go to the server log terminal manually and click any button, It will start logging and accept player. It’s like the server freezing or forgetting to connect players sometimes. This is the logs I am receiving. Any help will be highly appreciated. Thanks

LogInit: WinSock: Socket queue. Rx: 32768 (config 32768) Tx: 32768 (config 32768)
LogNet: Created socket for bind address: 0.0.0.0 on port 0
PacketHandlerLog: Loaded PacketHandler component: Engine.EngineHandlerComponentFactory (StatelessConnectHandlerComponent)
LogNet: Game client on port 7777, rate 100000
LogAudioMixer: Warning: FMixerPlatformXAudio2: Changing default audio render device to new device: Role=Console, DeviceName=AW2521HFA (NVIDIA High Definition Audio), InstanceID=1
LogAudioMixer: Warning: FMixerPlatformXAudio2: Changing default audio render device to new device: Role=Console, DeviceName=AW2521HFA (NVIDIA High Definition Audio), InstanceID=10
LogAudioMixer: Display: FMixerNullCallback: Simulating a h/w device callback at [21ms], ThreadID=21932
LogAudioMixer: Display: FMixerNullCallback: Simulating a h/w device callback at [21ms], ThreadID=22184
LogAudioMixer: Display: Successful Swap new Device is (NumChannels=2, SampleRate=48000, DeviceID={0.0.0.00000000}.{c14dd813-6802-4c17-ad66-be079147de46}, Name=AW2521HFA (NVIDIA High Definition Audio)), Reason=FMixerPlatformXAudio2::OnDefaultRenderDeviceChanged, InstanceID=1, DurationMS=75.65
LogAudioMixer: Display: Output buffers initialized: Frames=1024, Channels=2, Samples=2048, InstanceID=1
LogAudioMixer: Display: Starting AudioMixerPlatformInterface::RunInternal(), InstanceID=1
LogAudioMixer: Display: Successful Swap new Device is (NumChannels=2, SampleRate=48000, DeviceID={0.0.0.00000000}.{c14dd813-6802-4c17-ad66-be079147de46}, Name=AW2521HFA (NVIDIA High Definition Audio)), Reason=FMixerPlatformXAudio2::OnDefaultRenderDeviceChanged, InstanceID=10, DurationMS=75.29
LogAudioMixer: Display: Output buffers initialized: Frames=1024, Channels=2, Samples=2048, InstanceID=10
LogAudioMixer: Display: Starting AudioMixerPlatformInterface::RunInternal(), InstanceID=10
LogAudioMixer: Warning: FMixerPlatformXAudio2: Changing default audio render device to new device: Role=Console, DeviceName=Headphones (High Definition Audio Device), InstanceID=1
LogAudioMixer: Warning: FMixerPlatformXAudio2: Changing default audio render device to new device: Role=Console, DeviceName=Headphones (High Definition Audio Device), InstanceID=10
LogAudioMixer: Display: FMixerNullCallback: Simulating a h/w device callback at [21ms], ThreadID=22184
LogAudioMixer: Display: FMixerNullCallback: Simulating a h/w device callback at [21ms], ThreadID=21932
LogAudioMixer: Display: Successful Swap new Device is (NumChannels=2, SampleRate=48000, DeviceID={0.0.0.00000000}.{ed93b427-0a51-403c-a67d-7a9c452ca840}, Name=Headphones (High Definition Audio Device)), Reason=FMixerPlatformXAudio2::OnDefaultRenderDeviceChanged, InstanceID=1, DurationMS=104.06
LogAudioMixer: Display: Output buffers initialized: Frames=1024, Channels=2, Samples=2048, InstanceID=1
LogAudioMixer: Display: Starting AudioMixerPlatformInterface::RunInternal(), InstanceID=1
LogAudioMixer: Display: Successful Swap new Device is (NumChannels=2, SampleRate=48000, DeviceID={0.0.0.00000000}.{ed93b427-0a51-403c-a67d-7a9c452ca840}, Name=Headphones (High Definition Audio Device)), Reason=FMixerPlatformXAudio2::OnDefaultRenderDeviceChanged, InstanceID=10, DurationMS=103.74
LogAudioMixer: Display: Output buffers initialized: Frames=1024, Channels=2, Samples=2048, InstanceID=10
LogAudioMixer: Display: Starting AudioMixerPlatformInterface::RunInternal(), InstanceID=10
LogNet: UNetDriver::TickDispatch: Very long time between ticks. DeltaTime: 0.01, Realtime: 7.11. IpNetDriver_0
LogNet: UNetDriver::TickDispatch: Very long time between ticks. DeltaTime: 0.01, Realtime: 9.31. IpNetDriver_0
LogAnalytics: Warning: EventCache either took too long to flush (1.045 ms) or had a very large payload (0.436 KB, 1 events). Listing events in the payload for investigation:
LogAnalytics: Warning: Editor.Usage.Heartbeat,433
LogNet: UNetDriver::TickDispatch: Very long time between ticks. DeltaTime: 0.01, Realtime: 8.39. IpNetDriver_0
LogNet: UNetDriver::TickDispatch: Very long time between ticks. DeltaTime: 0.01, Realtime: 15.43. IpNetDriver_0

I replied to your other post, but it took a while to see it. I had mentioned it could be a connection timeout… Seeing this log output here with “very long time in between ticks” was exactly what I had seen when my connections were timing out. It was packet loss/latency on my network. The server essentially wasn’t even seeing the connections because it was sending a lot of trash packets and timing out before it could establish a connection.

1 Like

Hey Mahn, Thanks for the response. I m dubai based and it just got morning here. Glad to see you responding man. Youa re like a saviour for me who is new to UE, especially the backend stuff. I lack the knowledge on networking to solve the issue. How can I address the packet loss/latency isssue? Can you just mention the steps you have followed to resolve the issue?

1 Like