[0.16.36] Could not establish network connection

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
Redstone_Tesla
Burner Inserter
Burner Inserter
Posts: 16
Joined: Sun Apr 22, 2018 6:22 pm
Contact:

[0.16.36] Could not establish network connection

Post by Redstone_Tesla »

I can not play with a friend (both on steam). Unable to connect to another's game, the message "Could not establish network connection" is displayed.

In search of solutions, I tried using portforward.

I entered the router "dir 809" on the advanced tab. I created a rule for "Factorio" with the IP of my computer, freeing port 34197 on UDP.

It still does not work. I also used the site "https://www.yougetsignal.com/tools/open-ports/" to test and it is closed. Even port 80 is not open.

Does anyone have a solution? It makes some updates that we did not play and before it worked well.

Note: If you need to, I can post logs. Just indicate where they are.

Redstone_Tesla
Burner Inserter
Burner Inserter
Posts: 16
Joined: Sun Apr 22, 2018 6:22 pm
Contact:

Re: [0.16.36] Could not establish network connection

Post by Redstone_Tesla »

Even though no one has responded to this message, I will update.
I was able to connect with my friend when he changed the router.
But I have very high latency (more than 200 tick). Note that my internet is 7 Megas and my friend's is bigger than 50 Megas. Besides we are in the same city.
On dedicated servers, I also have the same problem. I tried to play via VPN (Evolve) and although the program points to 32ms of ping, the game quantinua with high latency and constant stops in communication with the server.
I realized that my game is only 30 fps; could it be my hardware that is causing lag in online mode?

I do not know what the problem is. Follow the log.

Code: Select all

   0.003 2018-04-24 21:25:37; Factorio 0.16.36 (build 36253, win64, steam)
   0.003 Operating system: Windows 10 (version 1709) 
   0.003 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.003 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.003 Write data path: C:/Users/Wesley/AppData/Roaming/Factorio [21532/476487MB]
   0.004 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.023 System info: [CPU: AMD FX(tm)-6300 Six-Core Processor             , 6 cores, RAM: 3439/8174 MB, page: 4553/9454 MB, virtual: 226/134217727 MB, extended virtual: 0 MB]
   0.025 Display options: [FullScreen: 1] [VSync: 0] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: pt-BR]
   0.026 Available display adapters: 1
   0.026  [0]: \\.\DISPLAY1 - NVIDIA GeForce 210  {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.026 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.193 Initialised Direct3D:[0] NVIDIA GeForce 210 ; driver: nvd3dumx.dll 21.21.13.4201
   0.206   Video memory size (dedicated video/dedicated system/shared system/available): 972/0/3071/4036 MB
   0.276 DSound: Starting _dsound_update thread
   0.276 DSound: Enter _dsound_update; tid=4712
   0.276 Device reset internal.
   0.280 Desktop composition is active.
   0.280 Graphics settings preset: medium-with-low-vram
   0.281 Graphics options: [Graphics quality: normal] [Video memory usage: all] [Light scale: 100%] [DXT: auto] [Shader: 1]
   0.281                   [Parallel sprite loading: 1] [Max texture size: 4096/4096] [Bmp cache: 0] [Sprite slicing: 1] [Low quality rotation: 1]
   0.379 Error GlobalModSettings.cpp:107: Failed to migrate mod settings file: Error when opening C:\Users\Wesley\AppData\Roaming\Factorio\mods\mod-settings.json for reading: No such file or directory
   0.381 Loading mod core 0.0.0 (data.lua)
   0.412 Loading mod base 0.16.36 (data.lua)
   0.698 Loading mod base 0.16.36 (data-updates.lua)
   0.790 Checksum for core: 1316978547
   0.790 Checksum of base: 4140083139
   0.961 Loading sounds...
   1.228 Info PlayerData.cpp:67: Local player-data.json unavailable
   1.228 Info PlayerData.cpp:70: Cloud player-data.json available, timestamp 1524613219
   1.425 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.cso
   1.426 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.cso
   1.426 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/alpha-mask.cso
   1.457 Initial atlas bitmap size is 4096
   1.465 Created atlas bitmap 4096x4082 [none]
   1.542 Created atlas bitmap 4096x4089 [none]
   1.663 Created atlas bitmap 4096x4088 [none]
   1.703 Created atlas bitmap 4096x4085 [none]
   1.804 Created atlas bitmap 4096x4094 [none]
   1.888 Created atlas bitmap 4096x3834 [none]
   1.921 Created atlas bitmap 4096x1940 [decal]
   1.964 Created atlas bitmap 4096x4084 [compressed, mask]
   2.000 Created atlas bitmap 4096x3324 [compressed, mask]
   2.046 Created atlas bitmap 4096x4096 [compressed, mask, shadow]
   2.075 Created atlas bitmap 4096x2804 [compressed, mask, shadow]
   2.150 Created atlas bitmap 4096x2928 [mipmap]
   2.166 Created atlas bitmap 4096x1568 [compressed, mipmap, mask, smoke]
   2.194 Created atlas bitmap 4096x4092 [linear-minification, mipmap, terrain]
   2.292 Created atlas bitmap 4096x736 [linear-minification, mipmap, terrain]
   2.300 Created atlas bitmap 4096x1868 [no-crop, trilinear-filtering, icon, light]
   2.318 Created atlas bitmap 4096x476 [alpha-mask]
  11.665 Sprites loaded
  11.665 Convert atlas 4096x4084 to: compressed 
  13.297 Convert atlas 4096x3324 to: compressed 
  14.506 Convert atlas 4096x4096 to: compressed 
  15.511 Convert atlas 4096x2804 to: compressed 
  16.108 Convert atlas 4096x2928 to: mipmap 
  16.195 Convert atlas 4096x1568 to: mipmap compressed 
  16.682 Convert atlas 4096x4092 to: min-linear 
  16.781 Convert atlas 4096x736 to: min-linear 
  16.803 Convert atlas 4096x1868 to: trilinear-filtering 
  16.851 Convert atlas 4096x476 to: alpha-mask
  18.404 Custom inputs active: 0
  18.457 Factorio initialised
  26.657 Info UDPSocket.cpp:27: Opening socket at (510038b66857e38e74752e9b2b44b5ccc6bbb8f3)
 409.061 Info UDPSocket.cpp:206: Closing socket
 409.062 Info UDPSocket.cpp:236: Socket closed
 409.062 Info UDPSocket.cpp:206: Closing socket
 409.063 Joining game 7ad07709c1c0038ef88c1d2605f4565a49468ead
 409.063 Info UDPSocket.cpp:33: Opening socket
 409.079 Error ClientMultiplayerManager.cpp:95: MultiplayerManager failed: "Sendto (7ad07709c1c0038ef88c1d2605f4565a49468ead) failed (10049: Error code 10049, O endereço solicitado não é válido no contexto.
)"
 409.079 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(Ready) to(InitializationFailed)
 415.114 Info ClientMultiplayerManager.cpp:188: Quitting multiplayer connection.
 415.114 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(InitializationFailed) to(Disconnected)
 415.114 Info UDPSocket.cpp:206: Closing socket
 415.115 Info UDPSocket.cpp:236: Socket closed
 417.722 Info UDPSocket.cpp:27: Opening socket at (510038b66857e38e74752e9b2b44b5ccc6bbb8f3)
 442.051 Info UDPSocket.cpp:206: Closing socket
 442.052 Info UDPSocket.cpp:236: Socket closed
 442.052 Info UDPSocket.cpp:206: Closing socket
 442.053 Joining game 83467292fe3dfef25e9d12ad472501be112df862
 442.053 Info UDPSocket.cpp:33: Opening socket
 442.054 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(Ready) to(Connecting)
 442.462 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from 83467292fe3dfef25e9d12ad472501be112df862: invalid state (WaitingForAccept) for packet type
 442.495 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from 83467292fe3dfef25e9d12ad472501be112df862: invalid state (WaitingForAccept) for packet type
 442.597 Connection refused
 442.597 Info ClientMultiplayerManager.cpp:188: Quitting multiplayer connection.
 442.597 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(Connecting) to(Disconnected)
 442.598 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-user-server-key-2
 444.510 Info HttpSharedState.cpp:145: Status code: 200
 444.510 Info AuthServerConnector.cpp:139: Received key(3D4PRNuEyeTe+EecmrVPxA==) for username(wesley_Tesla) from auth server.
 444.567 Info UDPSocket.cpp:206: Closing socket
 444.567 Info UDPSocket.cpp:236: Socket closed
 444.567 Joining game 83467292fe3dfef25e9d12ad472501be112df862
 444.567 Info UDPSocket.cpp:33: Opening socket
 444.569 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(Ready) to(Connecting)
 444.846 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from 83467292fe3dfef25e9d12ad472501be112df862: invalid state (WaitingForAccept) for packet type
 444.996 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from 83467292fe3dfef25e9d12ad472501be112df862: invalid state (WaitingForAccept) for packet type
 445.012 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from 83467292fe3dfef25e9d12ad472501be112df862: invalid state (WaitingForAccept) for packet type
 445.012 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from 83467292fe3dfef25e9d12ad472501be112df862: invalid state (WaitingForAccept) for packet type
 445.095 Info ClientSynchronizer.cpp:35: Initialized Synchronizer local peer(1) latency(32).
 445.095 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(Connecting) to(ConnectedWaitingForMap)
 445.095 Info ClientRouter.cpp:238: ConnectionAccepted
 445.179 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from 83467292fe3dfef25e9d12ad472501be112df862: invalid state (Connected) for packet type
 445.262 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionAcceptOrDeny) received from 83467292fe3dfef25e9d12ad472501be112df862: invalid state (Connected) for packet type
 445.279 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionAcceptOrDeny) received from 83467292fe3dfef25e9d12ad472501be112df862: invalid state (Connected) for packet type
 445.429 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionAcceptOrDeny) received from 83467292fe3dfef25e9d12ad472501be112df862: invalid state (Connected) for packet type
 446.812 Info ClientMultiplayerManager.cpp:745: Received mapReadyForDownload
 446.812 Downloading file C:\Users\Wesley\AppData\Roaming\Factorio\temp\mp-download.zip (24784276 B, 49273 blocks)
 446.828 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(ConnectedWaitingForMap) to(ConnectedDownloadingMap)
 495.456 Finished download (48 s, 24.7 MB, 509 kB/s)
 495.600 Info ClientMultiplayerManager.cpp:725: mapTick(4294967295) map download finished creating scenario
 495.600 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(ConnectedDownloadingMap) to(ConnectedLoadingMap)
 495.600 Loading map C:\Users\Wesley\AppData\Roaming\Factorio\temp\mp-download.zip: 24784276 bytes.
 495.848 Loading Level.dat: 38673233 bytes.
 495.859 Info Scenario.cpp:136: Map version 0.16.36-2
 497.521 Loading script.dat: 175 bytes.
 497.526 Checksum for script C:/Users/Wesley/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 55817070
 497.551 Info ClientMultiplayerManager.cpp:573: MapTick(13427018) changing state from(ConnectedLoadingMap) to(TryingToCatchUp)
 498.029 Info GameActionHandler.cpp:3472: MapTick (13427326) processed PlayerJoinGame peerID(108) playerIndex(46) mode(create ) 
 501.434 Info ClientMultiplayerManager.cpp:573: MapTick(13429577) changing state from(TryingToCatchUp) to(WaitingForCommandToStartSendingTickClosures)
 502.162 Info ClientMultiplayerManager.cpp:573: MapTick(13429577) changing state from(WaitingForCommandToStartSendingTickClosures) to(InGame)
 502.235 Info GameActionHandler.cpp:3472: MapTick (13429594) processed PlayerJoinGame peerID(109) playerIndex(47) mode(create ) 
 656.061 Info ClientMultiplayerManager.cpp:886: Disconnect notification for peer (108)
 682.143 Info ClientMultiplayerManager.cpp:141: Disconnecting multiplayer connection.
 682.143 Info ClientMultiplayerManager.cpp:573: MapTick(13440373) changing state from(InGame) to(DisconnectScheduled)
 682.146 Info ClientMultiplayerManager.cpp:573: MapTick(13440373) changing state from(DisconnectScheduled) to(WaitingForDisconnectConfirmation)
 682.457 Info ClientMultiplayerManager.cpp:573: MapTick(13440373) changing state from(WaitingForDisconnectConfirmation) to(Disconnected)
 682.457 Info ClientMultiplayerManager.cpp:886: Disconnect notification for peer (109)
 682.486 Info BlueprintShelf.cpp:628: Saving blueprint storage.
 682.941 Info UDPSocket.cpp:206: Closing socket
 682.942 Info UDPSocket.cpp:236: Socket closed
 685.585 DSound: Stopping voice
 685.585 DSound: Joining thread
 685.589 DSound: Exit _dsound_update; tid=4712
 685.589 DSound: Waiting for voice to stop ... signaled
 685.589 DSound: Joined thread
 685.589 DSound: Destroying thread
 685.589 DSound: Thread destroyed
 685.589 DSound: Releasing buffer
 685.589 DSound: Voice stopped
 685.589 DSound: Deallocating voice
 685.589 DSound: Deallocated voice
 685.622 Steam API shutdown.
 685.625 Goodbye

Post Reply

Return to “Technical Help”