azixus / ARK_Ascended_Docker

Docker image to run an ARK Survival Ascended server on Linux
MIT License
59 stars 11 forks source link

Can't connect to the server #2

Closed ocelik94 closed 8 months ago

ocelik94 commented 8 months ago

Hi,

first of all thank you for creating this project!

I am trying to run a ark server for me and some friends but I am struggling with connecting to the server after starting the docker compose and manually triggering the start of the ark server itself.

I can not find the server in the server browser, am I missing something?

azixus commented 8 months ago

Hey,

Could you give me the output of docker compose logs and docker compose exec asa_server ss -tupan ? You may want to censor your IP address, etc.

Someone had this issue with different SessionName in the .env file and the GameUserSettings.ini. Ensure that you have the same value, you may need to re-run docker compose up -d --build after updating the .env file.

We can also discuss privately on discord, my username is @azixus.

ocelik94 commented 8 months ago
udp          UNCONN        0              0                            0.0.0.0:7790                        0.0.0.0:*            users:(("GameThread",pid=160,fd=292),("wineserver",pid=94,fd=1502))        
udp          UNCONN        0              0                         127.0.0.11:50005                       0.0.0.0:*                                                                                       
tcp          LISTEN        0              16                           0.0.0.0:32330                       0.0.0.0:*            users:(("wineserver",pid=94,fd=1506))                                      
tcp          LISTEN        0              4096                      127.0.0.11:42339                       0.0.0.0:*                                                                                       
tcp          ESTAB         0              0                         172.20.0.2:44144                 44.217.219.37:443          users:(("GameThread",pid=160,fd=304),("wineserver",pid=94,fd=215))         
tcp          ESTAB         0              0                         172.20.0.2:44142                 44.217.219.37:443          users:(("GameThread",pid=160,fd=302),("wineserver",pid=94,fd=212)) 
asa_server  | + mkdir -p /home/arkuser/.steam/steam/steamapps/compatdata/2430930
asa_server  | + /opt/steamcmd/steamcmd.sh +force_install_dir /opt/arkserver +login anonymous +app_update 2430930 validate +quit
asa_server  | WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
asa_server  | Redirecting stderr to '/home/arkuser/.steam/steam/logs/stderr.txt'
asa_server  | Logging directory: '/home/arkuser/.steam/steam/logs'
asa_server  | [  0%] Checking for available updates...
asa_server  | [----] Verifying installation...
asa_server  | Steam Console Client (c) Valve Corporation - version 1698778122
asa_server  | -- type 'quit' to exit --
asa_server  | Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
asa_server  | OK
asa_server  | 
asa_server  | Connecting anonymously to Steam Public...OK
asa_server  | Waiting for client config...OK
asa_server  | Waiting for user info...OK
asa_server  |  Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
asa_server  |  Update state (0x5) verifying install, progress: 0.95 (90246231 / 9527225554)
asa_server  |  Update state (0x5) verifying install, progress: 11.17 (1064519990 / 9527225554)
asa_server  |  Update state (0x5) verifying install, progress: 22.40 (2134074550 / 9527225554)
asa_server  |  Update state (0x5) verifying install, progress: 28.94 (2757212493 / 9527225554)
asa_server  |  Update state (0x5) verifying install, progress: 32.88 (3132931553 / 9527225554)
asa_server  |  Update state (0x5) verifying install, progress: 39.37 (3750610624 / 9527225554)
asa_server  |  Update state (0x5) verifying install, progress: 45.75 (4358604935 / 9527225554)
asa_server  |  Update state (0x5) verifying install, progress: 58.27 (5551845527 / 9527225554)
asa_server  |  Update state (0x5) verifying install, progress: 61.12 (5823196359 / 9527225554)
asa_server  |  Update state (0x5) verifying install, progress: 65.35 (6225668855 / 9527225554)
asa_server  |  Update state (0x5) verifying install, progress: 77.88 (7419996919 / 9527225554)
asa_server  |  Update state (0x5) verifying install, progress: 79.14 (7540077889 / 9527225554)
asa_server  |  Update state (0x5) verifying install, progress: 91.72 (8737983778 / 9527225554)
asa_server  |  Update state (0x5) verifying install, progress: 97.37 (9276927620 / 9527225554)
asa_server  |  Update state (0x61) downloading, progress: 96.43 (9186891983 / 9527225554)
asa_server  |  Update state (0x61) downloading, progress: 97.20 (9260526064 / 9527225554)
asa_server  |  Update state (0x61) downloading, progress: 99.45 (9475093114 / 9527225554)
asa_server  |  Update state (0x61) downloading, progress: 100.00 (9527225554 / 9527225554)
asa_server  |  Update state (0x81) verifying update, progress: 12.12 (1155078498 / 9527225554)
asa_server  |  Update state (0x81) verifying update, progress: 24.70 (2353607906 / 9527225554)
asa_server  |  Update state (0x81) verifying update, progress: 37.30 (3553859308 / 9527225554)
asa_server  |  Update state (0x81) verifying update, progress: 49.64 (4729112755 / 9527225554)
asa_server  |  Update state (0x81) verifying update, progress: 62.30 (5935673047 / 9527225554)
asa_server  |  Update state (0x81) verifying update, progress: 74.85 (7130970915 / 9527225554)
asa_server  |  Update state (0x81) verifying update, progress: 87.23 (8310545742 / 9527225554)
asa_server  |  Update state (0x81) verifying update, progress: 99.75 (9502933587 / 9527225554)
asa_server  |  Update state (0x101) committing, progress: 27.69 (2638404631 / 9527225554)
asa_server  |  Update state (0x101) committing, progress: 56.04 (5338872458 / 9527225554)
asa_server  |  Update state (0x101) committing, progress: 79.29 (7554013777 / 9527225554)
asa_server  | Success! App '2430930' fully installed.
asa_server  | + mkdir -p /opt/arkserver/ShooterGame/Saved/Logs
asa_server  | + touch /opt/arkserver/ShooterGame/Saved/Logs/ShooterGame.log
asa_server  | + tail -c0 -F /opt/arkserver/ShooterGame/Saved/Logs/ShooterGame.log
asa_server  | -------- STARTING SERVER --------
asa_server  | tail: /opt/arkserver/ShooterGame/Saved/Logs/ShooterGame.log: file truncated
asa_server  | [2023.11.01-17.17.01:557][  0]Log file open, 11/01/23 17:17:01
asa_server  | [2023.11.01-17.17.01:557][  0]LogMemory: Platform Memory Stats for WindowsServer
asa_server  | [2023.11.01-17.17.01:557][  0]LogMemory: Process Physical Memory: 347.47 MB used, 350.75 MB peak
asa_server  | [2023.11.01-17.17.01:557][  0]LogMemory: Process Virtual Memory: 318.02 MB used, 318.02 MB peak
asa_server  | [2023.11.01-17.17.01:557][  0]LogMemory: Physical Memory: 11242.28 MB used,  52462.71 MB free, 63704.99 MB total
asa_server  | [2023.11.01-17.17.01:557][  0]LogMemory: Virtual Memory: 11253.04 MB used,  85186.95 MB free, 96439.98 MB total
asa_server  | [2023.11.01-17.17.01:986][  0]ARK Version: 25.55
asa_server  | [2023.11.01-17.17.02:419][  0]Primal Game Data Took 0.31 seconds
asa_server  | [2023.11.01-17.17.31:940][  0]Server: "Pr0ject ARK:SA" has successfully started!
asa_server  | [2023.11.01-17.17.32:156][  0]Commandline:  TheIsland_WP?listen?SessionName="Pr0ject ARK:SA"?Port=7790?MaxPlayers=10?ServerPassword=MyServerPassword?ServerAdminPassword="MyArkAdminPassword"?RCONEnabled=True?RCONPort=32330?ServerCrosshair=true?OverrideStructurePlatformPrevention=true?OverrideOfficialDifficulty=5.0?ShowFloatingDamageText=true?AllowFlyerCarryPvE=true -log -NoBattlEye -WinLiveMaxPlayers=10 -ForceAllowCaveFlyers -ForceRespawnDinos -AllowRaidDinoFeeding=true -ActiveEvent=Summer
asa_server  | [2023.11.01-17.17.32:156][  0]Full Startup: 30.98 seconds
asa_server  | [2023.11.01-17.17.32:156][  0]Number of cores 6
asa_server  | [2023.11.01-17.17.35:771][  2]wp.Runtime.HLOD = "1"

Edit: I got it working after setting the port in the docker-compose directly instead of the .env file.. interesting behaviour of my docker / server :D

azixus commented 8 months ago

Well, why not :) Glad it worked!