Page 1 of 1

[0.17.69] Cannot join Multiplayer Server

Posted: Wed Oct 02, 2019 8:31 pm
by esheep
"Couldn't establish network communication with the server." is the error message when trying to join friend's hosted server. Friend and i can both join a random MP server in the server list, but i cannot join his server from the server list or by IP. We have configured firewall settings on Win10 and the router. We tried disabling all mods. Just not getting any communication to each other with version 17. Version 16 had no issues.

Only difference i can see is he has the game on Steam and i do not. Is there an issue with playing between versions? (I found a post about version 0.17.25 where the poster was able to join his friend's game when he converted his key to Steam. I have no desire to do that.)

Re: [0.17.69] Cannot join Multiplayer Server

Posted: Thu Oct 03, 2019 10:39 am
by Zavian
Both client and server need to be the same (numeric) game version. Mixing Steam and non-Steam versions shouldn't matter. Post the logs from both client and server after attempting to join.

Re: [0.17.69] Cannot join Multiplayer Server

Posted: Thu Oct 03, 2019 8:12 pm
by DankJemo
I'm the server-side of this issue.

My friend hadn't mentioned game version, but we're running the same software ver. We confirmed that in the beginning, even went as far as disabling any mods that may have been affecting it, with still the same problem. We won't be able to test again until later today, when we're out of work, but I did have the time to pull some logs from the previous attempt at hosting. I don't know if it will be that useful server-side, but this is what I could find in factorio-current.log I've highlighted a bit that seems a bit strange to me. I may be reading the log incorrectly, since I've never looked at any of this information from Factorio, but there is a bit in there that doesn't seem right.

We also did find in our testing that we can join other servers together and also that some servers cannot be pinged. Servers that cannot be pinged do the same thing for both of us and generate the same error. port 34197 is open on my router and is specifically targeting my internal IP, passing UDP traffic, as well as the Windows Firewall being configured to allow both in and outbound traffic through for the factorio.exe. This is a new issue, since we've been playing together with one of us hosting on and off without too many problems in the past. It seems that this connection issue came up after the latest update. There shouldn't be anything internally that is blocking this port, and it may be possible, but I doubt that my (or his) ISP suddenly started blocking port. As it is the firewall setting on my modem itself is set to "low" which is basically off.

We'll try it again tonight to see if there's anything different in the logs than there was from yesterday, but this is the most recent server-side log that's been generated.

Code: Select all

   0.000 2019-10-02 13:37:11; Factorio 0.17.69 (build 47194, win64, steam)
   0.000 Operating system: Windows 10 (version 1903) 
   0.000 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" "--wait-to-close" "55772" 
   0.000 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.000 Write data path: C:/Users/Ahab/AppData/Roaming/Factorio [171810/487769MB]
   0.000 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.006 System info: [CPU: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 16 cores, RAM: 11476/32703 MB, page: 16221/37567 MB, virtual: 4330/134217727 MB, extended virtual: 0 MB]
   0.006 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.011 Available displays: 1
   0.011  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1080 Ti {0x05, [0,0], 2560x1440, 32bit, 165Hz}
   0.080 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.247 Initialised Direct3D[0]: NVIDIA GeForce GTX 1080 Ti; id: 10de-1b06; driver: nvldumdx.dll 26.21.14.3630
   0.247   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   0.247   [Local Video Memory] Budget: 9457MB, CurrentUsage: 4MB, Reservation: 0/5007MB
   0.247   [Non-Local Vid.Mem.] Budget: 14716MB, CurrentUsage: 0MB, Reservation: 0/7767MB
   0.247   Tiled resources: Tier 2
   0.247   Unified Memory Architecture: No
   0.247   BGR 565 Supported: Yes
   0.247   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.247 Graphics settings preset: very-high
   0.247   Dedicated video memory size 11127 MB
   0.270 Desktop composition is active.
   0.270 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: high-quality] [Color: 32bit]
   0.270                   [Max threads (load/render): 32/16] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDC]
   0.293 DSound: Starting _dsound_update thread
   0.293 DSound: Enter _dsound_update; tid=32712
   0.888 Razer Chroma Controller initialized.
   0.892 Info ModManager.cpp:241: Found duplicate mod Enhanced_Map_Colors, using higher version (1.4.9 > 1.4.6).
   0.893 Info ModManager.cpp:241: Found duplicate mod long-reach, using higher version (0.0.13 > 0.0.12).
   0.894 Info ModManager.cpp:241: Found duplicate mod Squeak Through, using higher version (1.3.0 > 1.2.2).
   0.895 Loading mod settings Bottleneck 0.10.4 (settings.lua)
   0.895 Loading mod settings long-reach 0.0.13 (settings.lua)
   0.896 Loading mod core 0.0.0 (data.lua)
   0.967 Loading mod base 0.17.69 (data.lua)
   1.136 Loading mod Bottleneck 0.10.4 (data.lua)
   1.227 Loading mod Enhanced_Map_Colors 1.4.9 (data.lua)
   1.316 Loading mod base 0.17.69 (data-updates.lua)
   1.400 Loading mod Enhanced_Map_Colors 1.4.9 (data-updates.lua)
   1.489 Loading mod Squeak Through 1.3.0 (data-updates.lua)
   1.580 Checksum for core: 2087614386
   1.580 Checksum of base: 1061071205
   1.580 Checksum of Bottleneck: 3138809866
   1.580 Checksum of Enhanced_Map_Colors: 852423496
   1.580 Checksum of long-reach: 4166847516
   1.580 Checksum of Squeak Through: 3677677690
   1.704 Prototype list checksum: 1131087068
   1.735 Loading sounds...
   1.780 Info PlayerData.cpp:70: Local player-data.json unavailable
   1.780 Info PlayerData.cpp:73: Cloud player-data.json available, timestamp 1569721523
   1.859 Initial atlas bitmap size is 16384
   1.887 Created atlas bitmap 16384x16380 [none]
   1.890 Created atlas bitmap 16384x11644 [none]
   1.890 Created atlas bitmap 8192x3884 [decal]
   1.891 Created atlas bitmap 16384x4320 [low-object, linear-minification]
   1.891 Created atlas bitmap 8192x3744 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.892 Created atlas bitmap 16384x7168 [terrain, mipmap, linear-minification, linear-mip-level]
   1.892 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   1.893 Created atlas bitmap 4096x1744 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.893 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.893 Created atlas bitmap 8192x1632 [alpha-mask]
   1.895 Created atlas bitmap 16384x12788 [shadow, linear-magnification, alpha-mask]
   1.895 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   1.899 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   2.413 Parallel Sprite Loader initialized (threads: 15)
   8.240 Sprites loaded
   8.253 Generated mipmaps (4) for atlas [3] of size 16384x4320   
   8.265 Generated mipmaps (3) for atlas [4] of size 8192x3744   
   8.276 Generated mipmaps (3) for atlas [5] of size 16384x7168   
   8.308 Generated mipmaps (3) for atlas [6] of size 4096x1600   
   8.319 Generated mipmaps (5) for atlas [7] of size 4096x1744   
   8.375 Generated mipmaps (3) for atlas [11] of size 8192x2352   
   8.375 Custom mipmaps uploaded.
   8.379 Custom inputs active: 2
   8.420 Factorio initialised
  20.673 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:0}))
  93.612 Info UDPSocket.cpp:218: Closing socket
  93.612 Info UDPSocket.cpp:248: Socket closed
  93.612 Info UDPSocket.cpp:218: Closing socket
  98.021 Quitting: user-quit.
  98.064 DSound: Stopping voice
  98.064 DSound: Joining thread
  98.068 DSound: Exit _dsound_update; tid=32712
  98.068 DSound: Waiting for voice to stop ... signaled
  98.069 DSound: Joined thread
  98.069 DSound: Destroying thread
  98.069 DSound: Thread destroyed
  98.069 DSound: Releasing buffer
  98.069 DSound: Voice stopped
  98.069 DSound: Deallocating voice
  98.069 DSound: Deallocated voice
  98.091 Steam API shutdown.
  98.131 Goodbye

Re: [0.17.69] Cannot join Multiplayer Server

Posted: Fri Oct 04, 2019 2:30 am
by Rseding91
That log file doesn't show any connection attempt. Based off that, that means the request from his end never reached the server and instead the packets got dropped or miss-routed somewhere along the way.

Are other people able to join your server?

Re: [0.17.69] Cannot join Multiplayer Server

Posted: Fri Oct 04, 2019 3:10 am
by esheep
Yarp. Here's my log when trying to join. When i view the server on the multiplayer game list, the ping does not resolve and says "can't reach".

Code: Select all

  20.996 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:0}))
  44.950 Info UDPSocket.cpp:218: Closing socket
  44.951 Info UDPSocket.cpp:248: Socket closed
  44.951 Info UDPSocket.cpp:218: Closing socket
  44.960 Joining game IP ADDR:({xxx.xxx.xxx.109:34197})
  44.960 Info UDPSocket.cpp:33: Opening socket
  44.960 Info ClientMultiplayerManager.cpp:592: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
  54.976 Error ClientMultiplayerManager.cpp:101: MultiplayerManager failed: multiplayer.not-received-connection-accept-reply
  54.977 Info ClientMultiplayerManager.cpp:592: UpdateTick(4294967295) changing state from(Connecting) to(InitializationFailed)
  58.983 Info ClientMultiplayerManager.cpp:207: Quitting multiplayer connection.
  58.984 Info ClientMultiplayerManager.cpp:592: UpdateTick(4294967295) changing state from(InitializationFailed) to(Disconnected)
  59.023 Info UDPSocket.cpp:218: Closing socket
  59.023 Info UDPSocket.cpp:248: Socket closed

Re: [0.17.69] Cannot join Multiplayer Server

Posted: Fri Oct 04, 2019 3:18 am
by DankJemo
That much we do know, the logs don't show any attempt at connecting to the server... I did have another person attempt to join and they were able to make a connection to the server... Here is the log from someone who was able to get to the factorio instance I stood up.

Code: Select all

   0.000 2019-10-03 19:56:08; Factorio 0.17.69 (build 47194, win64, steam)
   0.001 Operating system: Windows 10 (version 1903) 
   0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/Ahab/AppData/Roaming/Factorio [158938/487769MB]
   0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.018 System info: [CPU: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 16 cores, RAM: 6174/32703 MB, page: 8228/37567 MB, virtual: 4330/134217727 MB, extended virtual: 0 MB]
   0.018 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.021 Available displays: 1
   0.021  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1080 Ti {0x05, [0,0], 2560x1440, 32bit, 165Hz}
   0.058 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.255 Initialised Direct3D[0]: NVIDIA GeForce GTX 1080 Ti; id: 10de-1b06; driver: nvldumdx.dll 26.21.14.3630
   0.255   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   0.255   [Local Video Memory] Budget: 9457MB, CurrentUsage: 4MB, Reservation: 0/5007MB
   0.255   [Non-Local Vid.Mem.] Budget: 14716MB, CurrentUsage: 0MB, Reservation: 0/7767MB
   0.255   Tiled resources: Tier 2
   0.255   Unified Memory Architecture: No
   0.255   BGR 565 Supported: Yes
   0.255   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.255 Graphics settings preset: very-high
   0.255   Dedicated video memory size 11127 MB
   0.288 Desktop composition is active.
   0.288 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: high-quality] [Color: 32bit]
   0.288                   [Max threads (load/render): 32/16] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDC]
   0.316 DSound: Starting _dsound_update thread
   0.317 DSound: Enter _dsound_update; tid=2024
   0.968 Razer Chroma Controller initialized.
   0.998 Info ModManager.cpp:241: Found duplicate mod Enhanced_Map_Colors, using higher version (1.4.9 > 1.4.6).
   1.010 Info ModManager.cpp:241: Found duplicate mod long-reach, using higher version (0.0.13 > 0.0.12).
   1.019 Info ModManager.cpp:241: Found duplicate mod Squeak Through, using higher version (1.3.0 > 1.2.2).
   1.022 Loading mod settings Bottleneck 0.10.4 (settings.lua)
   1.023 Loading mod settings long-reach 0.0.13 (settings.lua)
   1.027 Loading mod core 0.0.0 (data.lua)
   1.132 Loading mod base 0.17.69 (data.lua)
   1.583 Loading mod Bottleneck 0.10.4 (data.lua)
   1.668 Loading mod Enhanced_Map_Colors 1.4.9 (data.lua)
   1.754 Loading mod base 0.17.69 (data-updates.lua)
   1.844 Loading mod Enhanced_Map_Colors 1.4.9 (data-updates.lua)
   1.928 Loading mod Squeak Through 1.3.0 (data-updates.lua)
   2.022 Checksum for core: 2087614386
   2.022 Checksum of base: 1061071205
   2.022 Checksum of Bottleneck: 3138809866
   2.022 Checksum of Enhanced_Map_Colors: 852423496
   2.022 Checksum of long-reach: 4166847516
   2.022 Checksum of Squeak Through: 3677677690
   2.191 Prototype list checksum: 1131087068
   2.220 Loading sounds...
   3.730 Info PlayerData.cpp:70: Local player-data.json unavailable
   3.730 Info PlayerData.cpp:73: Cloud player-data.json available, timestamp 1569721523
   3.830 Initial atlas bitmap size is 16384
   3.859 Created atlas bitmap 16384x16380 [none]
   3.862 Created atlas bitmap 16384x11644 [none]
   3.862 Created atlas bitmap 8192x3884 [decal]
   3.863 Created atlas bitmap 16384x4320 [low-object, linear-minification]
   3.863 Created atlas bitmap 8192x3744 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   3.864 Created atlas bitmap 16384x7168 [terrain, mipmap, linear-minification, linear-mip-level]
   3.864 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   3.865 Created atlas bitmap 4096x1744 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   3.865 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   3.865 Created atlas bitmap 8192x1632 [alpha-mask]
   3.867 Created atlas bitmap 16384x12788 [shadow, linear-magnification, alpha-mask]
   3.867 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   3.871 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   7.274 Parallel Sprite Loader initialized (threads: 15)
  12.662 Sprites loaded
  12.674 Generated mipmaps (4) for atlas [3] of size 16384x4320   
  12.685 Generated mipmaps (3) for atlas [4] of size 8192x3744   
  12.697 Generated mipmaps (3) for atlas [5] of size 16384x7168   
  12.708 Generated mipmaps (3) for atlas [6] of size 4096x1600   
  12.719 Generated mipmaps (5) for atlas [7] of size 4096x1744   
  12.731 Generated mipmaps (3) for atlas [11] of size 8192x2352   
  12.731 Custom mipmaps uploaded.
  12.735 Custom inputs active: 2
  12.776 Factorio initialised
  84.493 Info ServerSynchronizer.cpp:30: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
  84.493 Info ServerMultiplayerManager.cpp:776: updateTick(4294967295) changing state from(Ready) to(PreparedToHostGame)
  84.493 Info ServerMultiplayerManager.cpp:776: updateTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame)
  84.494 Loading level.dat: 1424977 bytes.
  84.495 Info Scenario.cpp:187: Map version 0.17.69-1
  84.529 Checksum for script C:/Users/Ahab/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 3265260072
  84.530 Checksum for script __Bottleneck__/control.lua: 303320138
  84.531 Checksum for script __Enhanced_Map_Colors__/control.lua: 3351501679
  84.532 Checksum for script __long-reach__/control.lua: 2450699146
  84.535 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:34197}))
  84.536 Hosting game at IP ADDR:({0.0.0.0:34197})
  84.536 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-server-padlock-2
  84.999 Info AuthServerConnector.cpp:109: Obtained serverPadlock for serverHash (wGJX5Xl81XeTkzG0IejWCRPSX6oSUGKH) from the auth server.
  84.999 Info ServerMultiplayerManager.cpp:776: updateTick(0) changing state from(CreatingGame) to(InGame)
  85.261 Info ServerRouter.cpp:618: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197, pingpong3.factorio.com:34197, pingpong4.factorio.com:34197) for own address
  85.262 Info GameActionHandler.cpp:4164: UpdateTick (0) processed PlayerJoinGame peerID(0) playerIndex(0) mode(create) 
  85.362 Info ServerRouter.cpp:497: Own address is IP ADDR:({XXX.XXX.XXX.109:34197}) (confirmed by pingpong3)
  85.435 Info ServerRouter.cpp:497: Own address is IP ADDR:({XXX.XXX.XXX.109:34197}) (confirmed by pingpong4)
  85.435 Info ServerRouter.cpp:497: Own address is IP ADDR:({XXX.XXX.XXX.109:34197}) (confirmed by pingpong2)
  85.842 Info MatchingServer.cpp:114: Matching server game `6125636` has been created.
  85.874 Info ServerMultiplayerManager.cpp:705: Matching server connection resumed
 385.214 Info AppManager.cpp:287: Saving to _autosave1 (blocking).
 385.368 Info AppManagerStates.cpp:1793: Saving finished
 685.365 Info AppManager.cpp:287: Saving to _autosave2 (blocking).
 685.497 Info AppManagerStates.cpp:1793: Saving finished
Esheep however still cannot connect to the server that's been stood up.

Re: [0.17.69] Cannot join Multiplayer Server

Posted: Tue Jan 07, 2020 5:55 pm
by esheep
This issue was resolved by setting up the port forward as described on the Factorio Wiki: https://wiki.factorio.com/Multiplayer#S ... layer_Game

I'm not sure why i was able to join some servers but not others without the port forward, but setting up UDP on 34197 worked.

Re: [0.17.69] Cannot join Multiplayer Server

Posted: Tue Jan 07, 2020 9:46 pm
by LordExcalibur
hi, I have found I can't join servers created on steam version of game when I am playing on non steam. But I can join from steam version to every server. So, when I am going to host my game, i allways use non steam, and when I want to join, i use steam.