Screeps dedicated Server - Storage issue



  • Hello there,

    i installed a dedicated Screeps Server on my Windows Server 2012r2 by following the tutorial on GitHub (https://github.com/screeps/screeps) and also installed the Build Tools via the command "npm install --global windows-build-tools". This worked like a charm but the server keeps losing the connection to the storage every 5 to 20 minutes. This is what i can find in the Logs:

    engine_main.log:
    Storage connection lost { Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:162:27) errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' } Connecting to storage

    storage.log:
    Starting storage server
    Storage listening on 21027
    [127.0.0.1:50923] Incoming connection
    [127.0.0.1:50920] Incoming connection
    [127.0.0.1:50922] Incoming connection
    [127.0.0.1:50921] Incoming connection
    [127.0.0.1:50925] Incoming connection
    [127.0.0.1:50924] Incoming connection
    [127.0.0.1:50926] Incoming connection

    would be nice if someone could help 🙂

    edit: node version is v11.11.0
    npm/npx version is 6.7.0
    python version is 2.7.16
    did i miss something? 😄


  • Dev Team

    @apocalypse I'm kind of surprised that you were able to even run it on node 11 on the first place. Currently, Screeps is tested against node 8 only.

    UPD: and I'm not very sure about Windows Server 2012r2. Sounds ancient.



  • Thanks for the reply,

    i just downgraded node to 8.x.
    I let the server run over night... hope that this was my issue :).
    I'll give you feedback tomorrow.



  • Well... silly me 🙂 should read the instructions better next time.
    Using node 8.x now and it runs like Usain Bolt 🙂

    Thanks for the hint. Problem solved 👌

    👌