question

Ben Gibson avatar image
Ben Gibson asked

Docker container exit with code 1

Hello, I am trying to get the verify the containerisation using Docker and MockVMAgent. I have verified the GSDK integration.

This is the error I'm getting: container exited with exit code 1. Here is the full powershell script if it's helpful:

PS C:\PLayFabVMAgent\PlayfabMultiplayerLocalAgent> C:\PLayFabVMAgent\PlayfabMultiplayerLocalAgent\MockVMAgent.exe Warning: SessionCookie is not specified. TitleId: 4380F109 BuildId: 4fdf3b5c-3271-49df-ac49-0a00cddb0cc3 VmId: xcloudwusu4uyz5daouzl:WestUs:78ad2b21-123d-4891-8dd5-ffbb9bf38395:tvmps_e968b3cb69b5414aaf4e6150576691a55b6711eed51b437eac8615faa6169602_d Mock Agent is listening on port 56001 info: MockPlayFabVmAgent[0] game_port (TCP): Local port 56100 mapped to container port 3600 info: MockPlayFabVmAgent[0] Starting image pull for: mcr.microsoft.com/playfab/multiplayer:wsc-10.0.17134.285. info: MockPlayFabVmAgent[0] [null] info: MockPlayFabVmAgent[0] [null] info: MockPlayFabVmAgent[0] [null] info: MockPlayFabVmAgent[0] Event: PullImage. Properties: NULL, Metrics: {"downloadDuration":0.0,"extractDuration":0.0,"size":0.0} info: MockPlayFabVmAgent[0] Event: ContainerStats. Properties: NULL, Metrics: {"containerCreationTimeMs":97.0} info: MockPlayFabVmAgent[0] Created a container with session host id: 2d75a6bcf94f4d0837018761659dd4bbe653d80f796a4fe43c1699dd800807a2 info: MockPlayFabVmAgent[0] Creating the configuration file at D:\Unreal\PlayFabVmAgentOutput\2019-04-08T09-59-41\Config\ffffffff-ffff-ffff-09f1-8043000000004fdf3b5c-3271-49df-ac49-0a00cddb0cc3WestUs\SH0\gsdkConfig.json info: MockPlayFabVmAgent[0] Event: ContainerStats. Properties: NULL, Metrics: {"containerStartTimeMs":20323.0} info: MockPlayFabVmAgent[0] Container 2d75a6bcf94f4d0837018761659dd4bbe653d80f796a4fe43c1699dd800807a2 start completed. info: MockPlayFabVmAgent[0] Started container 2d75a6bcf94f4d0837018761659dd4bbe653d80f796a4fe43c1699dd800807a2, with assignmentId ffffffff-ffff-ffff-09f1-804300000000:4fdf3b5c-3271-49df-ac49-0a00cddb0cc3:WestUs, instance number 0, and logFolderId 212bfecf-a6d6-498c-8a77-1bed33e8d9bc info: MockPlayFabVmAgent[0] Waiting for heartbeats from the game server..... info: MockPlayFabVmAgent[0] Container 2d75a6bcf94f4d0837018761659dd4bbe653d80f796a4fe43c1699dd800807a2 exited with exit code 1. PS C:\PLayFabVMAgent\PlayfabMultiplayerLocalAgent>

3 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.

Ben Gibson avatar image Ben Gibson commented ·

additional info:

Using UE4

I have tried some of the things mentioned in this forum post - such as adding missing DLLs (except for Steam - would that matter?) to the game's binaries folder and creating a bat file to redirect from c:/assets to the .exe in binaries (although I'm not sure why they couldn't just point it to that .exe in the first place)

ID is 174C

0 Likes 0 ·
JayZuo avatar image JayZuo ♦ Ben Gibson commented ·

I'm not familiar with UE4, but as you've mentioned in that post, you will need to add all missing DLLs to make sure your server executable can be run in Windows Server Core.

0 Likes 0 ·
cordylusdev avatar image cordylusdev commented ·

I have the exact same message. Did you find the problem @Ben Gibson?

,

I have the exact same message. Did you find the problem @Ben Gibson?

0 Likes 0 ·

0 Answers

·

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.