cdzp Posted January 13 Posted January 13 (edited) Hello We have small server for friends running avorion server, and all works fine. But sometimes (mostly evenings) steam networking have huge lags, making playing impossible. So we decided to connect to server directly, and there problems start. I added --use-steam-networking 0 to server.sh, and disable all steam-related options in server.ini and server seems to start fine [root@mc avorion]# ./server.sh Enabled Traces: Avorion server 2.5.5 5d4d2f754247 running on AlmaLinux 9.5 (Teal Serval) starting up in "/root/.avorion/galaxies/avorion_galaxy" Version Hash: -7210734170771434761 CPU: AMD Ryzen 9 5950X 16-Core Processor 4 Cores RAM: 19.3GB The server will not be authenticated via Steam and won't show up in public server lists. WARNING: The fallback TCP/UDP protocols are deprecated and potentially UNSAFE! If you're running a dedicated server, this is HIGHLY discouraged! Use steam networking instead; Enable with --use-steam-networking 1 Starting RCON server...RCON server started. Port: 20515 ok Found 0 mods in "/root/.avorion/galaxies/avorion_galaxy/modconfig.lua". name: *** seed: *** port: 27000 password: yes max online players: 10 save interval: 600 broadcast interval: 5 max loaded sector time: 300 weak update: yes worker threads: 4 generator threads: 2 script background threads: 2 difficulty: Insane scenario: Normal tutorial: no collision: 1 access list: Blacklist multiplayer: yes vac secure: no listed: no steam networking: no send crash reports: yes Backup creation disabled. administrators: Warning: Your server does not have an administrator assigned. Commands file: /root/.avorion/galaxies/avorion_galaxy/commands.txt Initializing sector database... Initializing faction database... Starting up 4 worker threads... Starting up 2 script background threads... Loading groups... Loading script data... Galaxy initialized. Server startup complete. [root@mc avorion]# ss -ap | grep Avorion udp UNCONN 0 0 0.0.0.0:27000 0.0.0.0:* users:(("AvorionServer",pid=667401,fd=22)) udp UNCONN 0 0 0.0.0.0:27003 0.0.0.0:* users:(("AvorionServer",pid=667401,fd=26)) tcp LISTEN 0 128 *.*.*.*:20515 0.0.0.0:* users:(("AvorionServer",pid=667401,fd=10)) tcp LISTEN 0 128 0.0.0.0:27000 0.0.0.0:* users:(("AvorionServer",pid=667401,fd=15)) [root@mc avorion]# firewall-cmd --list-all public (active) target: default icmp-block-inversion: no interfaces: eth0 sources: services: cockpit dhcpv6-client ftp ssh ports: 25565/tcp 19132/udp 25565/udp 19133/udp 27000/tcp 27000/udp 27003/udp 27020/udp 27021/udp 27001/udp 27002/udp 27022/udp 27023/udp 27003/tcp 27001/tcp 27002/tcp 27020/tcp 27021/tcp 27022/tcp 27023/tcp 1194/udp 20515/tcp protocols: forward: yes masquerade: yes forward-ports: source-ports: icmp-blocks: rich rules: (i opened bunch of ports trying to solve problem) We see server online in the game, and password dialog appears if trying to connect But then After some investigations, found in client log: 2025-01-13 03-28-10| remote address: ip (*.*.*.*:27000), init: steam 2025-01-13 03-28-10| corrected port for connection from 27000 to 27003 2025-01-13 03-28-10| Steam Networking: Connecting to server at *.*.*.*:27003 and then 2025-01-13 03-29-13| Connection to *.*.*.*:27003 failed: Client TCP Error: Connect failed, Game client trying connect via steam network, changing port for some reason, and after all, obviously, cant connect to changed tcp port Trying turn steam to offline mode, autonomous mode, nothing changes. Any suggestions how to fix this? Edited January 13 by cdzp
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now