photon server shutdown after X second

Options
blad00x
edited June 2013 in Photon Server
Hello ,

i'm new to photon server and started developping and multiplayer game but when i start my server the logo bright and then after some second it shutdown .

here are my logs :
4396: 21:26:46.905 - ---
4396: 21:26:46.905 - Service: "Photon Socket Server" starting
4396: 21:26:46.905 - Config File: C:\photon\deploy\bin_win64\PhotonServer.config
4396: 21:26:46.906 - Will produce at most: 10 crash dumps
4396: 21:26:46.906 - Action: run as exe
4396: 21:26:46.906 - Server Starting...
4396: 21:26:46.906 - Tick count: 8265790 (wraps in: 49.6146 days)
4396: 21:26:46.906 - Tick count 64: 8265790
4396: 21:26:46.906 - Photon Version: 3.2.6.2037
4396: 21:26:46.906 - PID: 3132
4396: 21:26:46.906 - Config File: C:\photon\deploy\bin_win64\PhotonServer.config
4396: 21:26:46.908 - Not using performance counters as they are not currently installed. Run the service with /InstallCounters to install them.
4396: 21:26:46.908 - Max message size: 512000
4396: 21:26:46.909 - S2S: MaxInboundMessageSize: 512000
4396: 21:26:46.909 - S2S: MaxOutboundMessageSize: 512000
4396: 21:26:46.909 - S2S: No inactivity timeout
4396: 21:26:46.911 - WebSocket S2S: MaxInboundMessageSize: 512000
4396: 21:26:46.911 - WebSocket S2S: MaxOutboundMessageSize: 512000
4396: 21:26:46.911 - WebSocket S2S: No inactivity timeout
4396: 21:26:46.911 - Max Reliable Data In Transit (awaiting ACKs) per peer : 51200 bytes
4396: 21:26:46.911 - Per peer bandwidth limit
4396: 21:26:46.911 - Transmit Rate Limit: 256 KB/Sec
4396: 21:26:46.911 - Limit period: 200ms
4396: 21:26:46.911 - Limit per period: 52428 bytes
4396: 21:26:46.911 - Max queued data for transmission per peer: 512000 bytes
4396: 21:26:46.911 - Minimum retransmit timeout: 200
4396: 21:26:46.911 - Minimum ENet timeout: 5000ms
4396: 21:26:46.911 - Maximum ENet timeout: 30000ms
4396: 21:26:46.912 - Max Inbound Reliable Data Queued (awaiting resends of earlier sequence numbers) per peer : 163840 bytes
4396: 21:26:46.912 - Outbound ENet: MaxInboundMessageSize: 512000
4396: 21:26:46.912 - Outbound ENet: MaxOutboundMessageSize: 512000
4396: 21:26:46.917 - About to load runtime: PhotonHostRuntime.PhotonDomainManager from PhotonHostRuntime, Culture=neutral, PublicKeyToken=02C301B61B060C4D
4396: 21:26:46.917 - CLRBaseDirectory set to "C:\photon\deploy"
4396: 21:26:46.917 - Optimising event broadcast for 20 or more peers
4396: 21:26:46.918 - About to load CLR - versions available:
4396: 21:26:46.918 - v2.0.50727
4396: 21:26:46.918 - v4.0.30319
4396: 21:26:46.918 - No preference in configuration file, will load latest.
4396: 21:26:46.918 - About to load version: "v4.0.30319"
4396: 21:26:46.919 - Loaded version: "v4.0.30319"
4396: 21:26:47.082 - Photon host runtime loaded
4396: 21:26:51.206 - LICENSE: No license file was found. Starting with Bootstrap License.
4396: 21:26:51.206 - License is valid.
4396: 21:26:51.206 - Licensed for 20 concurrent connections.
4396: 21:26:51.206 - ENet: Max Reliable Data In Transit (awaiting ACKs) per peer : 51200 bytes
4396: 21:26:51.206 - ENet: Per peer bandwidth limit
4396: 21:26:51.206 - ENet: Transmit Rate Limit: 256 KB/Sec
4396: 21:26:51.206 - ENet: Limit period: 200ms
4396: 21:26:51.206 - ENet: Limit per period: 52428 bytes
4396: 21:26:51.206 - ENet: Max queued data for transmission per peer: 512000 bytes
4396: 21:26:51.206 - ENet: Minimum retransmit timeout: 200
4396: 21:26:51.206 - ENet: Minimum timeout: 5000ms
4396: 21:26:51.206 - ENet: Maximum timeout: 30000ms
4396: 21:26:51.206 - ENet: Max Inbound Reliable Data Queued (awaiting resends of earlier sequence numbers) per peer : 163840 bytes
4396: 21:26:51.206 - About to load application: Lite from Lite
4396: 21:26:51.206 - Auto restart is enabled for application, existing connections will be terminated during restart
4396: 21:26:51.206 - Application will restart 1000ms after the last change detected
4396: 21:26:51.206 - Application will restart if files matching the following are changed: "dll;config"
4396: 21:26:51.206 - Application will NOT restart if files matching the following are changed: "log4net.config"
4396: 21:26:51.287 - Taking reference on default app domain
4396: 21:26:51.327 - Application: "Lite" started in app domain: 2
4396: 21:26:51.327 - About to load application: LiteLobby from LiteLobby
4396: 21:26:51.327 - Auto restart is enabled for application, existing connections will be terminated during restart
4396: 21:26:51.327 - Application will restart 1000ms after the last change detected
4396: 21:26:51.327 - Application will restart if files matching the following are changed: "dll;config"
4396: 21:26:51.327 - Application will NOT restart if files matching the following are changed: "log4net.config"
4396: 21:26:51.385 - Taking reference on default app domain
4396: 21:26:51.427 - Application: "LiteLobby" started in app domain: 3
4396: 21:26:51.427 - About to load application: MMOServer from MMOServer
4396: 21:26:51.427 - Auto restart is enabled for application
4396: 21:26:51.427 - Application will restart 1000ms after the last change detected
4396: 21:26:51.427 - Application will restart if files matching the following are changed: "dll;config"
4396: 21:26:51.427 - Application will NOT restart if files matching the following are changed: "log4net.config"
4396: 21:26:51.485 - Taking reference on default app domain
4396: 21:26:51.547 - Application: "MMOServer" started in app domain: 4
4396: 21:26:51.547 - About to load application: CounterPublisher from CounterPublisher
4396: 21:26:51.547 - Auto restart is enabled for application, existing connections will be terminated during restart
4396: 21:26:51.547 - Application will restart 1000ms after the last change detected
4396: 21:26:51.547 - Application will restart if files matching the following are changed: "dll;config"
4396: 21:26:51.547 - Application will NOT restart if files matching the following are changed: "log4net.config"
4396: 21:26:51.606 - Taking reference on default app domain
4396: 21:26:51.647 - Application: "CounterPublisher" started in app domain: 5
4396: 21:26:51.647 - About to load application: Policy from Policy.Application
4396: 21:26:51.687 - Taking reference on default app domain
4396: 21:26:51.696 - Application: "Policy" started in app domain: 6
4396: 21:26:51.696 - Adding TCP listener on :0.0.0.0: 4530 with a listen backlog of: 150
4396: 21:26:51.696 - TCP inactivity timeout: 5000ms
4396: 21:26:51.696 - TCP disconnect timeout: 120000ms
4396: 21:26:51.696 - MaxInboundMessageSize: 512000
4396: 21:26:51.696 - MaxOutboundMessageSize: 512000
4396: 21:26:51.696 - Routing policy file requests to: "Policy"
4396: 21:26:51.696 - MaxInboundMessageSize: 512000
4396: 21:26:51.696 - MaxOutboundMessageSize: 512000
4396: 21:26:51.696 - UDP address specified as:0.0.0.0 adding listener to each available IPv4 address
4396: 21:26:51.697 - Adding UDP listener on :192.168.0.10: 5055 with a listen backlog of: 500
4396: 21:26:51.697 - Adding UDP listener on :192.168.74.1: 5055 with a listen backlog of: 500
4396: 21:26:51.697 - Adding UDP listener on :192.168.180.1: 5055 with a listen backlog of: 500
4396: 21:26:51.697 - Adding UDP listener on :25.136.44.13: 5055 with a listen backlog of: 500
4396: 21:26:51.697 - Adding UDP listener on :127.0.0.1: 5055 with a listen backlog of: 500
4396: 21:26:51.697 - Adding TCP Policy listener on :0.0.0.0: 843 with a listen backlog of: 150 and routing to application: "Policy"
4396: 21:26:51.697 - TCP inactivity timeout: 1000ms
4396: 21:26:51.697 - Adding TCP Policy listener on :0.0.0.0: 943 with a listen backlog of: 150 and routing to application: "Policy"
4396: 21:26:51.697 - TCP inactivity timeout: 1000ms
4396: 21:26:51.697 - Adding WebSocket TCP listener on :0.0.0.0: 9090 with a listen backlog of: 150
4396: 21:26:51.697 - Nagle disabled
4396: 21:26:51.697 - TCP inactivity timeout: 10000ms
4396: 21:26:51.697 - MaxInboundMessageSize: 512000
4396: 21:26:51.697 - MaxOutboundMessageSize: 512000
4396: 21:26:51.697 - Forcing all applications ids to: "Lite"
4396: 21:26:51.697 - Will accept ANY sub-protocols from the client
4396: 21:26:51.697 - No automatic WebSocket ping
4396: 21:26:51.700 - CService::OnException() - Exception: CSocket::Bind() 0.0.0.0:843 - Une seule utilisation de chaque adresse de socket (protocole/adresse réseau/port) est habituellement autorisée.
4396: 21:26:51.700 - Server shutting down...
4396: 21:26:51.700 - Notifying CLR applications of shutdown...
4396: 21:26:51.700 - RequestApplicationStop: 5
4396: 21:26:51.704 - RequestApplicationStop: 2
4396: 21:26:51.709 - RequestApplicationStop: 3
4396: 21:26:51.713 - RequestApplicationStop: 4
4396: 21:26:51.717 - RequestApplicationStop: 6
4396: 21:26:51.718 - RequestStop: defalt app domain
4396: 21:26:51.719 - Shutting down WebSocket Outbound Connection Manager...
4396: 21:26:51.719 - Shutting down TCP Outbound Connection Manager...
4396: 21:26:51.719 - Shutting down ENet Outbound Connection Manager...
4396: 21:26:51.719 - Disconnecting all outbound peers...
4396: 21:26:51.719 - Shutting down ENet host...
4396: 21:26:51.719 - Disconnecting all peers...
4396: 21:26:51.719 - Shutting down socket servers...
4396: 21:26:51.720 - Shutting down ENet thread pool...
4396: 21:26:51.720 - Shutting down TCP inactivity timers...
4396: 21:26:51.720 - WaitingForShutdownToComplete: TCP:0.0.0.0:4530
4396: 21:26:51.720 - OnShutdownCompleted: TCP:0.0.0.0:4530
4396: 21:26:51.720 - WaitingForShutdownToComplete: TCPPolicy:0.0.0.0:843
4396: 21:26:51.720 - OnShutdownCompleted: TCPPolicy:0.0.0.0:843
4396: 21:26:51.720 - WaitingForShutdownToComplete: TCPPolicy:0.0.0.0:943
4396: 21:26:51.720 - OnShutdownCompleted: TCPPolicy:0.0.0.0:943
4396: 21:26:51.720 - WaitingForShutdownToComplete: UDP:127.0.0.1:5055
4396: 21:26:51.720 - OnShutdownCompleted: UDP:127.0.0.1:5055
4396: 21:26:51.720 - WaitingForShutdownToComplete: UDP:192.168.0.10:5055
4396: 21:26:51.720 - OnShutdownCompleted: UDP:192.168.0.10:5055
4396: 21:26:51.720 - WaitingForShutdownToComplete: UDP:192.168.180.1:5055
4396: 21:26:51.720 - OnShutdownCompleted: UDP:192.168.180.1:5055
4396: 21:26:51.720 - WaitingForShutdownToComplete: UDP:192.168.74.1:5055
4396: 21:26:51.720 - OnShutdownCompleted: UDP:192.168.74.1:5055
4396: 21:26:51.720 - WaitingForShutdownToComplete: UDP:25.136.44.13:5055
4396: 21:26:51.720 - OnShutdownCompleted: UDP:25.136.44.13:5055
4396: 21:26:51.720 - WaitingForShutdownToComplete: WebSocket:0.0.0.0:9090
4396: 21:26:51.720 - OnShutdownCompleted: WebSocket:0.0.0.0:9090
4396: 21:26:51.720 - Shutting down CLR applications...
4184: 21:26:51.722 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain
4396: 21:26:51.731 - Shutting down business logic thread pool...
4396: 21:26:51.731 - Shutting down I/O thread pool...
4396: 21:26:51.731 - Destroying servers
4396: 21:26:51.731 - Destroying WebSocket Outbound Connection Manager
4396: 21:26:51.731 - Destroying TCP Outbound Connection Manager
4396: 21:26:51.731 - Destroying TCP inactivity timer
4396: 21:26:51.731 - Destroying ENet timer wheel
4396: 21:26:51.731 - Destroying ENet host
4396: 21:26:51.731 - Destroying ENet outbound host
4396: 21:26:51.731 - Flushing ENET buffer allocator...
4396: 21:26:51.731 - Flushing TCP buffer allocator...
4396: 21:26:51.731 - Flushing TCP buffer handle allocator...
4396: 21:26:51.731 - Flushing stream socket allocator...
4396: 21:26:51.731 - Flushing inbound datagram socket allocator...
4396: 21:26:51.731 - Flushing outbound datagram socket allocator...
4396: 21:26:51.731 - Destroying CLR dispatcher
4396: 21:26:51.731 - Destroying CLR applications
4396: 21:26:51.731 - Release domain manager: 1
4396: 21:26:51.772 - ~CManagedHost
4396: 21:26:51.772 - Destroying ENet thread pool
4396: 21:26:51.772 - Destroying Business logic thread pool
4396: 21:26:51.772 - Destroying I/O thread pool
4396: 21:26:51.772 - Destroying ENet buffer allocator
4396: 21:26:51.772 - Destroying TCP buffer allocator
4396: 21:26:51.772 - Destroying TCP socket allocator
4396: 21:26:51.772 - Destroying ENet inbound socket allocator
4396: 21:26:51.772 - Destroying ENet outbound socket allocator
4396: 21:26:51.772 - Scheduling performance counters for atexit destruction
4396: 21:26:51.772 - Shutdown complete...
4396: 21:26:51.772 - Service shutting down: with Exception. Errorcode: 5
4396: 21:26:51.772 - Service shut down complete

i tried to found the problem but without success

i hope you can help me.

EDIT: my firewall is turned down

Best regards
Blad00x

Comments

  • chvetsov
    Options
    Hi, Blad00x.
    Here is the message explaining what is going on
    CService::OnException() - Exception: CSocket::Bind() 0.0.0.0:843 - Une seule utilisation de chaque adresse de socket (protocole/adresse réseau/port) est habituellement autorisée.

    It means that someone already attached on port 843. You need get rid of it
  • That's right.

    Further info: port 843 is used for cross domain policy file requests (by Flash & Unity). Most likely, you have a Web Server (IIS?) configured to listen to port 843.

    You can find the application with:

    C:\>netstat -a -b
  • blad00x
    Options
    i think it is my webserver will look at it

    thanks you