Skip to content

Socket timeout issue with cradle.sh #36

@cthill

Description

@cthill

Server did not restart properly

14-08-18 20:46:22 account_svr  INFO     client 46.239.122.210:53668 disconnected
./cradle.sh: line 11: 29391 Killed                  python src/main.py
Cradle: non-zero exit code...
Cradle: restarting server...
14-08-18 20:48:20 root         INFO     LocalSO v1.3
14-08-18 20:48:20 db           INFO     Connected to database data/stickonline.db
14-08-18 20:48:20 account_svr  INFO     listening 0.0.0.0:3104
14-08-18 20:48:20 game_svr     INFO     udp listening 0.0.0.0:3105
14-08-18 20:48:20 web_svr      INFO     listening on 127.0.0.1:8080
Exception in thread Thread-5:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/root/LocalSO/server/src/server/game_server.py", line 47, in __call__
    s.bind((self.interface, self.port))
  File "/usr/lib/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use

Also, the server status was "online" during this time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions