[0.13.11] Multiplayer - Opening unblocker socket failed: ...

Bugs that are actually features.
keryja
Burner Inserter
Burner Inserter
Posts: 12
Joined: Mon May 23, 2016 11:43 am
Contact:

[0.13.11] Multiplayer - Opening unblocker socket failed: ...

Post by keryja »

Whenever I get disconnected from a multiplayer game, be it due to a missing password, mismatched mods or just disconnecting after playing, my client crashes, see below for the log.

Server Version: 0.13.11 (Linux x64 - Headless)
Client Version: 0.13.11 (Windows x64)

Code: Select all

   0.001 2016-07-28 21:23:40; Factorio 0.13.11 (build 23577, win64, alpha)
   0.001 Operating system: Windows 7 Service Pack 1
   0.001 Program arguments: "D:\Factorio0.13\bin\x64\factorio.exe" 
   0.001 Read data path: D:/Factorio0.13/data
   0.001 Write data path: C:/Users/Keryja/AppData/Roaming/Factorio
   0.001 Binaries path: D:/Factorio0.13/bin
   0.027 Graphics options: [FullScreen: false] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: all] [Light scale: 100%] [Screen: 255] [DXT: false]
   0.028 Available display adapters: 3
   0.028  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 770 {0x01, [0,-1200], 1920x1200, 32bit, 59Hz}
   0.028  [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 770 {0x05, [0,0], 1920x1200, 32bit, 59Hz}
   0.028  [2]: \\.\DISPLAY3 - NVIDIA GeForce GTX 770 {0x01, [-1280,-584], 1280x1024, 32bit, 60Hz}
   0.028 Create display on adapter 0. Size 1280x720 at position [310, 222].
   0.279 Initialised Direct3D:[1] NVIDIA GeForce GTX 770; driver: nvd3dumx.dll 10.18.13.6881
   0.282     Video memory size (dedicated video/dedicated system/shared system/available): 1989/0/2048/4034 MB
   0.342 Desktop composition is active.
   0.430 Loading mod core 0.0.0 (data.lua)
   0.443 Loading mod base 0.13.11 (data.lua)
   0.779 Checksum for core: 3471280900
   0.779 Checksum for mod base: 2556737699
   1.646 Initial atlas bitmap size is 16384
   1.650 Created atlas bitmap 16384x9326
   1.991 Created atlas bitmap 4096x968
   8.735 Sprites loaded
   8.735 Convert atlas 4096x968 to: trilinear-filtering 
   8.871 Loading sounds...
  10.489 Custom inputs active: 0
  10.490 Info Updater.cpp:749: Downloading https://www.factorio.com/updater/get-available-versions?username=Keryja&token=<private>&apiVersion=2
  12.480 0 packages available to download (experimental updates disabled).
  12.523 Factorio initialised
  29.385 Info Updater.cpp:749: Downloading https://www.factorio.com/updater/get-available-versions?username=Keryja&token=<private>&apiVersion=2
  30.289 0 packages available to download (experimental updates enabled).
  43.479 Info Router.cpp:558: Router peerID(65535) shutting down.
  43.480 Info Router.cpp:594: Router state -> Disconnected
  43.564 Joining game 192.168.0.101:34197
  43.564 Info WindowsUDPSocket.cpp:59: Opening socket at port (0)
  43.565 Info Router.cpp:594: Router state -> Connecting
  43.565 Verbose Router.cpp:253: Started router thread.
  43.565 Info MultiplayerManager.cpp:996: networkTick(0) mapTick(-1) changing state from(Ready) to(Connecting)
  43.580 Connection to address(192.168.0.101:34197) refused(type(ConnectionReply) confirm(true) status(ModsMismatch) gameName(Factorio) description(Active mods configuration doesn't match.) latency(6) remoteApplicationVersion(0.13.11 (build 23577, win64, alpha)) remoteActiveMods((Advanced-Drills 0.1.6) (AfraidOfTheDark 1.0.13) (Aircraft 1.0.7) (AutoTrash 0.1.7) (BetterIcons 1.1.0) (Big_Brother 0.3.2) (Crafting_Speed_Research 0.1.2) (EvoGUI 0.4.106) (FARL 0.5.35) (KBlueprints 1.1.6) (KS_Power 0.1.4) (Larger Inventory 1.0.1) (Laser_Beam_Turrets 0.1.7) (LateUpgrades 0.1.2) (Modular-Armor 0.2.1) (ModuleInserter 0.2.0) (Nucular 1.0.2) (Orbital Ion Cannon 1.3.1) (RailTanker 1.3.32) (Red Alerts 1.1.0) (Robo-Charge 0.3.3) (Satellite Uplink Station 1.0.0) (Squeak Through 1.1.3) (TheFatController 0.4.18) (Treefarm-Lite 0.5.1) (VehicleSnap 1.1.0) (Warehousing 0.0.10) (additionaloilrefineries 1.1.0) (angelsinfiniteores 0.3.5) (autofill 1.4.1) (base 0.13.11) (blueprint-string 3.1.1) (filtered-deconstruction-planner 0.4.6) (launch-control 0.2.0) (long-reach 0.0.5) (persistent-research 1.1.0) (research-queue 1.3.0) (robotarmy 0.2.0) (rso-mod 2.0.11) (tree_collision 0.3.0) (upgrade-planner 1.1.12) (wood-floor 1.0.0) ) connectionRequestID(238) gameID(4294967295)).
  43.580 Info MultiplayerManager.cpp:180: NetworkTick(0) quitting multiplayer connection.
  43.580 Info MultiplayerManager.cpp:996: networkTick(0) mapTick(-1) changing state from(Connecting) to(Disconnected)
  43.581 Info Router.cpp:558: Router peerID(65535) shutting down.
  43.582 Error WindowsUDPSocket.cpp:385: Opening unblocker socket failed: The requested address is not valid in its context.

Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-69zlzn\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
  44.567 Verbose Router.cpp:391: Finishing router thread.
c:\cygwin64\tmp\factorio-69zlzn\src\util\logger.cpp (328): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-69zlzn\src\util\logger.cpp (382): Logger::logStacktrace
c:\cygwin64\tmp\factorio-69zlzn\src\util\crashhandler.cpp (84): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-69zlzn\src\util\crashhandler.cpp (137): CrashHandler::TerminateHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\terminate.cpp (49): terminate
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (756): FindHandler
f:\dd\vctools\crt\vcruntime\src\eh\frame.cpp (449): __InternalCxxFrameHandler
f:\dd\vctools\crt\vcruntime\src\eh\amd64\trnsctrl.cpp (186): __CxxFrameHandler3
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077107E8D)
0000000077107E8D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000770F84CF)
00000000770F84CF (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000770F8AC8)
00000000770F8AC8 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000007FEFCEAA06D)
000007FEFCEAA06D (KERNELBASE): (filename not available): RaiseException
f:\dd\vctools\crt\vcruntime\src\eh\throw.cpp (136): _CxxThrowException
c:\cygwin64\tmp\factorio-69zlzn\src\net\windowsudpsocket.cpp (386): WindowsUDPSocket::unblock
c:\cygwin64\tmp\factorio-69zlzn\src\net\router.cpp (560): Router::shutdown
c:\cygwin64\tmp\factorio-69zlzn\src\net\router.cpp (55): Router::~Router
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FB026B4)
000000013FB026B4 (factorio): (filename not available): Router::`scalar deleting destructor'
c:\cygwin64\tmp\factorio-69zlzn\src\util\garbagecollector.cpp (10): GarbageCollector::cleanGarbage
c:\cygwin64\tmp\factorio-69zlzn\src\mainloop.cpp (425): MainLoop::prepare
c:\cygwin64\tmp\factorio-69zlzn\src\mainloop.cpp (248): MainLoop::mainLoopStep
c:\cygwin64\tmp\factorio-69zlzn\src\mainloop.cpp (153): MainLoop::run
c:\cygwin64\tmp\factorio-69zlzn\src\main.cpp (717): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (255): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076FD59BD)
0000000076FD59BD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007710A2E1)
000000007710A2E1 (ntdll): (filename not available): RtlUserThreadStart
  45.985 Error Util.cpp:77: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [0.13.11] Multiplayer - Opening unblocker socket failed: ...

Post by daniel34 »

This might help:
viewtopic.php?f=49&t=21056&p=132947#p132947
packtloss wrote:Odd. I got it working. I guess something messed up with the IP stack on my side.

In case anyone else runs into this,

Code: Select all

netsh winsock reset catalog 
netsh int ipv4 reset reset.log
netsh int ipv6 reset reset.log
Resets your winsock and ip stacks.
On windows, press start, enter "cmd", right click on the cmd entry and select Run as admin.
Then enter the commands listed above one after the other.
quick links: log file | graphical issues | wiki
keryja
Burner Inserter
Burner Inserter
Posts: 12
Joined: Mon May 23, 2016 11:43 am
Contact:

Re: [0.13.11] Multiplayer - Opening unblocker socket failed: ...

Post by keryja »

I've checked that topic before posting this, after running those and restarting the crash still happens.
keryja
Burner Inserter
Burner Inserter
Posts: 12
Joined: Mon May 23, 2016 11:43 am
Contact:

Re: [0.13.11] Multiplayer - Opening unblocker socket failed: ...

Post by keryja »

Alright, I'm a bit of an idiot. I'm using an injected DLL to specify which network interface to use (To bypass my VPN) called BindIP, switched it back to default route, and it's fixed.

Probably not a use case the devs are inclined to fix.
User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [0.13.11] Multiplayer - Opening unblocker socket failed: ...

Post by TruePikachu »

ROUTE.EXE isn't sufficient for your use case?
keryja
Burner Inserter
Burner Inserter
Posts: 12
Joined: Mon May 23, 2016 11:43 am
Contact:

Re: [0.13.11] Multiplayer - Opening unblocker socket failed: ...

Post by keryja »

That would involve figuring out the IP addresses that every application uses and configuring routes for the right ones wouldn't it? Besides, that wouldn't work for browser to begin with.

I'll just have Factorio use the default interface, as that prevents BindIP from injecting its DLL.
Post Reply

Return to “Not a bug”