Port forwarding issue / photon service stopping

NimbleSprite
edited December 2020 in Photon Server
Hi, sorry to say there are 2 issues I am having:

1) PhotonControl keeps stopping right after starting the LoadBalancing application, I can't run my LoadBalancing. have not changed any of the code, and actually ran it earlier today just an hour ago without a problem...Interestingly, I think this just started happening right after I tried adding an exception for it in windows firewall. Not sure if that's related.

Things look relatively normal in the log until today, shortly after adding a firewall exception, I notice this

9860: 00:01:31.628 - CService::OnException() - Exception: CCLRApplicationCollection::SetDefaultApplication() - Unknown application: "Master"

And eventually log says - 9860: 00:01:31.674 - Service shutting down: with Exception (1). Errorcode: 6

if that helps at all. I can provide more of the log if necessary...

2) Also, I read that photon control is supposed to automatically set up Windows Firewall to allow traffic on desired ports. I have no other AV software or firewalls. I even went to Windows Defender Firewall -> Allow a program through windows firewall -> added PhotonControl.exe and PhotonSocketServer.exe from the SDK for both private/public connections. Still, the ports I forwarded for my server are only open when I completely disable the entire domain of windows firewall. Any clues why this is not working? Is there something more I need to do to make the exception work? I tested port 4520 today with a port check tool on my phone, windows firewall disabled, and my modem's firewall disabled, to get it to work. It was open. Re-enabled windows firewall, now the port is filtered. That's when I tried adding the exception. Thanks for any help!!

Comments

  • hi, @NimbleSprite
    1) you have to provide entire log for native part from bin_Win64/logs folder. Currently it says that Master application is unknown. If you did not change config then for some reason master application failed to start.

    2)
    > I read that photon control is supposed to automatically set up Windows Firewall to allow traffic on desired ports
    I do not see such functionality in PhotonControl. Firewall you have to setup yourself

    I'm not big master of firewalls but all the time before it was enough to answer firewall's question once you start photon.

    if you setup port forwarding. I would switch off firewall at all to reduce number of unknowns.
    I would do it next way:

    1. disable firewall
    2. start photon and check that it is accessible from the same machine
    3. setup port forwarding on your router
    4. start and setup firewall

    best,
    ilya
  • Hi again, thanks for reply

    So, the only thing I really did was I removed the node for bootup of 'Master' application from the conifg. What my friend and I are doing is, he is running the Master server in Vancouver, and I am running a Game Server in another city, and we are working together on dev. My LoadBalancing was booting up just the Game Server app, without this node for the Master included in the config just fine before.

    Also, again yes, I was able to access the port 4520 remotely using a port check tool on my phone with modem firewall disabled & windows firewall disabled. and my understanding is that you can only check if a port is open by accessing the router's WAN interface remotely (outside the LAN), meaning I thought there was no way to check if a port is open from the same machine. I understand that there must be something extra I must do to get the firewalls configured properly, according to you, so that helps. It is not as easy as baking a cake I guess.

    Log from the last time I tried booting up, where service shuts down. Hopefully you can figure out what happened...

    9860: 00:01:28.827 - ---
    9860: 00:01:28.827 - Service: "Photon Socket Server" starting
    9860: 00:01:28.827 - Config File: C:\Users\tyler\Desktop\WFS\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\bin_Win64\PhotonServer.config
    9860: 00:01:28.828 - Will produce at most: 10 crash dumps
    9860: 00:01:28.828 - Action: run as exe
    9860: 00:01:28.829 - Server Starting...
    9860: 00:01:28.829 - Tick count: 1868546 (wraps in: 49.6886 days)
    9860: 00:01:28.829 - Tick count 64: 1868546
    9860: 00:01:28.829 - Photon Version: 4.0.28.2962
    9860: 00:01:28.829 - PID: 10972
    9860: 00:01:28.829 - Config File: C:\Users\tyler\Desktop\WFS\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\bin_Win64\PhotonServer.config
    9860: 00:01:28.829 - Will NOT log unimportant exceptions
    9860: 00:01:28.831 - Not using performance counters as they are not currently installed. Run the service with /InstallCounters to install them.
    9860: 00:01:28.831 - Shutdown timeout enabled: 30000ms
    9860: 00:01:28.831 - Starting I/O thread pool with 2 threads
    9860: 00:01:28.831 - Using Standard allocator
    9860: 00:01:28.831 - Max message size: 512000
    9860: 00:01:28.831 - Starting business logic thread pool with the following settings
    9860: 00:01:28.831 - InitialThreads: 4 threads
    9860: 00:01:28.831 - MinThreads: 4 threads
    9860: 00:01:28.831 - Thread pool is fixed size
    9860: 00:01:28.831 - Starting ENet thread pool with the following settings
    9860: 00:01:28.831 - InitialThreads: 2 threads
    9860: 00:01:28.831 - MinThreads: 2 threads
    9860: 00:01:28.831 - Thread pool is fixed size
    9860: 00:01:28.831 - OnlyDispatchTimers: False
    9860: 00:01:28.831 - S2S: flow control: Max pending writes: 50
    9860: 00:01:28.831 - S2S: flow control: Max queued buffers: 200
    9860: 00:01:28.831 - S2S: flow control: Max pending writes MUX: 500
    9860: 00:01:28.831 - S2S: flow control: Max queued buffers MUX: 2000
    9860: 00:01:28.832 - S2S: MaxInboundMessageSize: 512000
    9860: 00:01:28.832 - S2S: MaxOutboundMessageSize: 512000
    9860: 00:01:28.832 - S2S: No inactivity timeout
    9860: 00:01:28.834 - WebSocket S2S: MaxInboundMessageSize: 512000
    9860: 00:01:28.834 - WebSocket S2S: MaxOutboundMessageSize: 512000
    9860: 00:01:28.834 - WebSocket S2S: No inactivity timeout
    9860: 00:01:28.834 - Max Reliable Data In Transit (awaiting ACKs) per peer : 51200 bytes
    9860: 00:01:28.834 - Per peer bandwidth limit
    9860: 00:01:28.834 - Transmit Rate Limit: 256 KB/Sec
    9860: 00:01:28.834 - Limit period: 200ms
    9860: 00:01:28.834 - Limit per period: 52428 bytes
    9860: 00:01:28.834 - Max queued data for transmission per peer: 512000 bytes
    9860: 00:01:28.834 - Minimum retransmit timeout: 200
    9860: 00:01:28.834 - No Maximum retransmit timeout
    9860: 00:01:28.834 - Minimum ENet timeout: 5000ms
    9860: 00:01:28.834 - Maximum ENet timeout: 30000ms
    9860: 00:01:28.834 - Max Inbound Reliable Data Queued (awaiting resends of earlier sequence numbers) per peer : 163840 bytes
    9860: 00:01:28.834 - No RTT ACK adjustment timeout
    9860: 00:01:28.834 - Outbound ENet: MaxInboundMessageSize: 512000
    9860: 00:01:28.834 - Outbound ENet: MaxOutboundMessageSize: 512000
    9860: 00:01:28.836 - GetRuntime - About to load CLR - versions available:
    9860: 00:01:28.836 - v2.0.50727
    9860: 00:01:28.836 - v4.0.30319
    9860: 00:01:28.836 - Configuration requests: "v2.0.50727"
    9860: 00:01:28.836 - About to load version: "v2.0.50727"
    9860: 00:01:28.838 - About to load runtime: PhotonHostRuntime.PhotonDomainManager from PhotonHostRuntime, Culture=neutral, PublicKeyToken=02C301B61B060C4D
    9860: 00:01:28.838 - CLRBaseDirectory set to "C:\Users\tyler\Desktop\WFS\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy"
    9860: 00:01:28.838 - Optimising event broadcast for 20 or more peers
    9860: 00:01:28.838 - Start: About to load CLR - versions available:
    9860: 00:01:28.838 - v2.0.50727
    9860: 00:01:28.838 - v4.0.30319
    9860: 00:01:28.838 - No preference in configuration file, will load latest.
    9860: 00:01:28.838 - About to load version: "v4.0.30319"
    9860: 00:01:28.838 - Loaded version: "v4.0.30319"
    9860: 00:01:28.978 - Photon host runtime loaded
    9860: 00:01:30.824 - LICENSE: No license file was found. Starting with Bootstrap License.
    9860: 00:01:30.824 - License is valid.
    9860: 00:01:30.824 - Licensed for 20 concurrent connections.
    9860: 00:01:30.824 - ENet: Max Reliable Data In Transit (awaiting ACKs) per peer : 51200 bytes
    9860: 00:01:30.824 - ENet: Per peer bandwidth limit
    9860: 00:01:30.824 - ENet: Transmit Rate Limit: 256 KB/Sec
    9860: 00:01:30.824 - ENet: Limit period: 200ms
    9860: 00:01:30.824 - ENet: Limit per period: 52428 bytes
    9860: 00:01:30.824 - ENet: Max queued data for transmission per peer: 512000 bytes
    9860: 00:01:30.824 - ENet: Minimum retransmit timeout: 200
    9860: 00:01:30.824 - No Maximum retransmit timeout
    9860: 00:01:30.824 - ENet: Minimum timeout: 5000ms
    9860: 00:01:30.824 - ENet: Maximum timeout: 30000ms
    9860: 00:01:30.824 - ENet: Max Inbound Reliable Data Queued (awaiting resends of earlier sequence numbers) per peer : 163840 bytes
    9860: 00:01:30.824 - No RTT ACK adjustment timeout
    9860: 00:01:30.824 - About to load application: Game from Photon.LoadBalancing
    9860: 00:01:30.824 - Auto restart is enabled for application, existing connections will be terminated during restart
    9860: 00:01:30.824 - Application will restart 1000ms after the last change detected
    9860: 00:01:30.824 - Application will restart if files matching the following are changed: "dll;config"
    9860: 00:01:30.824 - Application will NOT restart if files matching the following are changed: "log4net.config"
    9860: 00:01:31.003 - Taking reference on default app domain
    9860: 00:01:31.284 - Application: "Game" started in app domain: 2
    9860: 00:01:31.284 - About to load application: CounterPublisher from CounterPublisher
    9860: 00:01:31.284 - Auto restart is enabled for application, existing connections will be terminated during restart
    9860: 00:01:31.284 - Application will restart 1000ms after the last change detected
    9860: 00:01:31.284 - Application will restart if files matching the following are changed: "dll;config"
    9860: 00:01:31.284 - Application will NOT restart if files matching the following are changed: "log4net.config"
    9860: 00:01:31.471 - Taking reference on default app domain
    9860: 00:01:31.628 - Application: "CounterPublisher" started in app domain: 3
    9860: 00:01:31.628 - CService::OnException() - Exception: CCLRApplicationCollection::SetDefaultApplication() - Unknown application: "Master"
    9860: 00:01:31.628 - Server shutting down...
    9860: 00:01:31.628 - Shutdown monitoring enabled, 30000ms before process abort
    9860: 00:01:31.628 - Notifying CLR applications of shutdown...
    9860: 00:01:31.628 - RequestApplicationStop: 3
    9860: 00:01:31.628 - RequestApplicationStop: 2
    9860: 00:01:31.643 - RequestStop: defalt app domain
    9860: 00:01:31.643 - Shutting down WebSocket Outbound Connection Manager...
    9860: 00:01:31.643 - Shutting down TCP Outbound Connection Manager...
    9860: 00:01:31.643 - Shutting down ENet Outbound Connection Manager...
    9860: 00:01:31.643 - Disconnecting all outbound peers...
    9860: 00:01:31.643 - Shutting down ENet host...
    9860: 00:01:31.643 - Disconnecting all peers...
    9860: 00:01:31.643 - Shutting down socket servers...
    9860: 00:01:31.643 - Shutting down ENet thread pool...
    9860: 00:01:31.643 - Shutting down TCP inactivity timers...
    9860: 00:01:31.643 - Shutting down CLR applications...
    2340: 00:01:31.659 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain
    3264: 00:01:31.659 - Unloading Domain: ApplicationName = 'CounterPublisher', DomainId='3'
    2340: 00:01:31.659 - CManagedHost::OnDomainUnload() - 3
    9860: 00:01:31.659 - Shutting down business logic thread pool...
    9860: 00:01:31.659 - Shutting down I/O thread pool...
    9860: 00:01:31.659 - Destroying servers
    9860: 00:01:31.659 - Destroying WebSocket Outbound Connection Manager
    9860: 00:01:31.659 - Destroying TCP Outbound Connection Manager
    9860: 00:01:31.659 - Destroying TCP inactivity timer
    9860: 00:01:31.659 - Destroying ENet timer wheel
    9860: 00:01:31.659 - Destroying ENet host
    9860: 00:01:31.659 - Destroying ENet outbound host
    9860: 00:01:31.659 - Destroying HTTP inactivity timer
    9860: 00:01:31.659 - Destroying HTTP host
    9860: 00:01:31.659 - Destroying HTTP Chunk host
    9860: 00:01:31.659 - Flushing ENET buffer allocator...
    9860: 00:01:31.659 - Flushing TCP buffer handle allocator...
    9860: 00:01:31.659 - Flushing stream socket allocator...
    9860: 00:01:31.659 - Flushing inbound datagram socket allocator...
    9860: 00:01:31.659 - Flushing outbound datagram socket allocator...
    9860: 00:01:31.659 - Destroying CLR dispatcher
    9860: 00:01:31.659 - Destroying CLR applications
    9860: 00:01:31.659 - ~CCLRApplicationCollection() - Waiting up to 10 seconds for the CLR to release all of our objects
    2340: 00:01:31.659 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain
    3264: 00:01:31.674 - Unloading Domain: ApplicationName = 'Game', DomainId='2'
    2340: 00:01:31.674 - CManagedHost::OnDomainUnload() - 2
    9860: 00:01:31.674 - ~CCLRApplicationCollection() - Done. All objects released
    9860: 00:01:31.674 - ~CManagedHost() - Release default app domain
    9860: 00:01:31.674 - CManagedHost::OnDomainUnload() - 1
    9860: 00:01:31.674 - ~CManagedHost() - Waiting up to 10 seconds for CLR shutdown...
    9860: 00:01:31.674 - ~CManagedHost
    9860: 00:01:31.674 - Destroying ENet thread pool
    9860: 00:01:31.674 - Destroying Business logic thread pool
    9860: 00:01:31.674 - Destroying I/O thread pool
    9860: 00:01:31.674 - Destroying ENet buffer allocator
    9860: 00:01:31.674 - Destroying TCP buffer allocator
    9860: 00:01:31.674 - Destroying TCP socket allocator
    9860: 00:01:31.674 - Destroying ENet inbound socket allocator
    9860: 00:01:31.674 - Destroying ENet outbound socket allocator
    9860: 00:01:31.674 - Destroying shared datagram flow control data
    9860: 00:01:31.674 - Shutdown complete...
    9860: 00:01:31.674 - Service shutting down: with Exception (1). Errorcode: 6
    9860: 00:01:31.674 - Service shut down complete
    3204: 00:12:35.633 - ---
  • hi, @NimbleSprite

    apparently you modified config

    ```
    9860: 00:01:30.824 - About to load application: Game from Photon.LoadBalancing
    9860: 00:01:30.824 - Auto restart is enabled for application, existing connections will be terminated during restart
    9860: 00:01:30.824 - Application will restart 1000ms after the last change detected
    9860: 00:01:30.824 - Application will restart if files matching the following are changed: "dll;config"
    9860: 00:01:30.824 - Application will NOT restart if files matching the following are changed: "log4net.config"
    9860: 00:01:31.003 - Taking reference on default app domain
    9860: 00:01:31.284 - Application: "Game" started in app domain: 2
    9860: 00:01:31.284 - About to load application: CounterPublisher from CounterPublisher
    9860: 00:01:31.284 - Auto restart is enabled for application, existing connections will be terminated during restart
    9860: 00:01:31.284 - Application will restart 1000ms after the last change detected
    9860: 00:01:31.284 - Application will restart if files matching the following are changed: "dll;config"
    9860: 00:01:31.284 - Application will NOT restart if files matching the following are changed: "log4net.config"
    9860: 00:01:31.471 - Taking reference on default app domain
    9860: 00:01:31.628 - Application: "CounterPublisher" started in app domain: 3
    9860: 00:01:31.628 - CService::OnException() - Exception: CCLRApplicationCollection::SetDefaultApplication() - Unknown application: "Master"
    ```

    master application does not start however it is set as default application. Change default application to Game

    best
    ilya
  • NimbleSprite
    edited December 2020
    Ok thanks, you were right, it works better now, the service starts normally. I notice the server still shuts down shortly after booting up, because it says

    13012: 22:08:43.867 - CService::OnException() - Exception: CService::InitialiseTCPListeners() - Application does not exist: "Master"

    I guess this is happening because I am trying to start this Game server app without a Master up and running to which it can connect/register with, is that correct? So there is no real way to run the Game server listeners without a Master running? Thx
  • check your listeners. they still have OverrideApplication attribute that sets "Master" either remove those listeners or replace with Game

    best,
    ilya
  • NimbleSprite
    edited December 2020
    @chvetsov Ok so -- I tried this, replaced the OverrideApplication attribute on both the TCP/UDP listeners as you said with 'Game', but still the service still stops shortly after starting actually. Am I missing something or doing something wrong? How do you think it should look like? Again, I am just trying to get this so that the service will start just as a Game Server, without registering with my friend's distant Master server, and not stop shortly after booting up. That should be possible, right? Here is my config node, followed by the log I am getting. Thanks again for your time

    <Configuration>
    <!-- Multiple instances are supported. Each instance has its own node in the config file. -->

    <LoadBalancing
    MaxMessageSize="512000"
    MaxQueuedDataPerPeer="512000"
    PerPeerMaxReliableDataInTransit="51200"
    PerPeerTransmitRateLimitKBSec="256"
    PerPeerTransmitRatePeriodMilliseconds="200"
    MinimumTimeout="5000"
    MaximumTimeout="30000"
    DisplayName="LoadBalancing (MyCloud)">

    <!-- 0.0.0.0 opens listeners on all available IPs. Machines with multiple IPs should define the correct one here. -->
    <!-- Port 5055 is Photon's default for UDP connections. -->
    <UDPListeners>
    <UDPListener
    IPAddress="0.0.0.0"
    Port="5055"
    OverrideApplication="Game">
    </UDPListener>
    <UDPListener
    IPAddress="0.0.0.0"
    Port="5056"
    OverrideApplication="Game">
    </UDPListener>

    </UDPListeners>

    <!-- 0.0.0.0 opens listeners on all available IPs. Machines with multiple IPs should define the correct one here. -->
    <TCPListeners>
    <!-- TCP listener for Game clients on Master application -->
    <TCPListener
    IPAddress="0.0.0.0"
    Port="4530"
    OverrideApplication="Game"
    PolicyFile="Policy\assets\socket-policy.xml"
    InactivityTimeout="10000"
    >
    </TCPListener>

    <TCPListener
    IPAddress="0.0.0.0"
    Port="4531"
    OverrideApplication="Game"
    PolicyFile="Policy\assets\socket-policy.xml"
    InactivityTimeout="10000">
    </TCPListener>

    <!-- DON'T EDIT THIS. TCP listener for GameServers on Master application -->
    <TCPListener
    IPAddress="0.0.0.0"
    Port="4520">
    </TCPListener>
    </TCPListeners>

    And this is my log:

    9552: 16:07:35.003 - ---
    9552: 16:07:35.003 - Service: "Photon Socket Server" starting
    9552: 16:07:35.003 - Config File: C:\Users\tyler\Desktop\WFS\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\bin_Win64\PhotonServer.config
    9552: 16:07:35.005 - Will produce at most: 10 crash dumps
    9552: 16:07:35.005 - Action: run as exe
    9552: 16:07:35.006 - Server Starting...
    9552: 16:07:35.006 - Tick count: 2348718 (wraps in: 49.6831 days)
    9552: 16:07:35.006 - Tick count 64: 2348718
    9552: 16:07:35.006 - Photon Version: 4.0.28.2962
    9552: 16:07:35.006 - PID: 12072
    9552: 16:07:35.006 - Config File: C:\Users\tyler\Desktop\WFS\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\bin_Win64\PhotonServer.config
    9552: 16:07:35.006 - Will NOT log unimportant exceptions
    9552: 16:07:35.008 - Not using performance counters as they are not currently installed. Run the service with /InstallCounters to install them.
    9552: 16:07:35.008 - Shutdown timeout enabled: 30000ms
    9552: 16:07:35.009 - Starting I/O thread pool with 2 threads
    9552: 16:07:35.009 - Using Standard allocator
    9552: 16:07:35.009 - Max message size: 512000
    9552: 16:07:35.009 - Starting business logic thread pool with the following settings
    9552: 16:07:35.009 - InitialThreads: 4 threads
    9552: 16:07:35.009 - MinThreads: 4 threads
    9552: 16:07:35.009 - Thread pool is fixed size
    9552: 16:07:35.009 - Starting ENet thread pool with the following settings
    9552: 16:07:35.009 - InitialThreads: 2 threads
    9552: 16:07:35.009 - MinThreads: 2 threads
    9552: 16:07:35.009 - Thread pool is fixed size
    9552: 16:07:35.009 - OnlyDispatchTimers: False
    9552: 16:07:35.009 - S2S: flow control: Max pending writes: 50
    9552: 16:07:35.009 - S2S: flow control: Max queued buffers: 200
    9552: 16:07:35.009 - S2S: flow control: Max pending writes MUX: 500
    9552: 16:07:35.009 - S2S: flow control: Max queued buffers MUX: 2000
    9552: 16:07:35.009 - S2S: MaxInboundMessageSize: 512000
    9552: 16:07:35.009 - S2S: MaxOutboundMessageSize: 512000
    9552: 16:07:35.009 - S2S: No inactivity timeout
    9552: 16:07:35.013 - WebSocket S2S: MaxInboundMessageSize: 512000
    9552: 16:07:35.013 - WebSocket S2S: MaxOutboundMessageSize: 512000
    9552: 16:07:35.013 - WebSocket S2S: No inactivity timeout
    9552: 16:07:35.013 - Max Reliable Data In Transit (awaiting ACKs) per peer : 51200 bytes
    9552: 16:07:35.013 - Per peer bandwidth limit
    9552: 16:07:35.013 - Transmit Rate Limit: 256 KB/Sec
    9552: 16:07:35.013 - Limit period: 200ms
    9552: 16:07:35.013 - Limit per period: 52428 bytes
    9552: 16:07:35.013 - Max queued data for transmission per peer: 512000 bytes
    9552: 16:07:35.013 - Minimum retransmit timeout: 200
    9552: 16:07:35.013 - No Maximum retransmit timeout
    9552: 16:07:35.013 - Minimum ENet timeout: 5000ms
    9552: 16:07:35.013 - Maximum ENet timeout: 30000ms
    9552: 16:07:35.013 - Max Inbound Reliable Data Queued (awaiting resends of earlier sequence numbers) per peer : 163840 bytes
    9552: 16:07:35.013 - No RTT ACK adjustment timeout
    9552: 16:07:35.013 - Outbound ENet: MaxInboundMessageSize: 512000
    9552: 16:07:35.013 - Outbound ENet: MaxOutboundMessageSize: 512000
    9552: 16:07:35.015 - GetRuntime - About to load CLR - versions available:
    9552: 16:07:35.015 - v2.0.50727
    9552: 16:07:35.015 - v4.0.30319
    9552: 16:07:35.015 - Configuration requests: "v2.0.50727"
    9552: 16:07:35.015 - About to load version: "v2.0.50727"
    9552: 16:07:35.019 - About to load runtime: PhotonHostRuntime.PhotonDomainManager from PhotonHostRuntime, Culture=neutral, PublicKeyToken=02C301B61B060C4D
    9552: 16:07:35.019 - CLRBaseDirectory set to "C:\Users\tyler\Desktop\WFS\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy"
    9552: 16:07:35.019 - Optimising event broadcast for 20 or more peers
    9552: 16:07:35.020 - Start: About to load CLR - versions available:
    9552: 16:07:35.020 - v2.0.50727
    9552: 16:07:35.020 - v4.0.30319
    9552: 16:07:35.020 - No preference in configuration file, will load latest.
    9552: 16:07:35.020 - About to load version: "v4.0.30319"
    9552: 16:07:35.022 - Loaded version: "v4.0.30319"
    9552: 16:07:35.173 - Photon host runtime loaded
    9552: 16:07:36.725 - LICENSE: No license file was found. Starting with Bootstrap License.
    9552: 16:07:36.725 - License is valid.
    9552: 16:07:36.725 - Licensed for 20 concurrent connections.
    9552: 16:07:36.725 - ENet: Max Reliable Data In Transit (awaiting ACKs) per peer : 51200 bytes
    9552: 16:07:36.725 - ENet: Per peer bandwidth limit
    9552: 16:07:36.725 - ENet: Transmit Rate Limit: 256 KB/Sec
    9552: 16:07:36.725 - ENet: Limit period: 200ms
    9552: 16:07:36.725 - ENet: Limit per period: 52428 bytes
    9552: 16:07:36.725 - ENet: Max queued data for transmission per peer: 512000 bytes
    9552: 16:07:36.725 - ENet: Minimum retransmit timeout: 200
    9552: 16:07:36.725 - No Maximum retransmit timeout
    9552: 16:07:36.725 - ENet: Minimum timeout: 5000ms
    9552: 16:07:36.725 - ENet: Maximum timeout: 30000ms
    9552: 16:07:36.725 - ENet: Max Inbound Reliable Data Queued (awaiting resends of earlier sequence numbers) per peer : 163840 bytes
    9552: 16:07:36.725 - No RTT ACK adjustment timeout
    9552: 16:07:36.725 - About to load application: Game from Photon.LoadBalancing
    9552: 16:07:36.725 - Auto restart is enabled for application, existing connections will be terminated during restart
    9552: 16:07:36.725 - Application will restart 1000ms after the last change detected
    9552: 16:07:36.725 - Application will restart if files matching the following are changed: "dll;config"
    9552: 16:07:36.725 - Application will NOT restart if files matching the following are changed: "log4net.config"
    9552: 16:07:36.907 - Taking reference on default app domain
    9552: 16:07:37.229 - Application: "Game" started in app domain: 2
    9552: 16:07:37.229 - About to load application: CounterPublisher from CounterPublisher
    9552: 16:07:37.229 - Auto restart is enabled for application, existing connections will be terminated during restart
    9552: 16:07:37.229 - Application will restart 1000ms after the last change detected
    9552: 16:07:37.229 - Application will restart if files matching the following are changed: "dll;config"
    9552: 16:07:37.229 - Application will NOT restart if files matching the following are changed: "log4net.config"
    9552: 16:07:37.406 - Taking reference on default app domain
    9552: 16:07:37.559 - Application: "CounterPublisher" started in app domain: 3
    9552: 16:07:37.559 - Adding TCP listener on: 0.0.0.0: 4530 with a listen backlog of: 150
    9552: 16:07:37.559 - TCP inactivity timeout: 10000ms
    9552: 16:07:37.559 - TCP disconnect timeout: 120000ms
    9552: 16:07:37.559 - MaxInboundMessageSize: 512000
    9552: 16:07:37.559 - MaxOutboundMessageSize: 512000
    9552: 16:07:37.559 - Forcing all applications ids to: "Game"
    9552: 16:07:37.559 - Serving policy file requests from: "C:\Users\tyler\Desktop\WFS\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\Policy\assets\socket-policy.xml"
    9552: 16:07:37.559 - Adding TCP listener on: 0.0.0.0: 4531 with a listen backlog of: 150
    9552: 16:07:37.559 - TCP inactivity timeout: 10000ms
    9552: 16:07:37.559 - TCP disconnect timeout: 120000ms
    9552: 16:07:37.559 - MaxInboundMessageSize: 512000
    9552: 16:07:37.559 - MaxOutboundMessageSize: 512000
    9552: 16:07:37.559 - Forcing all applications ids to: "Game"
    9552: 16:07:37.559 - Serving policy file requests from: "C:\Users\tyler\Desktop\WFS\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\Policy\assets\socket-policy.xml"
    9552: 16:07:37.559 - Adding TCP listener on: 0.0.0.0: 4520 with a listen backlog of: 150
    9552: 16:07:37.559 - TCP inactivity timeout: 5000ms
    9552: 16:07:37.559 - TCP disconnect timeout: 120000ms
    9552: 16:07:37.559 - MaxInboundMessageSize: 512000
    9552: 16:07:37.559 - MaxOutboundMessageSize: 512000
    9552: 16:07:37.559 - Forcing all applications ids to: "Game"
    9552: 16:07:37.559 - MaxInboundMessageSize: 512000
    9552: 16:07:37.559 - MaxOutboundMessageSize: 512000
    9552: 16:07:37.559 - UDP address specified as: "0.0.0.0" adding listener to each available IPv4 address
    9552: 16:07:37.560 - Adding UDP listener on: 192.168.1.6: 5055 with a listen backlog of: 500
    9552: 16:07:37.560 - Adding UDP listener on: 127.0.0.1: 5055 with a listen backlog of: 500
    9552: 16:07:37.560 - Forcing all applications ids to: "Game"
    9552: 16:07:37.560 - MaxInboundMessageSize: 512000
    9552: 16:07:37.560 - MaxOutboundMessageSize: 512000
    9552: 16:07:37.560 - UDP address specified as: "0.0.0.0" adding listener to each available IPv4 address
    9552: 16:07:37.560 - Adding UDP listener on: 192.168.1.6: 5056 with a listen backlog of: 500
    9552: 16:07:37.560 - Adding UDP listener on: 127.0.0.1: 5056 with a listen backlog of: 500
    9552: 16:07:37.560 - Adding WebSocket TCP listener on: 0.0.0.0: 9090 with a listen backlog of: 150
    9552: 16:07:37.560 - Nagle disabled
    9552: 16:07:37.560 - TCP inactivity timeout: 10000ms
    9552: 16:07:37.560 - MaxInboundMessageSize: 512000
    9552: 16:07:37.560 - MaxOutboundMessageSize: 512000
    9552: 16:07:37.560 - Forcing all applications ids to: "Master"
    9552: 16:07:37.560 - CService::OnException() - Exception: CService::InitialiseWebSocketListeners() - Application does not exist: "Master"
    9552: 16:07:37.560 - Server shutting down...
    9552: 16:07:37.560 - Shutdown monitoring enabled, 30000ms before process abort
    9552: 16:07:37.560 - Notifying CLR applications of shutdown...
    9552: 16:07:37.560 - RequestApplicationStop: 3
    9552: 16:07:37.568 - RequestApplicationStop: 2
    9552: 16:07:37.577 - RequestStop: defalt app domain
    9552: 16:07:37.583 - Shutting down WebSocket Outbound Connection Manager...
    9552: 16:07:37.583 - Shutting down TCP Outbound Connection Manager...
    9552: 16:07:37.583 - Shutting down ENet Outbound Connection Manager...
    9552: 16:07:37.583 - Disconnecting all outbound peers...
    9552: 16:07:37.583 - Shutting down ENet host...
    9552: 16:07:37.583 - Disconnecting all peers...
    9552: 16:07:37.583 - Shutting down socket servers...
    9552: 16:07:37.583 - Shutting down ENet thread pool...
    9552: 16:07:37.583 - Shutting down TCP inactivity timers...
    9552: 16:07:37.584 - WaitingForShutdownToComplete: TCP:0.0.0.0:4520
    9552: 16:07:37.584 - OnShutdownCompleted: TCP:0.0.0.0:4520
    9552: 16:07:37.584 - WaitingForShutdownToComplete: TCP:0.0.0.0:4530
    9552: 16:07:37.584 - OnShutdownCompleted: TCP:0.0.0.0:4530
    9552: 16:07:37.584 - WaitingForShutdownToComplete: TCP:0.0.0.0:4531
    9552: 16:07:37.584 - OnShutdownCompleted: TCP:0.0.0.0:4531
    9552: 16:07:37.584 - WaitingForShutdownToComplete: UDP:127.0.0.1:5055
    9552: 16:07:37.584 - OnShutdownCompleted: UDP:127.0.0.1:5055
    9552: 16:07:37.584 - WaitingForShutdownToComplete: UDP:127.0.0.1:5056
    9552: 16:07:37.584 - OnShutdownCompleted: UDP:127.0.0.1:5056
    9552: 16:07:37.584 - WaitingForShutdownToComplete: UDP:192.168.1.6:5055
    9552: 16:07:37.584 - OnShutdownCompleted: UDP:192.168.1.6:5055
    9552: 16:07:37.584 - WaitingForShutdownToComplete: UDP:192.168.1.6:5056
    9552: 16:07:37.584 - OnShutdownCompleted: UDP:192.168.1.6:5056
    9552: 16:07:37.584 - Shutting down CLR applications...
    12420: 16:07:37.591 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain
    12184: 16:07:37.597 - Unloading Domain: ApplicationName = 'CounterPublisher', DomainId='3'
    12420: 16:07:37.598 - CManagedHost::OnDomainUnload() - 3
    9552: 16:07:37.598 - Shutting down business logic thread pool...
    9552: 16:07:37.598 - Shutting down I/O thread pool...
    9552: 16:07:37.598 - Destroying servers
    9552: 16:07:37.599 - Destroying WebSocket Outbound Connection Manager
    9552: 16:07:37.599 - Destroying TCP Outbound Connection Manager
    9552: 16:07:37.599 - Destroying TCP inactivity timer
    9552: 16:07:37.599 - Destroying ENet timer wheel
    9552: 16:07:37.599 - Destroying ENet host
    9552: 16:07:37.599 - Destroying ENet outbound host
    9552: 16:07:37.599 - Destroying HTTP inactivity timer
    9552: 16:07:37.599 - Destroying HTTP host
    9552: 16:07:37.599 - Destroying HTTP Chunk host
    9552: 16:07:37.599 - Flushing ENET buffer allocator...
    9552: 16:07:37.599 - Flushing TCP buffer handle allocator...
    9552: 16:07:37.599 - Flushing stream socket allocator...
    9552: 16:07:37.599 - Flushing inbound datagram socket allocator...
    9552: 16:07:37.599 - Flushing outbound datagram socket allocator...
    9552: 16:07:37.599 - Destroying CLR dispatcher
    9552: 16:07:37.599 - Destroying CLR applications
    9552: 16:07:37.599 - ~CCLRApplicationCollection() - Waiting up to 10 seconds for the CLR to release all of our objects
    12420: 16:07:37.606 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain
    12184: 16:07:37.612 - Unloading Domain: ApplicationName = 'Game', DomainId='2'
    12420: 16:07:37.613 - CManagedHost::OnDomainUnload() - 2
    9552: 16:07:37.615 - ~CCLRApplicationCollection() - Done. All objects released
    9552: 16:07:37.615 - ~CManagedHost() - Release default app domain
    9552: 16:07:37.615 - CManagedHost::OnDomainUnload() - 1
    9552: 16:07:37.615 - ~CManagedHost() - Waiting up to 10 seconds for CLR shutdown...
    9552: 16:07:37.615 - ~CManagedHost
    9552: 16:07:37.615 - Destroying ENet thread pool
    9552: 16:07:37.615 - Destroying Business logic thread pool
    9552: 16:07:37.615 - Destroying I/O thread pool
    9552: 16:07:37.615 - Destroying ENet buffer allocator
    9552: 16:07:37.615 - Destroying TCP buffer allocator
    9552: 16:07:37.615 - Destroying TCP socket allocator
    9552: 16:07:37.615 - Destroying ENet inbound socket allocator
    9552: 16:07:37.615 - Destroying ENet outbound socket allocator
    9552: 16:07:37.615 - Destroying shared datagram flow control data
    9552: 16:07:37.615 - Shutdown complete...
    9552: 16:07:37.615 - Service shutting down: with Exception (1). Errorcode: 6
    9552: 16:07:37.617 - Service shut down complete
    1264: 16:08:16.922 - ---
    1264: 16:08:16.922 - Service: "Photon Socket Server" starting
    1264: 16:08:16.922 - Config File: C:\Users\tyler\Desktop\WFS\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\bin_Win64\PhotonServer.config
    1264: 16:08:16.924 - Will produce at most: 10 crash dumps
    1264: 16:08:16.924 - Action: run as exe
    1264: 16:08:16.924 - Server Starting...
    1264: 16:08:16.924 - Tick count: 2390640 (wraps in: 49.6826 days)
    1264: 16:08:16.924 - Tick count 64: 2390640
    1264: 16:08:16.924 - Photon Version: 4.0.28.2962
    1264: 16:08:16.924 - PID: 5804
    1264: 16:08:16.924 - Config File: C:\Users\tyler\Desktop\WFS\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\bin_Win64\PhotonServer.config
    1264: 16:08:16.925 - Will NOT log unimportant exceptions
    1264: 16:08:16.927 - Not using performance counters as they are not currently installed. Run the service with /InstallCounters to install them.
    1264: 16:08:16.927 - Shutdown timeout enabled: 30000ms
    1264: 16:08:16.927 - Starting I/O thread pool with 2 threads
    1264: 16:08:16.927 - Using Standard allocator
    1264: 16:08:16.927 - Max message size: 512000
    1264: 16:08:16.927 - Starting business logic thread pool with the following settings
    1264: 16:08:16.928 - InitialThreads: 4 threads
    1264: 16:08:16.928 - MinThreads: 4 threads
    1264: 16:08:16.928 - Thread pool is fixed size
    1264: 16:08:16.928 - Starting ENet thread pool with the following settings
    1264: 16:08:16.928 - InitialThreads: 2 threads
    1264: 16:08:16.928 - MinThreads: 2 threads
    1264: 16:08:16.928 - Thread pool is fixed size
    1264: 16:08:16.928 - OnlyDispatchTimers: False
    1264: 16:08:16.928 - S2S: flow control: Max pending writes: 50
    1264: 16:08:16.928 - S2S: flow control: Max queued buffers: 200
    1264: 16:08:16.928 - S2S: flow control: Max pending writes MUX: 500
    1264: 16:08:16.928 - S2S: flow control: Max queued buffers MUX: 2000
    1264: 16:08:16.928 - S2S: MaxInboundMessageSize: 512000
    1264: 16:08:16.928 - S2S: MaxOutboundMessageSize: 512000
    1264: 16:08:16.928 - S2S: No inactivity timeout
    1264: 16:08:16.932 - WebSocket S2S: MaxInboundMessageSize: 512000
    1264: 16:08:16.932 - WebSocket S2S: MaxOutboundMessageSize: 512000
    1264: 16:08:16.932 - WebSocket S2S: No inactivity timeout
    1264: 16:08:16.932 - Max Reliable Data In Transit (awaiting ACKs) per peer : 51200 bytes
    1264: 16:08:16.932 - Per peer bandwidth limit
    1264: 16:08:16.932 - Transmit Rate Limit: 256 KB/Sec
    1264: 16:08:16.932 - Limit period: 200ms
    1264: 16:08:16.932 - Limit per period: 52428 bytes
    1264: 16:08:16.932 - Max queued data for transmission per peer: 512000 bytes
    1264: 16:08:16.932 - Minimum retransmit timeout: 200
    1264: 16:08:16.932 - No Maximum retransmit timeout
    1264: 16:08:16.932 - Minimum ENet timeout: 5000ms
    1264: 16:08:16.932 - Maximum ENet timeout: 30000ms
    1264: 16:08:16.932 - Max Inbound Reliable Data Queued (awaiting resends of earlier sequence numbers) per peer : 163840 bytes
    1264: 16:08:16.932 - No RTT ACK adjustment timeout
    1264: 16:08:16.932 - Outbound ENet: MaxInboundMessageSize: 512000
    1264: 16:08:16.932 - Outbound ENet: MaxOutboundMessageSize: 512000
    1264: 16:08:16.934 - GetRuntime - About to load CLR - versions available:
    1264: 16:08:16.934 - v2.0.50727
    1264: 16:08:16.934 - v4.0.30319
    1264: 16:08:16.934 - Configuration requests: "v2.0.50727"
    1264: 16:08:16.934 - About to load version: "v2.0.50727"
    1264: 16:08:16.939 - About to load runtime: PhotonHostRuntime.PhotonDomainManager from PhotonHostRuntime, Culture=neutral, PublicKeyToken=02C301B61B060C4D
    1264: 16:08:16.939 - CLRBaseDirectory set to "C:\Users\tyler\Desktop\WFS\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy"
    1264: 16:08:16.939 - Optimising event broadcast for 20 or more peers
    1264: 16:08:16.940 - Start: About to load CLR - versions available:
    1264: 16:08:16.940 - v2.0.50727
    1264: 16:08:16.940 - v4.0.30319
    1264: 16:08:16.940 - No preference in configuration file, will load latest.
    1264: 16:08:16.940 - About to load version: "v4.0.30319"
    1264: 16:08:16.942 - Loaded version: "v4.0.30319"
    1264: 16:08:17.099 - Photon host runtime loaded
    1264: 16:08:18.665 - LICENSE: No license file was found. Starting with Bootstrap License.
    1264: 16:08:18.665 - License is valid.
    1264: 16:08:18.665 - Licensed for 20 concurrent connections.
    1264: 16:08:18.665 - ENet: Max Reliable Data In Transit (awaiting ACKs) per peer : 51200 bytes
    1264: 16:08:18.665 - ENet: Per peer bandwidth limit
    1264: 16:08:18.665 - ENet: Transmit Rate Limit: 256 KB/Sec
    1264: 16:08:18.665 - ENet: Limit period: 200ms
    1264: 16:08:18.665 - ENet: Limit per period: 52428 bytes
    1264: 16:08:18.665 - ENet: Max queued data for transmission per peer: 512000 bytes
    1264: 16:08:18.665 - ENet: Minimum retransmit timeout: 200
    1264: 16:08:18.665 - No Maximum retransmit timeout
    1264: 16:08:18.665 - ENet: Minimum timeout: 5000ms
    1264: 16:08:18.665 - ENet: Maximum timeout: 30000ms
    1264: 16:08:18.665 - ENet: Max Inbound Reliable Data Queued (awaiting resends of earlier sequence numbers) per peer : 163840 bytes
    1264: 16:08:18.665 - No RTT ACK adjustment timeout
    1264: 16:08:18.665 - About to load application: Game from Photon.LoadBalancing
    1264: 16:08:18.665 - Auto restart is enabled for application, existing connections will be terminated during restart
    1264: 16:08:18.665 - Application will restart 1000ms after the last change detected
    1264: 16:08:18.665 - Application will restart if files matching the following are changed: "dll;config"
    1264: 16:08:18.665 - Application will NOT restart if files matching the following are changed: "log4net.config"
    1264: 16:08:18.903 - Taking reference on default app domain
    1264: 16:08:19.186 - Application: "Game" started in app domain: 2
    1264: 16:08:19.186 - About to load application: CounterPublisher from CounterPublisher
    1264: 16:08:19.186 - Auto restart is enabled for application, existing connections will be terminated during restart
    1264: 16:08:19.186 - Application will restart 1000ms after the last change detected
    1264: 16:08:19.186 - Application will restart if files matching the following are changed: "dll;config"
    1264: 16:08:19.186 - Application will NOT restart if files matching the following are changed: "log4net.config"
    1264: 16:08:19.427 - Taking reference on default app domain
    1264: 16:08:19.586 - Application: "CounterPublisher" started in app domain: 3
    1264: 16:08:19.586 - Adding TCP listener on: 0.0.0.0: 4530 with a listen backlog of: 150
    1264: 16:08:19.586 - TCP inactivity timeout: 10000ms
    1264: 16:08:19.586 - TCP disconnect timeout: 120000ms
    1264: 16:08:19.586 - MaxInboundMessageSize: 512000
    1264: 16:08:19.586 - MaxOutboundMessageSize: 512000
    1264: 16:08:19.586 - Forcing all applications ids to: "Game"
    1264: 16:08:19.587 - Serving policy file requests from: "C:\Users\tyler\Desktop\WFS\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\Policy\assets\socket-policy.xml"
    1264: 16:08:19.587 - Adding TCP listener on: 0.0.0.0: 4531 with a listen backlog of: 150
    1264: 16:08:19.587 - TCP inactivity timeout: 10000ms
    1264: 16:08:19.587 - TCP disconnect timeout: 120000ms
    1264: 16:08:19.587 - MaxInboundMessageSize: 512000
    1264: 16:08:19.587 - MaxOutboundMessageSize: 512000
    1264: 16:08:19.587 - Forcing all applications ids to: "Game"
    1264: 16:08:19.587 - Serving policy file requests from: "C:\Users\tyler\Desktop\WFS\Photon-OnPremise-Server-SDK_v4-0-29-11263\deploy\Policy\assets\socket-policy.xml"
    1264: 16:08:19.587 - Adding TCP listener on: 0.0.0.0: 4520 with a listen backlog of: 150
    1264: 16:08:19.587 - TCP inactivity timeout: 5000ms
    1264: 16:08:19.587 - TCP disconnect timeout: 120000ms
    1264: 16:08:19.587 - MaxInboundMessageSize: 512000
    1264: 16:08:19.587 - MaxOutboundMessageSize: 512000
    1264: 16:08:19.587 - Forcing all applications ids to: "Game"
    1264: 16:08:19.587 - MaxInboundMessageSize: 512000
    1264: 16:08:19.587 - MaxOutboundMessageSize: 512000
    1264: 16:08:19.587 - UDP address specified as: "0.0.0.0" adding listener to each available IPv4 address
    1264: 16:08:19.587 - Adding UDP listener on: 192.168.1.6: 5055 with a listen backlog of: 500
    1264: 16:08:19.587 - Adding UDP listener on: 127.0.0.1: 5055 with a listen backlog of: 500
    1264: 16:08:19.587 - Forcing all applications ids to: "Game"
    1264: 16:08:19.587 - MaxInboundMessageSize: 512000
    1264: 16:08:19.587 - MaxOutboundMessageSize: 512000
    1264: 16:08:19.587 - UDP address specified as: "0.0.0.0" adding listener to each available IPv4 address
    1264: 16:08:19.588 - Adding UDP listener on: 192.168.1.6: 5056 with a listen backlog of: 500
    1264: 16:08:19.588 - Adding UDP listener on: 127.0.0.1: 5056 with a listen backlog of: 500
    1264: 16:08:19.588 - Adding WebSocket TCP listener on: 0.0.0.0: 9090 with a listen backlog of: 150
    1264: 16:08:19.588 - Nagle disabled
    1264: 16:08:19.588 - TCP inactivity timeout: 10000ms
    1264: 16:08:19.588 - MaxInboundMessageSize: 512000
    1264: 16:08:19.588 - MaxOutboundMessageSize: 512000
    1264: 16:08:19.588 - Forcing all applications ids to: "Master"
    1264: 16:08:19.588 - CService::OnException() - Exception: CService::InitialiseWebSocketListeners() - Application does not exist: "Master"
    1264: 16:08:19.588 - Server shutting down...
    1264: 16:08:19.588 - Shutdown monitoring enabled, 30000ms before process abort
    1264: 16:08:19.588 - Notifying CLR applications of shutdown...
    1264: 16:08:19.588 - RequestApplicationStop: 3
    1264: 16:08:19.595 - RequestApplicationStop: 2
    1264: 16:08:19.604 - RequestStop: defalt app domain
    1264: 16:08:19.610 - Shutting down WebSocket Outbound Connection Manager...
    1264: 16:08:19.610 - Shutting down TCP Outbound Connection Manager...
    1264: 16:08:19.610 - Shutting down ENet Outbound Connection Manager...
    1264: 16:08:19.610 - Disconnecting all outbound peers...
    1264: 16:08:19.610 - Shutting down ENet host...
    1264: 16:08:19.610 - Disconnecting all peers...
    1264: 16:08:19.610 - Shutting down socket servers...
    1264: 16:08:19.610 - Shutting down ENet thread pool...
    1264: 16:08:19.610 - Shutting down TCP inactivity timers...
    1264: 16:08:19.611 - WaitingForShutdownToComplete: TCP:0.0.0.0:4520
    1264: 16:08:19.611 - OnShutdownCompleted: TCP:0.0.0.0:4520
    1264: 16:08:19.611 - WaitingForShutdownToComplete: TCP:0.0.0.0:4530
    1264: 16:08:19.611 - OnShutdownCompleted: TCP:0.0.0.0:4530
    1264: 16:08:19.611 - WaitingForShutdownToComplete: TCP:0.0.0.0:4531
    1264: 16:08:19.611 - OnShutdownCompleted: TCP:0.0.0.0:4531
    1264: 16:08:19.611 - WaitingForShutdownToComplete: UDP:127.0.0.1:5055
    1264: 16:08:19.611 - OnShutdownCompleted: UDP:127.0.0.1:5055
    1264: 16:08:19.611 - WaitingForShutdownToComplete: UDP:127.0.0.1:5056
    1264: 16:08:19.611 - OnShutdownCompleted: UDP:127.0.0.1:5056
    1264: 16:08:19.611 - WaitingForShutdownToComplete: UDP:192.168.1.6:5055
    1264: 16:08:19.611 - OnShutdownCompleted: UDP:192.168.1.6:5055
    1264: 16:08:19.611 - WaitingForShutdownToComplete: UDP:192.168.1.6:5056
    1264: 16:08:19.611 - OnShutdownCompleted: UDP:192.168.1.6:5056
    1264: 16:08:19.611 - Shutting down CLR applications...
    244: 16:08:19.617 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain
    8240: 16:08:19.623 - Unloading Domain: ApplicationName = 'CounterPublisher', DomainId='3'
    244: 16:08:19.623 - CManagedHost::OnDomainUnload() - 3
    1264: 16:08:19.624 - Shutting down business logic thread pool...
    1264: 16:08:19.624 - Shutting down I/O thread pool...
    1264: 16:08:19.624 - Destroying servers
    1264: 16:08:19.624 - Destroying WebSocket Outbound Connection Manager
    1264: 16:08:19.624 - Destroying TCP Outbound Connection Manager
    1264: 16:08:19.624 - Destroying TCP inactivity timer
    1264: 16:08:19.624 - Destroying ENet timer wheel
    1264: 16:08:19.624 - Destroying ENet host
    1264: 16:08:19.624 - Destroying ENet outbound host
    1264: 16:08:19.624 - Destroying HTTP inactivity timer
    1264: 16:08:19.624 - Destroying HTTP host
    1264: 16:08:19.624 - Destroying HTTP Chunk host
    1264: 16:08:19.624 - Flushing ENET buffer allocator...
    1264: 16:08:19.624 - Flushing TCP buffer handle allocator...
    1264: 16:08:19.624 - Flushing stream socket allocator...
    1264: 16:08:19.624 - Flushing inbound datagram socket allocator...
    1264: 16:08:19.624 - Flushing outbound datagram socket allocator...
    1264: 16:08:19.624 - Destroying CLR dispatcher
    1264: 16:08:19.624 - Destroying CLR applications
    1264: 16:08:19.625 - ~CCLRApplicationCollection() - Waiting up to 10 seconds for the CLR to release all of our objects
    244: 16:08:19.628 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain
    8240: 16:08:19.634 - Unloading Domain: ApplicationName = 'Game', DomainId='2'
    244: 16:08:19.635 - CManagedHost::OnDomainUnload() - 2
    1264: 16:08:19.638 - ~CCLRApplicationCollection() - Done. All objects released
    1264: 16:08:19.638 - ~CManagedHost() - Release default app domain
    1264: 16:08:19.638 - CManagedHost::OnDomainUnload() - 1
    1264: 16:08:19.638 - ~CManagedHost() - Waiting up to 10 seconds for CLR shutdown...
    1264: 16:08:19.638 - ~CManagedHost
    1264: 16:08:19.638 - Destroying ENet thread pool
    1264: 16:08:19.638 - Destroying Business logic thread pool
    1264: 16:08:19.638 - Destroying I/O thread pool
    1264: 16:08:19.638 - Destroying ENet buffer allocator
    1264: 16:08:19.638 - Destroying TCP buffer allocator
    1264: 16:08:19.638 - Destroying TCP socket allocator
    1264: 16:08:19.638 - Destroying ENet inbound socket allocator
    1264: 16:08:19.638 - Destroying ENet outbound socket allocator
    1264: 16:08:19.638 - Destroying shared datagram flow control data
    1264: 16:08:19.638 - Shutdown complete...
    1264: 16:08:19.638 - Service shutting down: with Exception (1). Errorcode: 6
    1264: 16:08:19.639 - Service shut down complete
  • @chvetsov fixed, sorry! I didn't check the WebSockets listeners. thanks for the help.