Jump to content

Welcome to the Forum!

The best place to exchange builds and ideas! Vote for the best ideas and suggestions here.

Join the Avorion Discord!

Connect with other passionate players and talk about the latest news.
Discord

DLC Avorion Into the Rift Out Now!

Now available on Steam!
Steam

Multiplayer - Server unreachable - Dedicated hosting using steam networking


Simyo
 Share

Recommended Posts

Hi there,

 

We are trying to set up a server for our group.

 

We rented a dedicated ubuntu machine on digital ocean and set everything up according to guide (https://avorion.gamepedia.com/Setting_up_a_server#Setting_up_the_Server_.28Linux.29)

It is hosted without any server firewall right now, and we tried disabling client (windows) firewalls as well.

Currently it is hosted with the beta branch version of avorion, but using stable yielded the same results.

We are able to connect disabling steam networking, but that seems to be highly discouraged.

 

The server.ini settings are mostly default:

[Game]
Seed=kB46mhH5K0
Difficulty=0
HardcoreEnabled=false
InfiniteResources=false
CollisionDamage=0.5
SafePlayerInput=false
PlayerToPlayerDamage=true
LogoutInvincibility=true
LogoutInvincibilityDelay=30
DevMode=false
ExplicitCallables=true
BigWreckageDespawnTime=1800
SmallWreckageDespawnTime=900
MaximumFightersPerSectorAndPlayer=-1
MaximumBlocksPerCraft=-1
MaximumVolumePerShip=-1
MaximumVolumePerStation=-1
MaximumPlayerShips=-1
MaximumPlayerStations=-1
MaximumBlocksPerTurret=250
PlayerInventorySlots=1000
AllianceInventorySlots=1000
Version=1.0
sameStartSector=true
startUpScript=data/scripts/server/server.lua
startSectorScript=startsector
[system]
saveInterval=600
sectorUpdateTimeLimit=300
emptySectorUpdateInterval=0.5
workerThreads=1
generatorThreads=2
scriptBackgroundThreads=2
aliveSectorsPerPlayer=5
weakUpdate=true
profiling=false
sendCrashReports=true
hangDetection=true
backups=true
backupsPath=
simulateHighLoadServer=false
sendSectorDelay=2
placeInShipOnDeathDelay=7
[Networking]
port=27000
broadcastInterval=5
isPublic=true
isListed=true
isAuthenticated=true
sendStatsToAdmins=true
useSteam=true
rconIp=
rconPassword=
rconPort=27015
[Administration]
maxPlayers=10
name=Simyo
description=Simyo
password=fun
pausable=false
accessListMode=Blacklist
steamIdOverride=0

 

Server log of me trying to connect

2020-03-17 13-51-39| Main Thread ID: 139840410056576
2020-03-17 13-51-39| Enabled Traces: 
2020-03-17 13-51-39| Avorion server 1.0 r22100 e7db78830de5 running on Ubuntu 18.04.4 LTS starting up in "/home/simyo/saves/test"
2020-03-17 13-51-39| Version Hash: -1496806408341665003
2020-03-17 13-51-39| CPU: Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz 1 Cores
2020-03-17 13-51-39| RAM: 0GB
2020-03-17 13-51-39| 
2020-03-17 13-51-39| Initializing networking...
2020-03-17 13-51-39| Server version, as listed publicly: 1.0.0.22100
2020-03-17 13-51-40| Server connected to Steam successfully
2020-03-17 13-51-40| Server is VAC Secure!
2020-03-17 13-51-40| Game Server Steam ID: 90133551984078851
2020-03-17 13-51-40| Game Port: 27000
2020-03-17 13-51-40| Steam Port: 27021
2020-03-17 13-51-40| Steam Query Port: 27020
2020-03-17 13-51-40| Query Port: 27003
2020-03-17 13-51-40| 
2020-03-17 13-51-40| Steam Networking initialized.
2020-03-17 13-51-40| Warning: No RCON password set. RCON disabled.
2020-03-17 13-51-40| Loading global variables...
2020-03-17 13-51-40| Found 0 mods in "/home/simyo/saves/test/modconfig.lua".
2020-03-17 13-51-41| name: Simyo
2020-03-17 13-51-41| seed: kB46mhH5K0
2020-03-17 13-51-41| port: 27000
2020-03-17 13-51-41| password: yes
2020-03-17 13-51-41| max online players: 10
2020-03-17 13-51-41| save interval: 600
2020-03-17 13-51-41| broadcast interval: 5
2020-03-17 13-51-41| max loaded sector time: 300
2020-03-17 13-51-41| weak update: yes
2020-03-17 13-51-41| worker threads: 1
2020-03-17 13-51-41| generator threads: 2
2020-03-17 13-51-41| script background threads: 2
2020-03-17 13-51-41| difficulty: Veteran
2020-03-17 13-51-41| infiniteResources: no
2020-03-17 13-51-41| collision: 0.5
2020-03-17 13-51-41| access list: Blacklist
2020-03-17 13-51-41| public: yes
2020-03-17 13-51-41| authentication: yes
2020-03-17 13-51-41| listed: yes
2020-03-17 13-51-41| steam networking: yes
2020-03-17 13-51-41| send crash reports: yes
2020-03-17 13-51-41| Backup creation enabled. Path: "/root/.avorion/backups"
2020-03-17 13-51-41| Please ensure that the server has write-access to that path.
2020-03-17 13-51-41| administrators: 'admin' 
2020-03-17 13-51-41| Initializing sector database...
2020-03-17 13-51-41| Starting thread [Create Sectors WorkerPool Thread 0]...
2020-03-17 13-51-41| Started thread [Create Sectors WorkerPool Thread 0] with id 139840324855552
2020-03-17 13-51-41| Starting thread [Create Sectors WorkerPool Thread 1]...
2020-03-17 13-51-41| Started thread [Create Sectors WorkerPool Thread 1] with id 139839974405888
2020-03-17 13-51-41| Starting thread [save Sectors WorkerPool Thread 0]...
2020-03-17 13-51-41| Started thread [save Sectors WorkerPool Thread 0] with id 139839966013184
2020-03-17 13-51-41| Initializing faction database...
2020-03-17 13-51-41| Starting thread [save Factions WorkerPool Thread 0]...
2020-03-17 13-51-41| Started thread [save Factions WorkerPool Thread 0] with id 139839957620480
2020-03-17 13-51-41| Initializing galaxy...
2020-03-17 13-51-42| Starting up 1 worker threads...
2020-03-17 13-51-42| Starting thread [Game WorkerPool Thread 0]...
2020-03-17 13-51-42| Started thread [Game WorkerPool Thread 0] with id 139839949227776
2020-03-17 13-51-42| Starting up 2 script background threads...
2020-03-17 13-51-42| Starting thread [Lua WorkerPool Thread 0]...
2020-03-17 13-51-42| Started thread [Lua WorkerPool Thread 0] with id 139839940835072
2020-03-17 13-51-42| Starting thread [Lua WorkerPool Thread 1]...
2020-03-17 13-51-42| Started thread [Lua WorkerPool Thread 1] with id 139839932442368
2020-03-17 13-51-42| Starting thread [Lua WorkerPool Thread 2]...
2020-03-17 13-51-42| Started thread [Lua WorkerPool Thread 2] with id 139839924049664
2020-03-17 13-51-42| Starting thread [Lua WorkerPool Thread 3]...
2020-03-17 13-51-42| Started thread [Lua WorkerPool Thread 3] with id 139839705970432
2020-03-17 13-51-42| Thread [Lua WorkerPool Thread 0] with id 139839940835072 exiting...
2020-03-17 13-51-42| Thread [Lua WorkerPool Thread 0] with id 139839940835072 exited
2020-03-17 13-51-42| Thread [Lua WorkerPool Thread 1] with id 139839932442368 exiting...
2020-03-17 13-51-42| Thread [Lua WorkerPool Thread 1] with id 139839932442368 exited
2020-03-17 13-51-42| Thread [Lua WorkerPool Thread 2] with id 139839924049664 exiting...
2020-03-17 13-51-42| Thread [Lua WorkerPool Thread 2] with id 139839924049664 exited
2020-03-17 13-51-42| Thread [Lua WorkerPool Thread 3] with id 139839705970432 exiting...
2020-03-17 13-51-42| Thread [Lua WorkerPool Thread 3] with id 139839705970432 exited
2020-03-17 13-51-42| Starting thread [Lua WorkerPool Thread 4]...
2020-03-17 13-51-42| Started thread [Lua WorkerPool Thread 4] with id 139839705970432
2020-03-17 13-51-42| Starting thread [Lua WorkerPool Thread 5]...
2020-03-17 13-51-42| Started thread [Lua WorkerPool Thread 5] with id 139839924049664
2020-03-17 13-51-42| Loading jumping entities... 
2020-03-17 13-51-42| Loading groups...
2020-03-17 13-51-42| Loading script data...
2020-03-17 13-51-42| Galaxy initialized.
2020-03-17 13-51-42| Setting startup script...
2020-03-17 13-51-42| Starting thread [input Commands]...
2020-03-17 13-51-42| Started thread [input Commands] with id 139839932442368
2020-03-17 13-51-42| Server has been running for 1395 seconds in total, and 1395 without pauses.
2020-03-17 13-51-42| Server startup complete.
2020-03-17 13-51-42| Starting thread [uDP Connection Receive]...
2020-03-17 13-51-42| Started thread [uDP Connection Receive] with id 139839940835072
2020-03-17 13-51-42| Starting thread [HangDetector]...
2020-03-17 13-51-42| Started thread [HangDetector] with id 139839697577728
2020-03-17 13-51-42| Starting thread [steam Networking Receive]...
2020-03-17 13-51-42| Started thread [steam Networking Receive] with id 139839689185024
2020-03-17 13-51-55| OnP2PSessionRequest from 76561198008673901
2020-03-17 13-52-10| Client 76561198008673901 lost connection
2020-03-17 13-52-10| Ending authentication session of 76561198008673901
2020-03-17 13-54-32| Thread [HangDetector] with id 139839697577728 exiting...
2020-03-17 13-54-32| Thread [HangDetector] with id 139839697577728 exited
2020-03-17 13-54-32| Thread [input Commands] with id 139839932442368 exiting...
2020-03-17 13-54-32| Thread [input Commands] with id 139839932442368 exited
2020-03-17 13-54-32| Server is shutting down.
2020-03-17 13-54-32| Saving settings...
2020-03-17 13-54-32| Saving script values...
2020-03-17 13-54-32| Saving factions...
2020-03-17 13-54-32| Saving sectors...
2020-03-17 13-54-32| Saving groups...
2020-03-17 13-54-32| Saving galaxy script data...
2020-03-17 13-54-32| Saving settings...
2020-03-17 13-54-32| waiting for unfinished sector generation jobs...
2020-03-17 13-54-32| waiting for unfinished sector save jobs...
2020-03-17 13-54-32| shutting down rcon...
2020-03-17 13-54-32| shutting down networking...
2020-03-17 13-54-32| Thread [steam Networking Receive] with id 139839689185024 exiting...
2020-03-17 13-54-32| Thread [steam Networking Receive] with id 139839689185024 exited
2020-03-17 13-54-32| Thread [uDP Connection Receive] with id 139839940835072 exiting...
2020-03-17 13-54-32| Thread [uDP Connection Receive] with id 139839940835072 exited
2020-03-17 13-54-32| UDP closed
2020-03-17 13-54-32| Server UDP: Connection closed
2020-03-17 13-54-32| cleaning up communicators...
2020-03-17 13-54-32| waiting for unfinished sector generation jobs...
2020-03-17 13-54-32| waiting for unfinished sector save jobs...
2020-03-17 13-54-32| shutting down galaxy...
2020-03-17 13-54-32| Thread [Lua WorkerPool Thread 4] with id 139839705970432 exiting...
2020-03-17 13-54-32| Thread [Lua WorkerPool Thread 4] with id 139839705970432 exited
2020-03-17 13-54-32| Thread [Lua WorkerPool Thread 5] with id 139839924049664 exiting...
2020-03-17 13-54-32| Thread [Lua WorkerPool Thread 5] with id 139839924049664 exited
2020-03-17 13-54-32| Thread [Game WorkerPool Thread 0] with id 139839949227776 exiting...
2020-03-17 13-54-32| Thread [Game WorkerPool Thread 0] with id 139839949227776 exited
2020-03-17 13-54-32| shutting down faction database...
2020-03-17 13-54-32| Thread [save Factions WorkerPool Thread 0] with id 139839957620480 exiting...
2020-03-17 13-54-32| Thread [save Factions WorkerPool Thread 0] with id 139839957620480 exited
2020-03-17 13-54-32| shutting down sector database...
2020-03-17 13-54-32| Thread [save Sectors WorkerPool Thread 0] with id 139839966013184 exiting...
2020-03-17 13-54-32| Thread [save Sectors WorkerPool Thread 0] with id 139839966013184 exited
2020-03-17 13-54-32| Thread [Create Sectors WorkerPool Thread 0] with id 139840324855552 exiting...
2020-03-17 13-54-32| Thread [Create Sectors WorkerPool Thread 0] with id 139840324855552 exited
2020-03-17 13-54-32| Thread [Create Sectors WorkerPool Thread 1] with id 139839974405888 exiting...
2020-03-17 13-54-32| Thread [Create Sectors WorkerPool Thread 1] with id 139839974405888 exited
2020-03-17 13-54-32| cleaning up timers...
2020-03-17 13-54-32| Server shutdown successful.

 

 

 

relevant netstat

udp        0      0 0.0.0.0:27003           0.0.0.0:*                           7592/./bin/AvorionS
udp        0      0 0.0.0.0:27020           0.0.0.0:*                           7592/./bin/AvorionS


 

We can't seem to connect to the server, though it is listed as online via the server browser.

 

I've been at this for a couple of hours. The only way to make it work seems to be to disable steam networking. There is no firewall running

 

Do you have any advise for me? I will gladly give your more information about the server environment. You can try joining as well, search for simyo in the server browser, it is a beta environment though.

 

I'm happy to try any suggestions right away.

 

Best regards,

Simyo

Link to comment
Share on other sites

2020-03-17 13-51-39| CPU: Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz 1 Cores
2020-03-17 13-51-39| RAM: 0GB

 

Afaik there is no Xeon Gold CPU with only one core, also 0GB ram looks strange... are you sure that it is a dedicated machine? Not a VM or cloud hosted root server? You may have performance issues if you really only have one Xeon Gold Core. Once I had 12 Xeon Gold cores and performance wasnt too good. Can you add more information about the server?

 

2020-03-17 13-51-55| OnP2PSessionRequest from 76561198008673901
2020-03-17 13-52-10| Client 76561198008673901 lost connection

 

The cleints seem to reach the server, but connections fails. Maybe some of the required ports are blocked, please ensure all relevant ports are open:

 

27000 - UDP & TCP

27003 - UDP

27020 - UDP

27021 - UDP

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...