avivace / ror2-server

Host your own Risk of Rain 2 dedicated server. No technical skills required. Runs everywhere.
https://hub.docker.com/r/avivace/ror2server
GNU General Public License v3.0
166 stars 27 forks source link

Running container gets stuck on unloading assets to reduce memory usage #3

Closed thewilltavares closed 4 years ago

thewilltavares commented 4 years ago

image

I am unable to get past this point in running the container. Is there a known workaround to this issue?

OS: Docker running on DigitalOcean droplet.

fnicolini commented 4 years ago

Hi @thewilltavares, with that output the server is working correctly. Have you tried connecting to the server while the container is in that state?

thewilltavares commented 4 years ago

Thanks @fnicolini - I get the following error in the game console. 1 other user replicated the same issue trying to connect.

Attempt to send to not connected connection {1}
Failed to send internal buffer channel:6 bytesToSend:1096
Send Error: WrongConnection channel:6 bytesToSend:1096
ChannelBuffer SendBytes no space on unreliable channel 6
GameNetworkManager.desiredHost={ hostType=None }
ClientDisconnected due to error: Timeout

I have the server port open, and even tried DMZ'ing the container and was still unable to connect.

fnicolini commented 4 years ago

Did this errror occur after the server was running for quite a while? This is an issue with the server, it happens to us all the time when the server has been up for a while. The only workaround we found at the moment is restarting the container.

thewilltavares commented 4 years ago

Hi @fnicolini - this is on a new docker container. I have been unable to connect at all.

avivace commented 4 years ago

1) Are you trying anything custom? E.g. changing port or setting a password? 2) Do you get different results stopping the container and restarting it (both on starting and connecting phases) ?

I can confirm that the initial screenshot is the normal and expected behaviour, so the server starts up correctly but cannot handle connections.

I actually test the docker images on a DigitalOcean droplet with Debian Buster and it definitely works there, the problem is (probably) somewhere else.

qcoumes commented 4 years ago

I'm getting the same error, here the full log :

Log ``` $ docker run avivace/ror2server:0.1 -p 27015:27015/udp -e R2_PSW="kfUDotn8jf6S" Redirecting stderr to '/home/steam/Steam/logs/stderr.txt' ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt". [ 0%] Checking for available update... [----] Downloading update (0 of 50851 KB)... [ 0%] Downloading update (3645 of 50851 KB)... [ 7%] Downloading update (6982 of 50851 KB)... [ 13%] Downloading update (10035 of 50851 KB)... [ 19%] Downloading update (13044 of 50851 KB)... [ 25%] Downloading update (16154 of 50851 KB)... [ 31%] Downloading update (19201 of 50851 KB)... [ 37%] Downloading update (22039 of 50851 KB)... [ 43%] Downloading update (25011 of 50851 KB)... [ 49%] Downloading update (28150 of 50851 KB)... [ 55%] Downloading update (30882 of 50851 KB)... [ 60%] Downloading update (32352 of 50851 KB)... [ 63%] Downloading update (33988 of 50851 KB)... [ 66%] Downloading update (35449 of 50851 KB)... [ 69%] Downloading update (36976 of 50851 KB)... [ 72%] Downloading update (38464 of 50851 KB)... [ 75%] Downloading update (39960 of 50851 KB)... [ 78%] Downloading update (41478 of 50851 KB)... [ 81%] Downloading update (43122 of 50851 KB)... [ 84%] Downloading update (44656 of 50851 KB)... [ 87%] Downloading update (46071 of 50851 KB)... [ 90%] Downloading update (47562 of 50851 KB)... [ 93%] Downloading update (49235 of 50851 KB)... [ 96%] Downloading update (50738 of 50851 KB)... [ 99%] Downloading update (50851 of 50851 KB)... [100%] Download Complete. [----] Applying update... [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Cleaning up... [----] Update complete, launching... WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work. Redirecting stderr to '/home/steam/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Verifying installation... [ 0%] Downloading update... [ 0%] Checking for available updates... [----] Download complete. [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Cleaning up... [----] Update complete, launching Steamcmd... CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 3 items discarded. WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work. Redirecting stderr to '/home/steam/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Verifying installation... Steam Console Client (c) Valve Corporation -- type 'quit' to exit -- Loading Steam API...Warning: failed to init SDL thread priority manager: SDL not found OK. Connecting anonymously to Steam Public...Generated client id: 4517289384456166616 Listening for IPv4 broadcast on: 27036 Logged in OK Waiting for user info...OK "@sSteamCmdForcePlatformType" = "windows" Success! App '1180760' already up to date. CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 3 items discarded. wine: created the configuration directory '/home/steam/.wine' 0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046} 0014:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0014:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa} 0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002 0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002 0012:err:ole:get_local_server_stream Failed: 80004002 0014:err:ole:apartment_createwindowifneeded CreateWindow failed with error 183 0014:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0 0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046} 0014:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007 0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x800736b7 0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 800736b7 0014:err:ole:get_local_server_stream Failed: 800736b7 000b:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 000b:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 0010:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0010:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 0016:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0016:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 0018:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0018:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. Could not load wine-gecko. HTML rendering will be disabled. 0028:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0028:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 002a:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 002a:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. Could not load wine-gecko. HTML rendering will be disabled. wine: configuration in '/home/steam/.wine' has been updated. 002e:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 002e:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. Let's wait :) ecoci qui Mono path[0] = 'Z:/home/steam/ror2-dedicated/Risk of Rain 2_Data/Managed' Mono config path = 'Z:/home/steam/ror2-dedicated/MonoBleedingEdge/etc' 002f:fixme:win:EnumDisplayDevicesW ((null),0,0x22f220,0x00000000), stub! 002f:fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",0,0x22f220,0x00000000), stub! 002f:fixme:win:EnumDisplayDevicesW ((null),1,0x22f220,0x00000000), stub! Initialize engine version: 2018.4.18f1 (61fce66342ad) Forcing GfxDevice: Null GfxDevice: creating device client; threaded=0 NullGfxDevice: Version: NULL 1.0 [1.0] Renderer: Null Device Vendor: Unity Technologies Begin MonoManager ReloadAssembly - Completed reload, in 0.236 seconds WARNING: Shader Unsupported: 'Hidden/Nature/Terrain/Utilities' - All passes removed ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Hidden/Nature/Terrain/Utilities' - Setting to default shader. WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/LightMeter' - Pass '' has no vertex shader ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/LightMeter' - Setting to default shader. WARNING: Shader Unsupported: 'Hidden/PostProcessing/ScreenSpaceReflections' - Pass '' has no vertex shader ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Hidden/PostProcessing/ScreenSpaceReflections' - Setting to default shader. WARNING: Shader Unsupported: 'Hidden/PostProcessing/FinalPass' - Pass '' has no vertex shader WARNING: Shader Unsupported: 'Hidden/PostProcessing/DepthOfField' - Pass 'CoC Calculation' has no vertex shader WARNING: Shader Unsupported: 'Hidden/PostProcessing/DepthOfField' - Pass 'CoC Calculation' has no vertex shader ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Hidden/PostProcessing/DepthOfField' - Setting to default shader. WARNING: Shader Unsupported: 'Hidden/PostProcessing/CopyStdFromTexArray' - Pass '' has no vertex shader ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Hidden/PostProcessing/CopyStdFromTexArray' - Setting to default shader. WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Histogram' - Pass '' has no vertex shader ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Histogram' - Setting to default shader. WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Vectorscope' - Pass '' has no vertex shader ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Vectorscope' - Setting to default shader. WARNING: Shader Unsupported: 'Hidden/PostProcessing/MultiScaleVO' - Pass '' has no vertex shader ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Hidden/PostProcessing/MultiScaleVO' - Setting to default shader. WARNING: Shader Unsupported: 'Hidden/PostProcessing/Uber' - Pass '' has no vertex shader WARNING: Shader Unsupported: 'Hidden/PostProcessing/Uber' - Pass '' has no vertex shader WARNING: Shader Unsupported: 'Hopoo Games/FX/Cloud Intersection Remap' - Pass 'FORWARD' has no vertex shader WARNING: Shader Unsupported: 'Hopoo Games/FX/Cloud Intersection Remap' - All passes removed ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Hopoo Games/FX/Cloud Intersection Remap' - Setting to default shader. WARNING: Shader Unsupported: 'CalmWater/Calm Water [DX11]' - Pass 'FORWARD' has no vertex shader WARNING: Shader Unsupported: 'CalmWater/Calm Water [DX11]' - Pass 'FORWARDADD' has no vertex shader WARNING: Shader Unsupported: 'CalmWater/Calm Water [DX11]' - All passes removed WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Waveform' - Pass '' has no vertex shader ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Waveform' - Setting to default shader. WARNING: Shader Unsupported: 'Hopoo Games/FX/Cloud Remap' - Pass 'FORWARD' has no vertex shader WARNING: Shader Unsupported: 'Hopoo Games/FX/Cloud Remap' - All passes removed UnloadTime: 1.386900 ms 002f:fixme:wbemprox:client_security_SetBlanket 0x7efdb28a10d0, 0x10e616d0, 10, 0, (null), 3, 3, (nil), 0x00000000 002f:fixme:wbemprox:client_security_Release 0x7efdb28a10d0 002f:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030 002f:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030 Fallback handler could not load library Z:/home/steam/ror2-dedicated/Risk of Rain 2_Data/Mono/data-000000001F1DB770.dll Fallback handler could not load library Z:/home/steam/ror2-dedicated/Risk of Rain 2_Data/Mono/data-000000001F1FC2D0.dll Fallback handler could not load library Z:/home/steam/ror2-dedicated/Risk of Rain 2_Data/Mono/data-0000000012661030.dll 002f:fixme:win:RegisterDeviceNotificationW (hwnd=0x20044, filter=0x1f18b820,flags=0x00000000) returns a fake device notification handle! 002f:fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 0. 002f:fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 0. 002f:fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 0. 002f:fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 0. 002f:fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 0. 002f:fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 0. 002f:fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 0. 002f:fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 0. 002f:fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 0. 002f:fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 0. 002f:fixme:bthpropscpl:BluetoothFindFirstDevice (0x22d490 0x1f287670): stub! Searching for compatible XInput library... (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) 002f:fixme:xinput:XInputGetState (index 255, state 0x2bb7c20) Stub! 002f:fixme:xinput:XInputGetStateEx (index 255, state 0x22d8b0) Stub! Found Xinput1_4.dll. (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) 002f:fixme:console:AttachConsole stub ffffffff Bloom: True (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) 002f:fixme:ntdll:NtQueryTimerResolution (0x22e268,0x22e260,0x22e258), stub! Setting current language to "en" (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) 0 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) arg[0]="Z:\home\steam\ror2-dedicated\Risk of Rain 2.exe" (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: ArtifactCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: BodyCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: BuffCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: CostTypeCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: EffectCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Error registering effect "GrandparentGroundSwipeTrailEffect (UnityEngine.GameObject)": Prefab does not have EffectComponent attached. (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: EliteCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: EquipmentCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: GenericPickupController (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: NetworkUIPromptController (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: PickupDropletController (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: RunArtifactManager (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: ItemCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: MasterCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: PickupCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: PickupTransmutationManager (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: ProjectileCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: RuleCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: SceneCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: SteamworksServerManager (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: SurvivorCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Unregistered survivor Bandit! (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: UnlockableCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: UserProfile (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: SkinCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: StatDef (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: StatManager (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: StatSheet (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: SkillCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: EnemyInfoPanel (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: UILayerKey (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: NetworkSoundEventCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: BombArtifactManager (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: CommandArtifactManager (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: DoppelgangerInvasionManager (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: EnigmaArtifactManager (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: FriendlyFireArtifactManager (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: MonsterTeamGainsItemsArtifactManager (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: SacrificeArtifactManager (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: SwarmsArtifactManager (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: TeamDeathArtifactManager (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: ProjectileGhostReplacementManager (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: NetworkExtensions (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: AchievementManager (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: ArtifactMask (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: BuffMask (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: LunarItemOrEquipmentCostTypeHelper (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: ItemDisplayRuleSet (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: EquipmentMask (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: PreGameRuleVoteController (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: ShrineCleanseBehavior (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: GameModeCatalog (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Registered gamemode BaseDefenseRun True (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Registered gamemode ClassicRun True (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Registered gamemode WeeklyRun True (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: Loadout (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: BodyLoadoutManager (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: RuleBook (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: SerializableLoadout (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Initializing system: CharacterSpawnCard (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Could not load config /Config/config.cfg: Could not find file "Z:\home\steam\ror2-dedicated\Risk of Rain 2_Data\Config\config.cfg" (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Could not load config /Config/autoexec.cfg: Could not find file "Z:\home\steam\ror2-dedicated\Risk of Rain 2_Data\Config\autoexec.cfg" (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Loading custom server configuration... (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Could not load config /Config/server.cfg: Could not find file "Z:\home\steam\ror2-dedicated\Risk of Rain 2_Data\Config\server.cfg" (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Hosting server... (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) GameNetworkManager.desiredHost={ hostType=Self listen=True maxPlayers=4 } (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) WARNING: Shader Unsupported: 'Hopoo Games/Internal/Outline Highlight' - Pass '' has no vertex shader ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Hopoo Games/Internal/Outline Highlight' - Setting to default shader. Active scene changed from to title (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Loaded scene title loadSceneMode=2 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) InitServer: GameServer_Init returned false (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) steamworksServer.IsValid=False (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) 002f:fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub Unloading 6 Unused Serialized files (Serialized files now loaded: 0) Unloaded scene title (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) UnloadTime: 18.699800 ms gridColumns=8,totalElements=10,gridRows=2,maxEntryCount=16 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Active scene changed from to lobby (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Loaded scene lobby loadSceneMode=Single (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Chatbox showInput:True (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Chatbox showInput:False (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Press Enter to chat. (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45) Unloading 970 unused Assets to reduce memory usage. Loaded Objects now: 80101. Total: 145.897200 ms (FindLiveObjects: 4.836800 ms CreateObjectMapping: 9.982100 ms MarkObjects: 120.029600 ms DeleteObjects: 11.048000 ms) ``` Trying to connect with the command : `cl_password "kfUDotn8jf6S"; connect "x.x.x.x:27015";` (I used the correct IP), got : ``` Attempt to send to not connected connection {1} Failed to send internal buffer channel:6 bytesToSend:1096 Send Error: WrongConnection channel:6 bytesToSend:1096 ChannelBuffer SendBytes no space on unreliable channel 6 GameNetworkManager.desiredHost={ hostType=None } ClientDisconnected due to error: Timeout Unloaded scene title Active scene changed from to title Loaded scene title loadSceneMode=Single ```

Running on :

Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:    20.04
Codename:   focal

Any idea ?

thewilltavares commented 4 years ago
1. Are you trying anything custom? E.g. changing port or setting a password?

2. Do you get different results stopping the container and restarting it (both on starting and connecting phases) ?

I can confirm that the initial screenshot is the normal and expected behaviour, so the server starts up correctly but cannot handle connections.

I actually test the docker images on a DigitalOcean droplet with Debian Buster and it definitely works there, the problem is (probably) somewhere else.

Hi @avivace I tried with and without custom settings, and stopping/starting and rebuilding a few times as well. If the log file is expected behavior, I must have something else (perhaps network related) to address.

Vaela-V commented 4 years ago

Hi there, decided to chip in as I am experiencing the exact same issue. @thewilltavares , I'm using Ubuntu 16.0.4 so I am wondering if it has something to do with the operating system if Debian Buster works fine? I am currently getting an environment setup to confirm this, but that's the only thing I can think of that could be influencing this at present.

EDIT: I have attempted using this on a fresh installation of Debian buster, but the results seem to be exactly the same. Maybe there's a possibility of something extra being required, or a specific network configuration to allow connections to pass in a certain way? Firewalls don't seem to be causing any issues as I can't find any enabled, but I may be wrong.

Leamnji commented 4 years ago

Hi all, just chipping in myself too. Having the same issues. Although I have started off with the Steam dedicated server and have noticed the same issues on there... Maybe something caused by the source?

I have tested with the Windows install and (only) connecting to the server on localhost worked. Anything past that was not able to get to the port at all. Not even telnets on the Default port out of the same Network.

Thinking it might be some stupid Win Network or Firewall issue I have switched to my 18.04.4 Ubuntu LTS and tried the docker image on there. Cannot access the port again and there are other gameservers running just fine on there. Checked with https://www.portcheckers.com/ aswell and port is closed to them.

avivace commented 4 years ago

Hi @Leamnji , @Vaela-V , @thewilltavares Sorry for the late reply. Unfortunately, we are not able to consistently reproduce this issue. We test the docker image on blank droplets from DigitalOcean on Debian 10, without any prior configuration to the system. This is probably a network/nat related issue.

One thing you can try is to open the query port too (so 27015 and 27016 needs to be allowed), and append 27016:27016/udp on the docker command.

On the other hand, it makes little sense to troubleshoot to hell this now, since a the 1.0 release is expected to come in August and they might bring some improvements and fixes (server browser??) to the server, too.

vyrus714 commented 4 years ago

Getting the same thing here on an arch desktop. It runs to the same point as the dedicated server console directly off steam/proton (unloading x unused assets ...), but you can't type or interact with it. I can use the window launched through steam like a normal server console (although with tons of extra text and markdown gibberish) with commands like 'help', 'quit', etc, but the docker console is completely unresponsive, and the only way to stop it was to lookup the PID and kill -9 it, ctrl-c and even ctrl-z wouldn't work. Wasn't able to connect via localhost while it was running.

sensssz commented 4 years ago

Getting the same issue here. One thing I noticed is that in the output log there are error messages like

Could not load config /Config/config.cfg: Could not find file "Z:\home\steam\ror2-dedicated\Risk of Rain 2_Data\Config\config.cfg"
Could not load config /Config/config.cfg: Could not find file "Z:\home\steam\ror2-dedicated\Risk of Rain 2_Data\Config\autoexec.cfg"
Could not load config /Config/config.cfg: Could not find file "Z:\home\steam\ror2-dedicated\Risk of Rain 2_Data\Config\server.cfg"

I don't know what the first 2 config files do, but the last one is required when you specify a password right? My command was docker run avivace/ror2server:0.1 -p 27015:27015 -p 27015:27015/udp -e R2_PSW='PASSWORD'

avivace commented 4 years ago

Did you guys retry with the 1.0 release? Any update?

DerYeger commented 4 years ago

Hello, with 1.0 I'm getting

Could not load config /Config/server_pregame.cfg: Could not find file "Z:\home\steam\ror2-dedicated\Risk of Rain 2_Data\Config\server_pregame.cfg"

on the server-side and

Attempt to send to not connected connection {1}
Failed to send internal buffer channel:6 bytesToSend:1096
Send Error: WrongConnection channel:6 bytesToSend:1096
ChannelBuffer SendBytes no space on unreliable channel 6
GameNetworkManager.desiredHost={ hostType=None }
ClientDisconnected due to error: Timeout

when trying to connect.

Vaela-V commented 4 years ago

I can now confirm that after the 1.0 update and the new commits, everything works fine... Apart from the command input in console. That doesn't really bother me though, as there are mods such as R2DSE that gets past this issue. Thanks a bunch, it works just as normal!

Vam-Jam commented 4 years ago

Hello, with 1.0 I'm getting

Could not load config /Config/server_pregame.cfg: Could not find file "Z:\home\steam\ror2-dedicated\Risk of Rain 2_Data\Config\server_pregame.cfg"

on the server-side

That isnt anything to worry about. They added a new config in the 1.0 update, Servers can now define behavior to run upon entering character select by supplying a "server_pregame.cfg" config file

avivace commented 4 years ago

I can confirm the server is running correctly. As mentioned by @Vam-Jam that file is not strictly required and the error is non-blocking

dubvulture commented 4 years ago

@DerYeger see #5 and #6

DerYeger commented 4 years ago

@DerYeger see #5 and #6

This worked for me. Thank you!

avivace commented 4 years ago

@DerYeger see #5 and #6

This worked for me. Thank you!

Great!

@vyrus714 @Leamnji @thewilltavares @qcoumes Can you try refollowing the README now? We pushed some updates and hopefully we fixed the network connection issues.

qcoumes commented 4 years ago

Everything is working on my side, good job !

vyrus714 commented 4 years ago

Works fine now! I think my previous problems with stopping it were just not being familiar with docker as well - it stopped fine with docker stop.