zopanix / docker_factorio_server

Factorio Server in Docker
MIT License
31 stars 275 forks source link

Received malformed packet #50

Open axaluss opened 7 years ago

axaluss commented 7 years ago

when i start this with ubuntu LTS 16.04 server on Docker version 1.13.1, build 092cba3 and factorio 0.14.22 and i try to connect the server says:

19625.896 Info Router.cpp:230: Received malformed packet from 98.226.58.18:54920 (Couldn't read from input file. File could be corrupted.)

and i cant login.

#!/bin/bash
docker run \
  -v /home/factorio/saves:/opt/factorio/saves \
  -v /home/factorio/mods:/opt/factorio/mods \
  --env FACTORIO_SERVER_VISIBILITY=lan \
  --env FACTORIO_AUTOSAVE_INTERVAL=5 \
  --env VERSION=0.14.22 \
  --env FACTORIO_SERVER_GAME_PASSWORD="mypassword" \
  -p 34197:34197/udp \
  zopanix/factorio

when i run factorio directly on host everything is fine and i can connect.

!/bin/bash
./bin/x64/factorio --port 34197 --start-server saves/newmp.zip