question

lewishancock avatar image
lewishancock asked

Server won't send heartbeat in container. Failed to parse heartbeat

Hi,

When running any server via MockVmAgent outside of a container, I can successfully connect and send heartbeats to the VmAgent. When running either our server, or the sample winrunnerSample inside a container, it sits on "Waiting for heartbeats from the game server....." indefinitely. The GSDK_Output_*.txt is full of this message:

Message: Failed to parse heartbeat * Line 1, Column 1 Syntax error: value, object or array expected.

This works on other machines. The only differences we're aware of is OS version, my machine being windows 1903 and others being 1809. Does anyone know a workaround for this?

Cheers,

Lewis

apissdks
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
lewishancock avatar image
lewishancock answered

I've solved it by redownloading the VM Agent, extracting to a new location and trying again. Strange!

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jamie Seward avatar image Jamie Seward commented ·

I also recently ran into this. Just downloaded https://github.com/PlayFab/MpsAgent/releases again into a different directory and tried again and it went away. Very weird.

0 Likes 0 ·
Jamie Seward avatar image Jamie Seward commented ·

I also recently ran into this. Just downloaded https://github.com/PlayFab/MpsAgent/releases again into a different directory and tried again and it went away. Very weird.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.