Page 1 of 1

Error code 520 when connecting to servers in game

Posted: Sun Dec 04, 2022 4:48 am
by xfret
Whenever I try to connect to the factorio servers in game, either by joining a public game or downloading a new mod, it hangs and finally presents me with the following error code:

Download failed (status code 520): failed to parse JSON response: Unexpected character (C) at ?:1

I can connect to factorio.com (clearly) and also tried reinstalling the game and restarting steam. I'm really not sure what to do now. Please help!

Re: Error code 520 when connecting to servers in game

Posted: Sun Dec 04, 2022 5:11 am
by xfret
I fixed it by deleting all my mods. Apparently there's a maximum number of mods the game likes you to have installed?

Re: Error code 520 when connecting to servers in game

Posted: Sun Dec 04, 2022 5:14 am
by xfret
Here's the factorio-previous.log from when I was having the issue. It'd be nice to keep my mods installed if this could still get fixed.

Code: Select all

0.000 2022-12-03 21:51:40; Factorio 1.1.72 (build 60222, mac-arm64, steam)
   0.000 Operating system: OS X 11.1.0
   0.000 Program arguments: "/Users/kylehess/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio" 
   0.000 Config path: /Users/kylehess/Library/Application Support/factorio/config/config.ini
   0.000 Read data path: /Users/kylehess/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.000 Write data path: /Users/kylehess/Library/Application Support/factorio [91746/471482MB]
   0.000 Binaries path: /Users/kylehess/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents
   0.047 System info: [CPU: arm64, 8 cores, RAM: 16384 MB]
   0.047 Display options: [FullScreen: 0] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 0] [Screen: 255] [Special: lmW] [Lang: en]
   0.117 Available displays: 1
   0.117  [0]: 0 - {[0,0], 1440x900, SDL_PIXELFORMAT_ARGB8888, 60Hz, 0x0001(0x01)}
   0.145 Initialised OpenGL:[0] Apple M1; driver: 4.1 Metal - 71.0.7
   0.145   [Extensions] s3tc:yes; KHR_debug:NO; ARB_clear_texture:NO, ARB_copy_image:NO
   0.145   [Version] 4.1
   0.145 Graphics settings preset: very-high
   0.145   Dedicated video memory size 10922 MB (detected from Apple M1; VendorID: 0x1027f00)
   0.207 Graphics options: [Graphics quality: normal] [Video memory usage: all] [DXT: low-quality] [Color: 32bit]
   0.207                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDCWT] [B:100,C:100,S:120]
   0.289 [Audio] Backend:SDL(default); Driver:coreaudio, Device:Default device, Depth:16, Channels:2, Frequency:44100
   0.728 Info ModManager.cpp:260: Found duplicate mod 5dim_core, using folder version (1.1.13).
   0.744 Info ModManager.cpp:260: Found duplicate mod 5dim_logistic, using folder version (1.1.0).
   0.760 Info ModManager.cpp:260: Found duplicate mod 5xProduction, using folder version (1.2.2).
   0.773 Info ModManager.cpp:253: Found duplicate mod aai-containers, using higher version (0.2.10 > 0.2.9).
   0.775 Info ModManager.cpp:253: Found duplicate mod aai-containers, using higher version (0.2.11 > 0.2.10).
   0.792 Info ModManager.cpp:253: Found duplicate mod aai-industry, using higher version (0.5.18 > 0.5.11).
   0.800 Info ModManager.cpp:253: Found duplicate mod aai-industry, using higher version (0.5.19 > 0.5.18).
   0.866 Info ModManager.cpp:253: Found duplicate mod aai-programmable-structures, using higher version (0.7.3 > 0.6.6).
   0.868 Info ModManager.cpp:253: Found duplicate mod aai-programmable-structures, using higher version (0.7.4 > 0.7.3).
   0.874 Info ModManager.cpp:253: Found duplicate mod aai-programmable-vehicles, using higher version (0.7.14 > 0.6.14).
   0.877 Info ModManager.cpp:253: Found duplicate mod aai-programmable-vehicles, using higher version (0.7.20 > 0.7.14).
   0.883 Info ModManager.cpp:253: Found duplicate mod aai-programmable-vehicles, using higher version (0.7.22 > 0.7.20).
   0.893 Info ModManager.cpp:253: Found duplicate mod aai-signal-transmission, using higher version (0.4.7 > 0.4.4).
   0.897 Info ModManager.cpp:253: Found duplicate mod aai-signals, using higher version (0.6.1 > 0.5.2).
   0.899 Info ModManager.cpp:253: Found duplicate mod aai-vehicles-chaingunner, using higher version (0.6.1 > 0.5.2).
   0.901 Info ModManager.cpp:253: Found duplicate mod aai-vehicles-flame-tank, using higher version (0.5.1 > 0.4.1).
   0.905 Info ModManager.cpp:253: Found duplicate mod aai-vehicles-hauler, using higher version (0.6.1 > 0.5.1).
   0.910 Info ModManager.cpp:253: Found duplicate mod aai-vehicles-laser-tank, using higher version (0.6.4 > 0.6.2).
   0.915 Info ModManager.cpp:253: Found duplicate mod aai-vehicles-miner, using higher version (0.6.3 > 0.6.1).
   0.916 Info ModManager.cpp:253: Found duplicate mod aai-vehicles-miner, using higher version (0.6.4 > 0.6.3).
   0.934 Info ModManager.cpp:253: Found duplicate mod aai-zones, using higher version (0.6.4 > 0.5.2).
   0.967 Info ModManager.cpp:260: Found duplicate mod Advanced_Modules, using folder version (0.2.5).
   1.073 Info ModManager.cpp:253: Found duplicate mod alien-biomes, using higher version (0.6.7 > 0.5.8).
   1.115 Info ModManager.cpp:253: Found duplicate mod alien-biomes, using higher version (0.6.8 > 0.6.7).
   1.209 Info ModManager.cpp:253: Found duplicate mod ammo-loader, using higher version (1.1.14 > 1.1.12).
   1.238 Info ModManager.cpp:253: Found duplicate mod angelsaddons-storage, using higher version (0.0.8 > 0.0.7).
   1.239 Info ModManager.cpp:253: Found duplicate mod angelsaddons-storage, using higher version (0.0.9 > 0.0.8).
   1.252 Info ModManager.cpp:253: Found duplicate mod angelsbioprocessing, using higher version (0.7.21 > 0.7.17).
   1.258 Info ModManager.cpp:253: Found duplicate mod angelsbioprocessing, using higher version (0.7.22 > 0.7.21).
   1.295 Info ModManager.cpp:253: Found duplicate mod angelsindustries, using higher version (0.4.15 > 0.4.11).
   1.312 Info ModManager.cpp:253: Found duplicate mod angelsindustries, using higher version (0.4.16 > 0.4.15).
   1.326 Info ModManager.cpp:253: Found duplicate mod angelspetrochem, using higher version (0.9.22 > 0.9.17).
   1.381 Info ModManager.cpp:253: Found duplicate mod angelssmelting, using higher version (0.6.19 > 0.6.18).
   1.409 Info ModManager.cpp:253: Found duplicate mod ArmouredBiters, using higher version (1.1.6 > 1.1.4).
   1.429 Info ModManager.cpp:253: Found duplicate mod auto-research, using higher version (5.2.1 > 5.2.0).
   1.434 Info ModManager.cpp:253: Found duplicate mod AutoDeconstruct, using higher version (0.3.4 > 0.3.3).
   1.441 Info ModManager.cpp:253: Found duplicate mod Automatic_Train_Painter, using higher version (1.1.5 > 1.1.2).
   1.467 Info ModManager.cpp:253: Found duplicate mod beltlayer, using higher version (2.0.3 > 1.1.0).
   1.468 Info ModManager.cpp:253: Found duplicate mod beltlayer, using higher version (2.0.5 > 2.0.3).
   1.489 Info ModManager.cpp:253: Found duplicate mod beltSorter, using higher version (0.9.1 > 0.7.0).
   1.502 Info ModManager.cpp:253: Found duplicate mod bigger-artillery, using higher version (0.5.7 > 0.5.5).
   1.538 Info ModManager.cpp:253: Found duplicate mod bobassembly, using higher version (1.1.5 > 0.17.7).
   1.558 Info ModManager.cpp:253: Found duplicate mod bobenemies, using higher version (1.1.5 > 1.0.0).
   1.563 Info ModManager.cpp:253: Found duplicate mod bobequipment, using higher version (1.1.5 > 0.17.2).
   1.570 Info ModManager.cpp:253: Found duplicate mod bobgreenhouse, using higher version (1.1.0 > 1.0.0).
   1.571 Info ModManager.cpp:253: Found duplicate mod bobinserters, using higher version (1.1.5 > 0.17.10).
   1.581 Info ModManager.cpp:253: Found duplicate mod boblibrary, using higher version (1.1.4 > 1.1.2).
   1.583 Info ModManager.cpp:253: Found duplicate mod boblibrary, using higher version (1.1.5 > 1.1.4).
   1.615 Info ModManager.cpp:253: Found duplicate mod boblogistics, using higher version (1.1.5 > 1.1.3).
   1.667 Info ModManager.cpp:253: Found duplicate mod boblogistics-belt-reskin, using higher version (1.1.0 > 1.0.0).
   1.676 Info ModManager.cpp:253: Found duplicate mod bobmodules, using higher version (1.1.2 > 1.0.0).
   1.678 Info ModManager.cpp:253: Found duplicate mod bobmodules, using higher version (1.1.5 > 1.1.2).
   1.685 Info ModManager.cpp:253: Found duplicate mod bobores, using higher version (1.1.3 > 1.1.0).
   1.687 Info ModManager.cpp:253: Found duplicate mod bobores, using higher version (1.1.5 > 1.1.3).
   1.703 Info ModManager.cpp:253: Found duplicate mod bobplates, using higher version (1.1.5 > 1.1.3).
   1.734 Info ModManager.cpp:253: Found duplicate mod bobrevamp, using higher version (1.1.3 > 1.0.1).
   1.735 Info ModManager.cpp:253: Found duplicate mod bobrevamp, using higher version (1.1.5 > 1.1.3).
   1.741 Info ModManager.cpp:253: Found duplicate mod bobtech, using higher version (1.0.0 > 0.17.6).
   1.742 Info ModManager.cpp:253: Found duplicate mod bobtech, using higher version (1.1.5 > 1.0.0).
   1.748 Info ModManager.cpp:253: Found duplicate mod bobvehicleequipment, using higher version (1.0.1 > 0.17.5).
   1.750 Info ModManager.cpp:253: Found duplicate mod bobvehicleequipment, using higher version (1.1.5 > 1.0.1).
   1.775 Info ModManager.cpp:253: Found duplicate mod BottleneckLite, using higher version (1.2.4 > 1.2.3).
   1.784 Info ModManager.cpp:253: Found duplicate mod bzaluminum, using higher version (0.3.12 > 0.3.6).
   1.787 Info ModManager.cpp:253: Found duplicate mod bzaluminum, using higher version (0.4.15 > 0.3.12).
   1.789 Info ModManager.cpp:253: Found duplicate mod bzaluminum, using higher version (0.4.17 > 0.4.15).
   1.798 Info ModManager.cpp:253: Found duplicate mod bzcarbon, using higher version (0.3.4 > 0.3.2).
   1.802 Info ModManager.cpp:253: Found duplicate mod bzcarbon, using higher version (0.4.7 > 0.3.4).
   1.811 Info ModManager.cpp:253: Found duplicate mod bzlead, using higher version (1.2.9 > 1.2.6).
   1.813 Info ModManager.cpp:253: Found duplicate mod bzlead, using higher version (1.2.15 > 1.2.9).
   1.837 Info ModManager.cpp:253: Found duplicate mod bztungsten, using higher version (0.7.5 > 0.7.4).
   1.844 Info ModManager.cpp:253: Found duplicate mod bzzirconium, using higher version (0.6.12 > 0.6.6).
   1.854 Info ModManager.cpp:253: Found duplicate mod cargo-ships, using higher version (0.1.14 > 0.0.59).
   1.856 Info ModManager.cpp:253: Found duplicate mod cargo-ships, using higher version (0.1.18 > 0.1.14).
   1.879 Info ModManager.cpp:253: Found duplicate mod CircuitProcessing, using higher version (0.4.4 > 0.4.2).
   1.882 Info ModManager.cpp:253: Found duplicate mod clock, using higher version (1.1.0 > 1.0.0).
   1.889 Info ModManager.cpp:253: Found duplicate mod Clowns-AngelBob-Nuclear, using higher version (1.1.19 > 1.1.18).
   1.897 Info ModManager.cpp:253: Found duplicate mod Clowns-Nuclear, using higher version (1.3.16 > 1.3.15).
   1.903 Info ModManager.cpp:253: Found duplicate mod Clowns-Processing, using higher version (1.3.16 > 1.3.15).
   1.913 Info ModManager.cpp:253: Found duplicate mod Cold_biters, using higher version (1.0.14 > 1.0.13).
   1.915 Info ModManager.cpp:253: Found duplicate mod Cold_biters, using higher version (1.1.1 > 1.0.14).
   1.916 Info ModManager.cpp:253: Found duplicate mod Cold_biters, using higher version (1.1.2 > 1.1.1).
   1.920 Info ModManager.cpp:253: Found duplicate mod combat-mechanics-overhaul, using higher version (0.6.21 > 0.6.13).
   1.921 Info ModManager.cpp:253: Found duplicate mod combat-mechanics-overhaul, using higher version (0.6.22 > 0.6.21).
   1.928 Info ModManager.cpp:253: Found duplicate mod Companion_Drones, using higher version (1.0.24 > 1.0.22).
   1.937 Info ModManager.cpp:253: Found duplicate mod CopyPasteModules, using higher version (0.1.1 > 0.0.6).
   1.939 Info ModManager.cpp:253: Found duplicate mod Counterproductive, using higher version (0.3.0 > 0.2.0).
   1.948 Info ModManager.cpp:253: Found duplicate mod CursorEnhancements, using higher version (1.2.3 > 1.2.2).
   1.976 Info ModManager.cpp:253: Found duplicate mod deadlock-integrations, using higher version (2.2.0 > 2.1.3).
   1.980 Info ModManager.cpp:253: Found duplicate mod DeadlockResearchNotifications, using higher version (1.0.2 > 1.0.1).
   1.993 Info ModManager.cpp:253: Found duplicate mod DeadlocksStackingForPyanadon, using higher version (0.5.5 > 0.5.0).
   2.022 Info ModManager.cpp:253: Found duplicate mod DeadlockStackingForVanilla, using higher version (1.1.3 > 1.1.2).
   2.043 Info ModManager.cpp:253: Found duplicate mod Dectorio, using higher version (0.12.6 > 0.12.5).
   2.068 Info ModManager.cpp:253: Found duplicate mod DiscoScience, using higher version (1.1.3 > 1.1.1).
   2.080 Info ModManager.cpp:253: Found duplicate mod EasyCraft, using higher version (0.0.6 > 0.0.2).
   2.083 Info ModManager.cpp:253: Found duplicate mod EasyCraft, using higher version (0.1.0 > 0.0.6).
   2.083 Info ModManager.cpp:253: Found duplicate mod EasyCraft, using higher version (0.1.1 > 0.1.0).
   2.088 Info ModManager.cpp:253: Found duplicate mod EditorExtensions, using higher version (1.13.5 > 1.12.10).
   2.116 Info ModManager.cpp:253: Found duplicate mod even-distribution, using higher version (1.0.9 > 1.0.7).
   2.117 Info ModManager.cpp:253: Found duplicate mod even-distribution, using higher version (1.0.10 > 1.0.9).
   2.130 Info ModManager.cpp:253: Found duplicate mod EvoGUI, using higher version (0.4.601 > 0.4.501).
   2.132 Info ModManager.cpp:253: Found duplicate mod exfretduplicator, using higher version (0.0.7 > 0.0.5).
   2.137 Info ModManager.cpp:253: Found duplicate mod Explosive_biters, using higher version (1.1.36 > 1.0.29).
   2.181 Info ModManager.cpp:253: Found duplicate mod Factorissimo2, using higher version (2.5.3 > 2.5.2).
   2.189 Info ModManager.cpp:253: Found duplicate mod factoryplanner, using higher version (1.1.38 > 1.1.24).
   2.195 Info ModManager.cpp:253: Found duplicate mod factoryplanner, using higher version (1.1.39 > 1.1.38).
   2.197 Info ModManager.cpp:253: Found duplicate mod factoryplanner, using higher version (1.1.59 > 1.1.39).
   2.210 Info ModManager.cpp:253: Found duplicate mod far-reach, using higher version (1.1.2 > 1.1.1).
   2.228 Info ModManager.cpp:253: Found duplicate mod flib, using higher version (0.9.2 > 0.8.3).
   2.229 Info ModManager.cpp:253: Found duplicate mod flib, using higher version (0.10.1 > 0.9.2).
   2.233 Info ModManager.cpp:253: Found duplicate mod flib, using higher version (0.11.2 > 0.10.1).
   2.236 Info ModManager.cpp:253: Found duplicate mod Flow Control, using higher version (3.1.3 > 3.0.6).
   2.292 Info ModManager.cpp:253: Found duplicate mod GUI_Unifyer, using higher version (1.12.0 > 1.9.0).
   2.353 Info ModManager.cpp:253: Found duplicate mod helmod, using higher version (0.12.12 > 0.12.11).
   2.361 Info ModManager.cpp:253: Found duplicate mod helmod, using higher version (0.12.13 > 0.12.12).
   2.382 Info ModManager.cpp:253: Found duplicate mod inbuilt_lighting, using higher version (20.1.12 > 20.1.11).
   2.413 Info ModManager.cpp:253: Found duplicate mod IndustrialRevolution, using higher version (2.3.2 > 2.0.1).
   2.475 Info ModManager.cpp:253: Found duplicate mod informatron, using higher version (0.2.3 > 0.2.2).
   2.480 Info ModManager.cpp:253: Found duplicate mod Inventory Sensor, using higher version (1.10.6 > 1.10.4).
   2.570 Info ModManager.cpp:253: Found duplicate mod Krastorio2, using higher version (1.3.8 > 1.3.6).
   2.691 Info ModManager.cpp:253: Found duplicate mod Krastorio2Assets, using higher version (1.2.1 > 1.2.0).
   2.702 Info ModManager.cpp:253: Found duplicate mod KS_Power, using higher version (0.5.1 > 0.4.1).
   2.747 Info ModManager.cpp:253: Found duplicate mod LogisticRequestManager, using higher version (1.1.25 > 1.1.24).
   2.747 Info ModManager.cpp:253: Found duplicate mod LogisticRequestManager, using higher version (1.1.27 > 1.1.25).
   2.758 Info ModManager.cpp:253: Found duplicate mod LogisticTrainNetwork, using higher version (1.17.1 > 1.16.9).
   2.759 Info ModManager.cpp:253: Found duplicate mod LogisticTrainNetwork, using higher version (1.18.0 > 1.17.1).
   2.774 Info ModManager.cpp:253: Found duplicate mod LtnManager, using higher version (0.4.15 > 0.4.12).
   2.785 Info ModManager.cpp:253: Found duplicate mod LTN_Content_Reader, using higher version (1.0.2 > 0.3.5).
   2.787 Info ModManager.cpp:253: Found duplicate mod LTN_Content_Reader, using higher version (1.0.3 > 1.0.2).
   2.799 Info ModManager.cpp:253: Found duplicate mod map-tag-generator, using higher version (1.2.4 > 1.2.1).
   2.819 Info ModManager.cpp:253: Found duplicate mod miniloader, using higher version (1.14.5 > 1.13.1).
   2.821 Info ModManager.cpp:253: Found duplicate mod miniloader, using higher version (1.14.8 > 1.14.5).
   2.821 Info ModManager.cpp:253: Found duplicate mod miniloader, using higher version (1.15.6 > 1.14.8).
   2.830 Info ModManager.cpp:253: Found duplicate mod mining-patch-planner, using higher version (1.3.3 > 1.3.0).
   2.840 Info ModManager.cpp:253: Found duplicate mod Mining_Drones, using higher version (1.1.9 > 0.3.24).
   2.849 Info ModManager.cpp:253: Found duplicate mod Mining_Drones, using higher version (1.1.10 > 1.1.9).
   2.886 Info ModManager.cpp:253: Found duplicate mod more-miniloaders, using higher version (1.0.9 > 1.0.7).
   2.906 Info ModManager.cpp:253: Found duplicate mod nanobots-start, using higher version (1.1.3 > 1.1.2).
   2.923 Info ModManager.cpp:253: Found duplicate mod necessarycraftingchallenge, using higher version (0.0.3 > 0.0.1).
   2.924 Info ModManager.cpp:260: Found duplicate mod necessarycraftingchallenge, using folder version (0.0.3).
   2.925 Error ModManager.cpp:992: Mod package read error. File /Users/kylehess/Library/Application Support/factorio/mods/newmods.zip/info.json not found
   2.930 Info ModManager.cpp:253: Found duplicate mod Nightfall, using higher version (1.1.1 > 1.1.0).
   2.943 Info ModManager.cpp:253: Found duplicate mod Noxys_Waterfill, using higher version (0.4.4 > 0.4.1).
   2.968 Info ModManager.cpp:253: Found duplicate mod packing-tape, using higher version (19.0.3 > 19.0.0).
   2.974 Info ModManager.cpp:253: Found duplicate mod PCPRedux, using higher version (1.0.3 > 1.0.1).
   2.975 Info ModManager.cpp:253: Found duplicate mod PCPRedux, using higher version (1.0.4 > 1.0.3).
   2.983 Info ModManager.cpp:253: Found duplicate mod PickerDollies, using higher version (1.1.7 > 1.1.3).
   2.984 Info ModManager.cpp:253: Found duplicate mod PickerDollies, using higher version (1.2.5 > 1.1.7).
   2.989 Info ModManager.cpp:253: Found duplicate mod PickerInventoryTools, using higher version (1.1.13 > 1.1.12).
   2.990 Info ModManager.cpp:253: Found duplicate mod PickerInventoryTools, using higher version (1.1.15 > 1.1.13).
   3.007 Info ModManager.cpp:253: Found duplicate mod PlutoniumEnergy, using higher version (1.4.3 > 1.4.1).
   3.031 Info ModManager.cpp:253: Found duplicate mod propertyrandomizer, using higher version (0.1.2 > 0.0.15).
   3.042 Info ModManager.cpp:253: Found duplicate mod propertyrandomizer, using higher version (0.1.6 > 0.1.2).
   3.076 Info ModManager.cpp:253: Found duplicate mod propertyrandomizer, using higher version (0.1.8 > 0.1.6).
   3.145 Info ModManager.cpp:253: Found duplicate mod pyalienlifegraphics2, using higher version (1.1.8 > 1.1.7).
   3.149 Info ModManager.cpp:253: Found duplicate mod pyalienlifegraphics2, using higher version (2.0.0 > 1.1.8).
   3.161 Info ModManager.cpp:253: Found duplicate mod pyalienlifegraphics3, using higher version (1.2.5 > 1.2.4).
   3.168 Info ModManager.cpp:253: Found duplicate mod pyalienlifegraphics3, using higher version (2.0.0 > 1.2.5).
   3.179 Info ModManager.cpp:253: Found duplicate mod pyalternativeenergy, using higher version (1.1.2 > 1.1.0).
   3.209 Info ModManager.cpp:253: Found duplicate mod pycoalprocessing, using higher version (2.0.1 > 2.0.0).
   3.236 Info ModManager.cpp:253: Found duplicate mod pycoalprocessinggraphics, using higher version (2.0.0 > 1.0.8).
   3.276 Info ModManager.cpp:253: Found duplicate mod pyhightech, using higher version (2.0.1 > 1.7.6).
   3.292 Info ModManager.cpp:253: Found duplicate mod pyhightechgraphics, using higher version (2.0.0 > 1.1.2).
   3.311 Info ModManager.cpp:253: Found duplicate mod pyindustry, using higher version (2.0.1 > 2.0.0).
   3.346 Info ModManager.cpp:253: Found duplicate mod pypetroleumhandlinggraphics, using higher version (2.0.0 > 1.0.10).
   3.363 Info ModManager.cpp:253: Found duplicate mod pyrawores, using higher version (2.4.1 > 2.4.0).
   3.388 Info ModManager.cpp:253: Found duplicate mod pyraworesgraphics, using higher version (2.0.0 > 1.0.9).
   3.399 Info ModManager.cpp:253: Found duplicate mod qol_research, using higher version (3.3.0 > 3.2.1).
   3.402 Info ModManager.cpp:253: Found duplicate mod QuickItemSearch, using higher version (2.1.5 > 2.1.4).
   3.412 Info ModManager.cpp:253: Found duplicate mod railloader, using higher version (1.1.6 > 1.1.5).
   3.432 Info ModManager.cpp:253: Found duplicate mod RampantArsenal, using higher version (1.1.6 > 1.1.5).
   3.462 Info ModManager.cpp:253: Found duplicate mod RecipeBook, using higher version (3.5.0 > 3.3.4).
   3.482 Info ModManager.cpp:253: Found duplicate mod RenaiTransportation, using higher version (1.1.8 > 1.0.2).
   3.516 Info ModManager.cpp:253: Found duplicate mod reskins-angels, using higher version (2.1.5 > 2.1.1).
   3.659 Info ModManager.cpp:253: Found duplicate mod reskins-bobs, using higher version (2.1.4 > 1.1.2).
   3.854 Info ModManager.cpp:253: Found duplicate mod reskins-compatibility, using higher version (2.1.5 > 2.1.2).
   3.879 Info ModManager.cpp:253: Found duplicate mod reverse-factory, using higher version (8.1.5 > 8.0.6).
   3.881 Info ModManager.cpp:253: Found duplicate mod reverse-factory, using higher version (8.1.13 > 8.1.5).
   3.884 Info ModManager.cpp:253: Found duplicate mod reverse-factory, using higher version (8.1.14 > 8.1.13).
   3.898 Info ModManager.cpp:253: Found duplicate mod robot_attrition, using higher version (0.5.12 > 0.5.9).
   3.900 Info ModManager.cpp:253: Found duplicate mod Robot_Battery_Research, using higher version (0.2.1 > 0.2.0).
   3.935 Info ModManager.cpp:253: Found duplicate mod rso-mod, using higher version (6.2.13 > 6.2.3).
   3.936 Info ModManager.cpp:253: Found duplicate mod rso-mod, using higher version (6.2.14 > 6.2.13).
   3.942 Info ModManager.cpp:253: Found duplicate mod rso-mod, using higher version (6.2.15 > 6.2.14).
   3.947 Info ModManager.cpp:253: Found duplicate mod rso-mod, using higher version (6.2.19 > 6.2.15).
   3.952 Info ModManager.cpp:253: Found duplicate mod rso-mod, using higher version (6.2.20 > 6.2.19).
   3.953 Info ModManager.cpp:253: Found duplicate mod rusty-locale, using higher version (1.0.16 > 1.0.13).
   3.992 Info ModManager.cpp:253: Found duplicate mod ScienceCostTweakerM, using higher version (1.1.10 > 1.1.6).
   3.996 Info ModManager.cpp:253: Found duplicate mod se-recycling-extras, using higher version (0.4.1 > 0.4.0).
   4.002 Info ModManager.cpp:253: Found duplicate mod SeaBlock, using higher version (0.5.11 > 0.5.6).
   4.007 Info ModManager.cpp:253: Found duplicate mod shield-generators, using higher version (0.3.5 > 0.1.7).
   4.014 Info ModManager.cpp:253: Found duplicate mod shield-projector, using higher version (0.1.5 > 0.1.4).
   4.016 Info ModManager.cpp:253: Found duplicate mod shield-projector, using higher version (0.1.6 > 0.1.5).
   4.043 Info ModManager.cpp:253: Found duplicate mod Shortcuts-ick, using higher version (1.1.22 > 1.1.20).
   4.044 Info ModManager.cpp:253: Found duplicate mod Shortcuts-ick, using higher version (1.1.26 > 1.1.22).
   4.046 Info ModManager.cpp:253: Found duplicate mod Shortcuts-ick, using higher version (1.1.27 > 1.1.26).
   4.107 Info ModManager.cpp:253: Found duplicate mod space-exploration, using higher version (0.6.90 > 0.6.77).
   4.415 Info ModManager.cpp:253: Found duplicate mod SpaceMod, using higher version (1.1.1 > 1.1.0).
   4.434 Info ModManager.cpp:253: Found duplicate mod Squeak Through, using higher version (1.8.2 > 1.8.0).
   4.444 Info ModManager.cpp:253: Found duplicate mod stdlib, using higher version (1.4.8 > 1.4.6).
   4.471 Info ModManager.cpp:253: Found duplicate mod Tapeline, using higher version (2.0.8 > 2.0.7).
   4.472 Info ModManager.cpp:253: Found duplicate mod Tapeline, using higher version (2.0.9 > 2.0.8).
   4.481 Info ModManager.cpp:253: Found duplicate mod Teleportation_Redux, using higher version (1.1.11 > 1.0.2).
   4.540 Info ModManager.cpp:253: Found duplicate mod textplates, using higher version (0.6.10 > 0.6.6).
   4.549 Info ModManager.cpp:253: Found duplicate mod TimeTools, using higher version (2.1.44 > 2.1.42).
   4.563 Info ModManager.cpp:253: Found duplicate mod TrainNetworkForPlayers, using higher version (0.12.6 > 0.12.4).
   4.570 Info ModManager.cpp:253: Found duplicate mod Transport_Drones, using higher version (1.0.9 > 1.0.6).
   4.572 Info ModManager.cpp:253: Found duplicate mod Transport_Drones, using higher version (1.0.10 > 1.0.9).
   4.624 Info ModManager.cpp:253: Found duplicate mod Updated_Construction_Drones, using higher version (1.0.6 > 1.0.4).
   4.631 Info ModManager.cpp:253: Found duplicate mod VehicleGrid, using higher version (1.4.0 > 1.3.0).
   4.645 Info ModManager.cpp:253: Found duplicate mod vtk-deep-core-mining, using higher version (2.10.2 > 2.9.5).
   4.650 Info ModManager.cpp:253: Found duplicate mod walkable-beacons, using higher version (20.2.4 > 20.2.3).
   4.658 Info ModManager.cpp:253: Found duplicate mod Warehousing, using higher version (0.5.5 > 0.5.2).
   4.663 Info ModManager.cpp:253: Found duplicate mod Warehousing, using higher version (0.5.6 > 0.5.5).
   4.666 Info ModManager.cpp:253: Found duplicate mod Warehousing, using higher version (0.5.7 > 0.5.6).
   4.691 Info ModManager.cpp:253: Found duplicate mod WideChests, using higher version (4.0.1 > 3.4.0).
   4.692 Info ModManager.cpp:253: Found duplicate mod WideChests, using higher version (4.0.2 > 4.0.1).
   4.695 Info ModManager.cpp:253: Found duplicate mod WipMod_TA-miners, using higher version (2.0.0 > 1.1.1).
   4.711 Info ModManager.cpp:253: Found duplicate mod YARM, using higher version (0.8.205 > 0.8.203).
   4.712 Info ModManager.cpp:253: Found duplicate mod YARM, using higher version (0.8.207 > 0.8.205).
   4.734 Info ModManager.cpp:253: Found duplicate mod Yi_Tech_Tree, using higher version (1.1.0 > 1.0.0).
   4.763 Info ModManager.cpp:253: Found duplicate mod Yuoki, using higher version (1.1.3 > 1.1.2).
   4.772 Info ModManager.cpp:253: Found duplicate mod zk-lib, using higher version (0.11.5 > 0.10.24).
   4.776 Info ModManager.cpp:253: Found duplicate mod zk-lib, using higher version (0.11.10 > 0.11.5).
   4.778 Info ModManager.cpp:253: Found duplicate mod zKenirasRandomRecipes, using higher version (1.9.0 > 1.8.4).
   4.780 Info ModManager.cpp:260: Found duplicate mod ZRecipeRandomizer, using folder version (1.5.10).
   4.791 Loading mod core 0.0.0 (data.lua)
   4.833 Loading mod base 1.1.72 (data.lua)
   4.959 Loading mod base 1.1.72 (data-updates.lua)
   5.006 Checksum for core: 870127790
   5.006 Checksum of base: 4211423066
   5.115 Prototype list checksum: 3034860339
   5.140 Loading sounds...
   5.340 Info PlayerData.cpp:73: Local player-data.json unavailable
   5.340 Info PlayerData.cpp:76: Cloud player-data.json available, timestamp 1670129354
   5.536 Initial atlas bitmap size is 16384
   5.538 Created atlas bitmap 16384x8700 [none]
   5.538 Created atlas bitmap 4096x2120 [decal]
   5.538 Created atlas bitmap 8192x2928 [low-object, linear-minification]
   5.538 Created atlas bitmap 4096x2592 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   5.539 Created atlas bitmap 8192x3840 [terrain, mipmap, linear-minification, linear-mip-level]
   5.539 Created atlas bitmap 4096x1632 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   5.539 Created atlas bitmap 4096x1664 [smoke, mipmap, linear-minification, linear-magnification]
   5.539 Created atlas bitmap 4096x928 [mipmap]
   5.539 Created atlas bitmap 8192x2240 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   5.539 Created atlas bitmap 4096x828 [alpha-mask]
   5.540 Created atlas bitmap 16384x4348 [shadow, linear-magnification, alpha-mask]
   5.540 Created atlas bitmap 4096x1312 [shadow, mipmap, linear-magnification, alpha-mask]
   5.540 Created atlas bitmap 2048x240 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   5.549 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 36.09, BC3 PSNR: 33.82
   6.284 Parallel Sprite Loader initialized (threads: 7)
  35.839 Sprites loaded
  36.407 Generated mipmaps (3) for atlas [2] of size 8192x2928   <total: 564.85, render: 1.39, convert: 0.39, copy: 562.67>
  36.662 Generated mipmaps (3) for atlas [3] of size 4096x2592   
  37.068 Generated mipmaps (3) for atlas [4] of size 8192x3840   
  37.236 Generated mipmaps (3) for atlas [5] of size 4096x1632   
  37.405 Generated mipmaps (3) for atlas [6] of size 4096x1664   
  37.458 Generated mipmaps (3) for atlas [7] of size 4096x928   
  37.498 Generated mipmaps (5) for atlas [8] of size 8192x2240   
  37.503 Generated mipmaps (3) for atlas [11] of size 4096x1312   
  37.509 Custom mipmaps uploaded.
  37.574 Factorio initialised
  37.575 Steam Storage Quota: 0/4768
  78.585 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:0}))
 108.828 Error HttpSharedState.cpp:138: CURL failed: code:28, 1c; Connection timed out after 30000 milliseconds
 146.758 Info UDPSocket.cpp:218: Closing socket
 146.759 Info UDPSocket.cpp:248: Socket closed
 146.759 Info UDPSocket.cpp:218: Closing socket
 149.648 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods?page_size=max&full=True&version=1.1.72&lang=en
 156.622 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/categories?version=1.1.72&lang=en
 156.622 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods?page_size=max&version=1.1&lang=en
 156.622 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/bookmarks?version=1.1.72&lang=en&username=exfret&token=<private>
 168.710 Error HttpSharedState.cpp:138: CURL failed: code:28, 1c; Connection timed out after 30007 milliseconds
 179.648 Error HttpSharedState.cpp:138: CURL failed: code:28, 1c; Connection timed out after 30000 milliseconds
 179.648 Info HttpSharedState.cpp:147: Downloading https://mods.factorio.com/api/mods?page_size=max&full=True&version=1.1.72&lang=en
 179.648 Info HttpSharedState.cpp:148: Status code: 0
 179.648 Error ModPortal.cpp:256: Mod portal API call failed: status 520, error: Connection timed out after 30000 milliseconds, content:
Connection timed out after 30000 milliseconds

 179.649 Error ParallelModUpdateChecker.cpp:48: Failed to fetch mod update information: API call failed: (path: 'api/mods', status: 520)
 186.644 Error HttpSharedState.cpp:138: CURL failed: code:28, 1c; Connection timed out after 30000 milliseconds
 186.644 Info HttpSharedState.cpp:147: Downloading https://mods.factorio.com/api/categories?version=1.1.72&lang=en
 186.644 Info HttpSharedState.cpp:148: Status code: 0
 186.644 Error HttpSharedState.cpp:138: CURL failed: code:28, 1c; Connection timed out after 30000 milliseconds
 186.644 Info HttpSharedState.cpp:147: Downloading https://mods.factorio.com/api/mods?page_size=max&version=1.1&lang=en
 186.644 Info HttpSharedState.cpp:148: Status code: 0
 186.644 Error HttpSharedState.cpp:138: CURL failed: code:28, 1c; Connection time-out
 186.644 Info HttpSharedState.cpp:147: Downloading https://mods.factorio.com/api/bookmarks?version=1.1.72&lang=en&username=exfret&token=<private>
 186.644 Info HttpSharedState.cpp:148: Status code: 0
 186.644 Error ModPortal.cpp:256: Mod portal API call failed: status 520, error: Connection timed out after 30000 milliseconds, content:
Connection timed out after 30000 milliseconds

 186.644 Error ModPortal.cpp:256: Mod portal API call failed: status 520, error: Connection timed out after 30000 milliseconds, content:
Connection timed out after 30000 milliseconds

 186.644 Error ModPortal.cpp:256: Mod portal API call failed: status 520, error: Connection time-out, content:
Connection time-out

 186.645 Error InstallModsPane.cpp:305: Failed to download mod portal bookmarks: API call failed: (path: 'api/bookmarks', status: 520)
 325.360 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:0}))
 343.686 Info UDPSocket.cpp:218: Closing socket
 343.687 Info UDPSocket.cpp:248: Socket closed
 343.687 Info UDPSocket.cpp:218: Closing socket
 350.215 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:0}))
 355.361 Error HttpSharedState.cpp:138: CURL failed: code:28, 1c; Connection timed out after 30000 milliseconds
 380.216 Error HttpSharedState.cpp:138: CURL failed: code:28, 1c; Connection timed out after 30000 milliseconds
 440.216 Error HttpSharedState.cpp:138: CURL failed: code:28, 1c; Connection timed out after 30000 milliseconds
 442.050 Info UDPSocket.cpp:218: Closing socket
 442.051 Info UDPSocket.cpp:248: Socket closed
 442.051 Info UDPSocket.cpp:218: Closing socket
 470.237 Error HttpSharedState.cpp:138: CURL failed: code:28, 1c; Connection timed out after 30000 milliseconds
1030.980 Quitting: user-quit.
1031.000 Error SteamContext.cpp:223: Failed to write "achievements.dat" to Steam Cloud. Size: 1583, Cloud Storage: Total=4999999999, Available=0
1031.002 Error SteamContext.cpp:223: Failed to write "player-data.json" to Steam Cloud. Size: 11507, Cloud Storage: Total=4999999999, Available=0
1031.336 Steam API shutdown.
1031.352 Goodbye

Re: Error code 520 when connecting to servers in game

Posted: Sun Dec 04, 2022 5:22 am
by xfret
The issue occurred as I was downloading new mods into my mod folder with >1700 items in it already. Is there a hard limit on the number of mods you can have then?