OpenFactorioServerManager / factorio-server-manager

A tool to help manage Factorio multiplayer servers including mods and save games.
MIT License
541 stars 129 forks source link

Unable to find server #392

Open Bryuhn opened 2 weeks ago

Bryuhn commented 2 weeks ago

Hey there and thanks for any help in advance.

I am trying to setup a server ( like everyone here) but running into an issue where I looks like its up and running, but I can't seem to find the sever anywhere:

Anyone able to help or run into this before?

The console says:

2.048 Info AuthServerConnector.cpp:189: Got token from auth server for username(xxxxx). 2.050 Info ServerSynchronizer.cpp:29: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0). 2.050 Info ServerMultiplayerManager.cpp:814: updateTick(4294967295) changing state from(Ready) to(PreparedToHostGame) 2.050 Info ServerMultiplayerManager.cpp:814: updateTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame) 2.052 Loading map /opt/factorio/saves/saves/test.zip: 798153 bytes. 2.090 Loading level.dat: 1243368 bytes. 2.103 Info Scenario.cpp:204: Map version 1.1.109-0 2.151 Loading script.dat: 1171 bytes. 2.159 Checksum for script /opt/factorio/temp/currently-playing/control.lua: 3702463597 2.232 Info UDPSocket.cpp:33: Opening socket at (IP ADDR:({0.0.0.0:34197})) 2.232 Hosting game at IP ADDR:({0.0.0.0:34197}) 2.232 Info HttpSharedState.cpp:58: Downloading https://auth.factorio.com/generate-server-padlock-2?api_version=6 2.579 Info AuthServerConnector.cpp:95: Obtained serverPadlock for serverHash (Vaf5bYSCqucuIxKITafUjPjjii5O4yJV) from the auth server. 2.579 Info ServerMultiplayerManager.cpp:814: updateTick(0) changing state from(CreatingGame) to(InGame) 3.057 Info ServerRouter.cpp:664: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197, pingpong3.factorio.com:34197, pingpong4.factorio.com:34197) for own address 3.058 Info UDPSocket.cpp:45: Opening socket for broadcast 3.059 Info RemoteCommandProcessor.cpp:133: Starting RCON interface at IP ADDR:({0.0.0.0:43997}) 3.061 Info RemoteCommandProcessor.cpp:252: New RCON connection from IP ADDR:({127.0.0.1:59182}) 3.059 Info CommandLineMultiplayer.cpp:297: Maximum segment size = 100; minimum segment size = 25; maximum-segment-size peer count = 10; minimum-segment-size peer count = 20 3.160 Warning ServerRouter.cpp:541: Received own address message reply with conflicting address (got IP ADDR:({90.5.4.251:35427}), expected IP ADDR:({90.5.4.251:24080})) 3.160 Warning ServerMultiplayerManager.cpp:662: Determining own address has failed. Best guess: IP ADDR:({90.5.4.251:24080}) 3.176 Warning ServerRouter.cpp:541: Received own address message reply with conflicting address (got IP ADDR:({90.5.4.251:39193}), expected IP ADDR:({90.5.4.251:24080})) 3.310 Warning ServerRouter.cpp:541: Received own address message reply with conflicting address (got IP ADDR:({90.5.4.251:14172}), expected IP ADDR:({90.5.4.251:24080})) 3.529 Info MatchingServer.cpp:124: Matching server game 17886404 has been created. 3.543 Info ServerMultiplayerManager.cpp:746: Matching server connection resumed

knoxfighter commented 2 weeks ago

Hi, how did you start the server? With the provided dockerfile or with a command line? The factorio server itself listens on 0.0.0.0:34197 which means on all ip-addresses on that PC/Server on port 34197.

Bryuhn commented 2 weeks ago

Hi, how did you start the server? With the provided dockerfile or with a command line? The factorio server itself listens on 0.0.0.0:34197 which means on all ip-addresses on that PC/Server on port 34197.

I used the WEB UI, which you can see here:

image

I should note that I am using my TrueNas Scale to run the server

knoxfighter commented 2 weeks ago

And how did you start the web UI?

Bryuhn commented 2 weeks ago

And how did you start the web UI?

Its running on my TrueNas Scale

knoxfighter commented 2 weeks ago

Via Docker or native and how does that handle ports and IPs?

Bryuhn commented 2 weeks ago

I am using the TrueCharts app for factorioservermanager, image

and the ports are :

image

The full log is:

2024-06-18 11:32:50.160130+02:002024/06/18 09:32:50 Starting Factorio server. 2024-06-18 11:32:50.160205+02:002024/06/18 09:32:50 Starting Factorio server with settings: {"bindip":"0.0.0.0","savefile":"Load Latest","port":34197} 2024-06-18 11:32:50.465899+02:002024/06/18 09:32:50 Starting server with command: /opt/factorio/bin/x64/factorio [--bind 0.0.0.0 --port 34197 --server-settings /opt/factorio/config/server-settings.json --rcon-port 44060 --rcon-password XVlBzgbaiCMRAjWwhTHctcuA --server-adminlist /opt/factorio/config/server-adminlist.json --start-server-load-latest] 2024-06-18 11:32:50.477809+02:002024/06/18 09:32:50 new state, will also send to correct room 2024-06-18 11:32:51.159993+02:002024/06/18 09:32:51 Running Factorio server detected 2024-06-18 11:32:51.160333+02:002024/06/18 09:32:51 Factorio server with save: Load Latest started on port: 34197 2024-06-18 11:32:54.895919+02:002024/06/18 09:32:54 Factorio Server: 0.000 2024-06-18 09:32:54; Factorio 1.1.109 (build 62320, linux64, headless) 2024-06-18 11:32:54.895986+02:002024/06/18 09:32:54 Factorio Server: 0.001 Operating system: Linux 2024-06-18 11:32:54.896745+02:002024/06/18 09:32:54 Factorio Server: 0.001 Program arguments: "/opt/factorio/bin/x64/factorio" "--bind" "0.0.0.0" "--port" "34197" "--server-settings" "/opt/factorio/config/server-settings.json" "--rcon-port" "44060" "--rcon-password" "--server-adminlist" "/opt/factorio/config/server-adminlist.json" "--start-server-load-latest" 2024-06-18 11:32:54.896796+02:002024/06/18 09:32:54 Factorio Server: 0.001 Config path: /opt/factorio/config/config.ini 2024-06-18 11:32:54.896811+02:002024/06/18 09:32:54 Factorio Server: 0.001 Read data path: /opt/factorio/data 2024-06-18 11:32:54.896822+02:002024/06/18 09:32:54 Factorio Server: 0.001 Write data path: /opt/factorio [3956443/3964821MB] 2024-06-18 11:32:54.896832+02:002024/06/18 09:32:54 Factorio Server: 0.002 Binaries path: /opt/factorio/bin 2024-06-18 11:32:55.025862+02:002024/06/18 09:32:55 Factorio Server: 0.130 System info: [CPU: Intel(R) Core(TM) i3-4150T CPU @ 3.00GHz, 4 cores, RAM: 7868 MB] 2024-06-18 11:32:55.025900+02:002024/06/18 09:32:55 Factorio Server: 0.130 Environment: DISPLAY= WAYLAND_DISPLAY= DESKTOP_SESSION= XDG_SESSION_DESKTOP= XDG_CURRENT_DESKTOP= GL_FSAA_MODE= GL_LOG_MAX_ANISO= __GL_SYNC_TO_VBLANK= GL_SORT_FBCONFIGS= GL_YIELD= 2024-06-18 11:32:55.025926+02:002024/06/18 09:32:55 Factorio Server: 0.130 Running in headless mode 2024-06-18 11:32:55.165400+02:002024/06/18 09:32:55 Factorio Server: 0.270 Loading mod core 0.0.0 (data.lua) 2024-06-18 11:32:55.193558+02:002024/06/18 09:32:55 Factorio Server: 0.299 Loading mod base 1.1.109 (data.lua) 2024-06-18 11:32:55.423424+02:002024/06/18 09:32:55 Factorio Server: 0.528 Loading mod base 1.1.109 (data-updates.lua) 2024-06-18 11:32:55.545343+02:002024/06/18 09:32:55 Factorio Server: 0.650 Checksum for core: 607699937 2024-06-18 11:32:55.545441+02:002024/06/18 09:32:55 Factorio Server: 0.650 Checksum of base: 1054619811 2024-06-18 11:32:57.877053+02:002024/06/18 09:32:57 Factorio Server: 2.981 Prototype list checksum: 3034860339 2024-06-18 11:32:58.172303+02:002024/06/18 09:32:58 Factorio Server: 3.057 Info PlayerData.cpp:78: Local player-data.json unavailable 2024-06-18 11:32:58.172340+02:002024/06/18 09:32:58 Factorio Server: 3.057 Info PlayerData.cpp:83: Cloud player-data.json unavailable 2024-06-18 11:32:58.294097+02:002024/06/18 09:32:58 Factorio Server: 3.370 Factorio initialised 2024-06-18 11:32:58.294803+02:002024/06/18 09:32:58 Factorio Server: 3.393 Info AuthServerConnector.cpp:631: Performing TLS check. 2024-06-18 11:32:58.294863+02:002024/06/18 09:32:58 Factorio Server: 3.394 Info HttpSharedState.cpp:58: Downloading https://auth.factorio.com/tls-check/success 2024-06-18 11:33:03.357096+02:002024/06/18 09:33:03 Factorio Server: 8.462 Info AuthServerConnector.cpp:656: TLS check success. 2024-06-18 11:33:03.357794+02:002024/06/18 09:33:03 Factorio Server: 8.462 Info HttpSharedState.cpp:58: Downloading https://auth.factorio.com/api-login?api_version=6 2024-06-18 11:33:04.026882+02:002024/06/18 09:33:04 Factorio Server: 9.128 Info AuthServerConnector.cpp:189: Got token from auth server for username(Bryuhn). 2024-06-18 11:33:04.049386+02:002024/06/18 09:33:04 Factorio Server: 9.139 Info ServerSynchronizer.cpp:29: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0). 2024-06-18 11:33:04.049497+02:002024/06/18 09:33:04 Factorio Server: 9.139 Info ServerMultiplayerManager.cpp:814: updateTick(4294967295) changing state from(Ready) to(PreparedToHostGame) 2024-06-18 11:33:04.049579+02:002024/06/18 09:33:04 Factorio Server: 9.140 Info ServerMultiplayerManager.cpp:814: updateTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame) 2024-06-18 11:33:04.049623+02:002024/06/18 09:33:04 Factorio Server: 9.141 Loading map /opt/factorio/saves/saves/test.zip: 798153 bytes. 2024-06-18 11:33:04.120357+02:002024/06/18 09:33:04 Factorio Server: 9.224 Loading level.dat: 1243368 bytes. 2024-06-18 11:33:04.128372+02:002024/06/18 09:33:04 Factorio Server: 9.233 Info Scenario.cpp:204: Map version 1.1.109-0 2024-06-18 11:33:04.231476+02:002024/06/18 09:33:04 Factorio Server: 9.333 Loading script.dat: 1171 bytes. 2024-06-18 11:33:04.388988+02:002024/06/18 09:33:04 Factorio Server: 9.493 Checksum for script /opt/factorio/temp/currently-playing/control.lua: 3702463597 2024-06-18 11:33:04.444545+02:002024/06/18 09:33:04 Factorio Server: 9.549 Info UDPSocket.cpp:33: Opening socket at (IP ADDR:({0.0.0.0:34197})) 2024-06-18 11:33:04.444995+02:002024/06/18 09:33:04 Factorio Server: 9.550 Hosting game at IP ADDR:({0.0.0.0:34197}) 2024-06-18 11:33:04.445034+02:002024/06/18 09:33:04 Factorio Server: 9.550 Info HttpSharedState.cpp:58: Downloading https://auth.factorio.com/generate-server-padlock-2?api_version=6 2024-06-18 11:33:04.791629+02:002024/06/18 09:33:04 Factorio Server: 9.897 Info AuthServerConnector.cpp:95: Obtained serverPadlock for serverHash (LYWBpp78J9l4ikKopJvU83bEIhMwTEBn) from the auth server. 2024-06-18 11:33:04.791729+02:002024/06/18 09:33:04 Factorio Server: 9.897 Info ServerMultiplayerManager.cpp:814: updateTick(0) changing state from(CreatingGame) to(InGame) 2024-06-18 11:33:04.964526+02:002024/06/18 09:33:04 Factorio Server: 10.069 Info ServerRouter.cpp:664: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197, pingpong3.factorio.com:34197, pingpong4.factorio.com:34197) for own address 2024-06-18 11:33:04.965814+02:002024/06/18 09:33:04 Factorio Server: 10.070 Info UDPSocket.cpp:45: Opening socket for broadcast 2024-06-18 11:33:04.966639+02:002024/06/18 09:33:04 Factorio Server: 10.071 Info RemoteCommandProcessor.cpp:133: Starting RCON interface at IP ADDR:({0.0.0.0:44060}) 2024-06-18 11:33:04.966690+02:002024/06/18 09:33:04 Rcon running on Factorio Server 2024-06-18 11:33:05.035296+02:002024/06/18 09:33:05 rcon session established on 0.0.0.0:44060 2024-06-18 11:33:05.035345+02:002024/06/18 09:33:05 Factorio Server: 10.071 Info CommandLineMultiplayer.cpp:297: Maximum segment size = 100; minimum segment size = 25; maximum-segment-size peer count = 10; minimum-segment-size peer count = 20 2024-06-18 11:33:05.035361+02:002024/06/18 09:33:05 Factorio Server: 10.084 Info RemoteCommandProcessor.cpp:252: New RCON connection from IP ADDR:({127.0.0.1:55190}) 2024-06-18 11:33:05.067493+02:002024/06/18 09:33:05 Factorio Server: 10.172 Warning ServerRouter.cpp:541: Received own address message reply with conflicting address (got IP ADDR:({90.5.4.251:64004}), expected IP ADDR:({90.5.4.251:10295})) 2024-06-18 11:33:05.067616+02:002024/06/18 09:33:05 Factorio Server: 10.172 Warning ServerMultiplayerManager.cpp:662: Determining own address has failed. Best guess: IP ADDR:({90.5.4.251:10295}) 2024-06-18 11:33:05.084377+02:002024/06/18 09:33:05 Factorio Server: 10.189 Warning ServerRouter.cpp:541: Received own address message reply with conflicting address (got IP ADDR:({90.5.4.251:19809}), expected IP ADDR:({90.5.4.251:10295})) 2024-06-18 11:33:05.217525+02:002024/06/18 09:33:05 Factorio Server: 10.322 Warning ServerRouter.cpp:541: Received own address message reply with conflicting address (got IP ADDR:({90.5.4.251:50062}), expected IP ADDR:({90.5.4.251:10295})) 2024-06-18 11:33:05.434058+02:002024/06/18 09:33:05 Factorio Server: 10.539 Info MatchingServer.cpp:124: Matching server game 17886492 has been created. 2024-06-18 11:33:05.451139+02:002024/06/18 09:33:05 Factorio Server: 10.556 Info ServerMultiplayerManager.cpp:746: Matching server connection resumed

knoxfighter commented 2 weeks ago

Never heard of TrueNas before. My guess is that the server is available on the IP of the TrueNas. So you should be able to connect just by writing the IP of the TrueNas to connect to the server.

Bryuhn commented 2 weeks ago

Well that worked!!

Any idea how to change the version? Its on 1.1.109.0 but would prefer to play on 1.1.107.0

Mattie112 commented 1 week ago

Here you can find that info: https://github.com/OpenFactorioServerManager/factorio-server-manager/blob/develop/docker/README.md#factorio-version