Service shutting down: failed to start application. Errorcode: 108
Options
I have searched these forums for help with the error codes and found nothing. I have attached my log files to this thread. Im sure its some small mistake I have made.
Thank you in advance for any help/advice.
6840: 09:57:42.597 - ---
6840: 09:57:42.597 - Service: "Photon Socket Server" starting
6840: 09:57:42.597 - Config File: \Server\Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA\deploy\bin_Win64\PhotonServer.config
6840: 09:57:42.597 - Will produce at most: 10 crash dumps
6840: 09:57:42.597 - Construction of service object complete
6840: 09:57:42.597 - Server Starting...
6840: 09:57:42.597 - Tick count: 56078125 (wraps in: 49.0612 days)
6840: 09:57:42.597 - Tick count 64: 56078125
6840: 09:57:42.597 - Photon Version: 5.0.1.6397
6840: 09:57:42.597 - Photon Build: RELEASE - x64
6840: 09:57:42.597 - PID: 4308
6840: 09:57:42.597 - EXE: \Server\Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA\deploy\bin_Win64\PhotonSocketServer.exe
6840: 09:57:42.597 - OpenSSL 1.1.1d 10 Sep 2019
6840: 09:57:42.597 - Config File: \Server\Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA\deploy\bin_Win64\PhotonServer.config
6840: 09:57:42.597 - Will NOT log unimportant exceptions
6840: 09:57:42.597 - Performance Counter Configuration for: "Photon Socket Server"
6840: 09:57:42.597 - CPerformanceCounterInstaller::DumpCounterConfiguration() - Exception - TODO
6840: 09:57:42.607 - Counters are installed? - "Photon Socket Server"
6840: 09:57:42.607 - Not using perfmon performance counters as they are not currently installed. Run the service with /InstallCounters to install them.
6840: 09:57:42.607 - Using in-proc performance counters, access via Interop API only
6840: 09:57:42.607 - Shutdown timeout enabled: 60000ms
6840: 09:57:42.607 - Starting I/O thread pool with 4 threads
672: 09:57:42.607 - InitialiseWorkerThread - I/O thread - COM enabled
4148: 09:57:42.607 - InitialiseWorkerThread - I/O thread - COM enabled
1048: 09:57:42.607 - InitialiseWorkerThread - I/O thread - COM enabled
6840: 09:57:42.607 - ENet: buffer size: 4096
6840: 09:57:42.607 - ENet: buffer pool: 5000
6840: 09:57:42.607 - Max message size: 512000
6840: 09:57:42.607 - CMultiPoolBufferAllocator::GetAllocator() - "CCLRDirectDispatcher"
6840: 09:57:42.607 - CMultiPoolBufferAllocator::GetAllocator() - "CENetThreadPool"
7280: 09:57:42.607 - InitialiseWorkerThread - I/O thread - COM enabled
6620: 09:57:42.607 - Initialise - ENet thread pool thread
7084: 09:57:42.607 - Initialise - ENet thread pool thread
4652: 09:57:42.607 - Initialise - ENet thread pool thread
6172: 09:57:42.607 - Initialise - ENet thread pool thread
4700: 09:57:42.607 - Initialise - ENet thread pool thread
6752: 09:57:42.607 - Initialise - ENet thread pool thread
6840: 09:57:42.607 - Starting ENet thread pool with the following settings
6840: 09:57:42.607 - InitialThreads: 8 threads
6764: 09:57:42.607 - Initialise - ENet thread pool thread
6840: 09:57:42.607 - MinThreads: 8 threads
6840: 09:57:42.607 - Thread pool is fixed size
6840: 09:57:42.607 - OnlyDispatchTimers: False
7648: 09:57:42.607 - Initialise - ENet thread pool thread
6840: 09:57:42.607 - Config|INFO| TCP S2S: no explicit configuration, using defaults. Add a <S2S> node to configure.
6840: 09:57:42.607 - Config|INFO| TCP S2S: - flow control: Max queued bytes: 500000
6840: 09:57:42.607 - Config|INFO| TCP S2S: - flow control: Notification step size: 25
6840: 09:57:42.607 - Config|INFO| TCP S2S: - no read timeout
6840: 09:57:42.607 - Config|INFO| TCP S2S: Nagle: disabled
6840: 09:57:42.607 - Config|INFO| TCP S2S: PingFrequency: 2500
6840: 09:57:42.607 - Config|INFO| TCP S2S: MaxInboundMessageSize: 512000
6840: 09:57:42.607 - Config|INFO| TCP S2S: MaxOutboundMessageSize: 512000
6840: 09:57:42.607 - Config|INFO| TCP S2S: No App Data inactivity timeout
6840: 09:57:42.607 - Config|INFO| WebSocket S2S: no explicit configuration, using defaults. Add a <WebSocketS2S> node to configure.
6840: 09:57:42.607 - Config|INFO| WebSocket S2S: - flow control: Max queued bytes: 500000
6840: 09:57:42.607 - Config|INFO| WebSocket S2S: - flow control: Notification step size: 25
6840: 09:57:42.607 - Config|INFO| WebSocket S2S: - no read timeout
6840: 09:57:42.607 - Config|INFO| WebSocket S2S: Nagle: disabled
6840: 09:57:42.607 - Config|INFO| WebSocket S2S: PingFrequency: 2500
6840: 09:57:42.607 - Config|INFO| WebSocket S2S: MaxInboundMessageSize: 512000
6840: 09:57:42.607 - Config|INFO| WebSocket S2S: MaxOutboundMessageSize: 512000
6840: 09:57:42.607 - Config|INFO| WebSocket S2S: No App Data inactivity timeout
6840: 09:57:42.607 - Data sending delay: 5 ms
6840: 09:57:42.607 - Max Reliable Data In Transit (awaiting ACKs) per peer : 51200 bytes
6840: 09:57:42.607 - Per peer bandwidth limit
6840: 09:57:42.607 - Transmit Rate Limit: 256 KB/Sec
6840: 09:57:42.607 - Limit period: 200ms
6840: 09:57:42.607 - Limit per period: 52428 bytes
6840: 09:57:42.607 - Max queued data for transmission per peer: 512000 bytes
6840: 09:57:42.607 - Minimum retransmit timeout: 200
6840: 09:57:42.607 - No Maximum retransmit timeout
6840: 09:57:42.607 - Minimum ENet timeout: 5000ms
6840: 09:57:42.607 - Maximum ENet timeout: 30000ms
6840: 09:57:42.607 - Max Inbound Reliable Data Queued (awaiting resends of earlier sequence numbers) per peer : 163840 bytes
6840: 09:57:42.607 - No RTT ACK adjustment timeout
6840: 09:57:42.607 - Packet throttle enabled: True
6840: 09:57:42.607 - Default packet throttle: 32
6840: 09:57:42.607 - Packet throttle scale: 32
6840: 09:57:42.607 - Packet throttle counter: 7
6840: 09:57:42.607 - Packet throttle acceleration: 2
6840: 09:57:42.607 - Packet throttle deceleration: 2
6840: 09:57:42.607 - Packet throttle interval: 5000
6840: 09:57:42.607 - Round Trip throttle multiplier: 2
6840: 09:57:42.607 - Unreliable Queue timeout: 5ms
6840: 09:57:42.607 - Outbound ENet: MaxInboundMessageSize: 512000
6840: 09:57:42.607 - Outbound ENet: MaxOutboundMessageSize: 512000
6840: 09:57:42.607 - Outbound ENet: Will validate inbound ENet datagram CRC if present
6840: 09:57:42.607 - Outbound ENet: Packet trace ring buffer size: 10
6840: 09:57:42.607 - Outbound ENet: No App Data inactivity timeout
6840: 09:57:42.607 - Outbound ENet: EncTypesAllowed: ALL
6840: 09:57:42.607 - CMultiPoolBufferAllocator::GetAllocator() - "CENetOutboundConnectionManager"
6840: 09:57:42.607 - GetRuntime - About to load CLR - versions available:
6840: 09:57:42.607 - v2.0.50727
6840: 09:57:42.607 - v4.0.30319
6840: 09:57:42.607 - Configuration requests: "v4.0.30319"
6840: 09:57:42.607 - About to load version: "v4.0.30319"
6840: 09:57:42.616 - About to load runtime: PhotonHostRuntime.PhotonDomainManager from PhotonHostRuntime, Culture=neutral, PublicKeyToken=02C301B61B060C4D
6840: 09:57:42.616 - CLRBaseDirectory set to "D:\Server\Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA\deploy"
6840: 09:57:42.616 - Start: About to load CLR - versions available:
6840: 09:57:42.616 - v2.0.50727
6840: 09:57:42.616 - v4.0.30319
6840: 09:57:42.616 - No preference in configuration file, will load latest.
6840: 09:57:42.616 - About to load version: "v4.0.30319"
6840: 09:57:42.616 - Using server GC
6840: 09:57:42.616 - GC: Server garbage collector enabled
6840: 09:57:42.616 - GC: Concurrent garbage collector enabled
6840: 09:57:42.616 - GC: Trim on commit disabled
6840: 09:57:42.616 - Loaded version: "v4.0.30319"
6840: 09:57:42.773 - Photon host runtime loaded
6840: 09:57:47.128 - License is valid.
6840: 09:57:47.128 - Licensed for 100 concurrent connections.
6840: 09:57:47.128 - Config|INFO| ENetHost - TODO - log using new method
6840: 09:57:47.128 - ENet: Ping interval: 1000 ms
6840: 09:57:47.128 - ENet: Data sending delay: 5 ms
6840: 09:57:47.128 - ENet: ACK sending delay: 5 ms
6840: 09:57:47.128 - ENet: Max Reliable Data In Transit (awaiting ACKs) per peer : 51200 bytes
6840: 09:57:47.128 - ENet: Per peer bandwidth limit
6840: 09:57:47.128 - ENet: Transmit Rate Limit: 256 KB/Sec
6840: 09:57:47.128 - ENet: Limit period: 200ms
6840: 09:57:47.128 - ENet: Limit per period: 52428 bytes
6840: 09:57:47.128 - ENet: Max queued data for transmission per peer: 512000 bytes
6840: 09:57:47.128 - ENet: Minimum retransmit timeout: 200
6840: 09:57:47.128 - ENet: No Maximum retransmit timeout
6840: 09:57:47.128 - ENet: Minimum timeout: 5000ms
6840: 09:57:47.128 - ENet: Maximum timeout: 30000ms
6840: 09:57:47.128 - ENet: Max Inbound Reliable Data Queued (awaiting resends of earlier sequence numbers) per peer : 163840 bytes
6840: 09:57:47.128 - ENet: Will validate inbound ENet datagram CRC if present
6840: 09:57:47.128 - ENet: No RTT ACK adjustment timeout
6840: 09:57:47.128 - ENet: Packet throttle enabled: True
6840: 09:57:47.128 - ENet: Default packet throttle: 32
6840: 09:57:47.128 - ENet: Packet throttle scale: 32
6840: 09:57:47.128 - ENet: Packet throttle counter: 7
6840: 09:57:47.128 - ENet: Round Trip throttle multiplier: 2
6840: 09:57:47.128 - ENet: Unreliable Queue timeout: 5ms
6840: 09:57:47.128 - ENet: AO: Initial queue size: 4096
6840: 09:57:47.128 - ENet: AO: Max consecutive ops: 200
6840: 09:57:47.128 - ENet: max pooled buffers in peer: 10
6840: 09:57:47.128 - ENet: Packet trace ring buffer size: 10
6840: 09:57:47.128 - ENet: No Application data inactivity timeout
6840: 09:57:47.128 - CMultiPoolBufferAllocator::GetAllocator() - "CENetHost"
6840: 09:57:47.128 - Config|INFO| New TCP: Max message size: 512000
6840: 09:57:47.128 - Config|INFO| New TCP: TODO - Business logic pool not curently supported for TCP dispatch
6840: 09:57:47.128 - About to load application: Master from Photon.LoadBalancing
6840: 09:57:48.330 - Taking reference on default app domain
6840: 09:57:48.369 - Master:2 - Start() failed. Exception:
System.NotSupportedException: 不支持请求的安全协议。
在 System.Net.ServicePointManager.ValidateSecurityProtocol(SecurityProtocolType value)
在 Photon.SocketServer.ApplicationBase..ctor() 位置 H:\SvnContent\photon-socketserver-sdk-branches\sdk_5.0\src\Photon.SocketServer\ApplicationBase.cs:行号 186
在 Photon.LoadBalancing.MasterServer.MasterApplication..ctor() 位置 H:\SvnContent\photon-socketserver-sdk-branches\sdk_5.0\src-server\Loadbalancing\LoadBalancing\MasterServer\MasterApplication.cs:行号 55
at...
System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.NotSupportedException: 不支持请求的安全协议。
在 System.Net.ServicePointManager.ValidateSecurityProtocol(SecurityProtocolType value)
在 Photon.SocketServer.ApplicationBase..ctor() 位置 H:\SvnContent\photon-socketserver-sdk-branches\sdk_5.0\src\Photon.SocketServer\ApplicationBase.cs:行号 186
在 Photon.LoadBalancing.MasterServer.MasterApplication..ctor() 位置 H:\SvnContent\photon-socketserver-sdk-branches\sdk_5.0\src-server\Loadbalancing\LoadBalancing\MasterServer\MasterApplication.cs:行号 55
--- 内部异常堆栈跟踪的结尾 ---
在 System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
在 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
在 System.Activator.CreateInstance(Type type, Boolean nonPublic)
在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
在 System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
在 PhotonHostRuntime.PhotonDomainManager.?????????????????????????????????????????.?????????????????????????????????????????(String , String , String , String , IPhotonApplicationSink , ILogToUnmanagedLog , IControlListeners )
在 PhotonHostRuntime.PhotonDomainManager.Start(String assemblyName, String typeName, String instanceName, String applicationName, IPhotonApplicationSink sink, ILogToUnmanagedLog logger, IControlListeners listenerControl)
6840: 09:57:48.369 - Master:2 - Stop() failed.
Exception:
System.Exception: Stop: unable to call the Application.TearDown() - undefined photonControl.
在 PhotonHostRuntime.PhotonDomainManager.?????????????????????????????????????????.?????????????????????????????????????????()
在 PhotonHostRuntime.PhotonDomainManager.Stop()
6840: 09:57:48.369 - ERROR: Failed to start application: "Master" in app domain: 2
7832: 09:57:48.369 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain
6840: 09:57:48.369 - CService::OnException() - Exception: CManagedHost::StartApplication() - Failed to start application in AppDomain: 2 - 不支持请求的安全协议。
6840: 09:57:48.369 - Server shutting down...
6840: 09:57:48.369 - Shutdown monitoring enabled, 60000ms before process abort
6840: 09:57:48.369 - Notifying CLR applications of shutdown...
6840: 09:57:48.369 - RequestStop: defalt app domain
6840: 09:57:48.369 - Shutting down NEW TCP Outbound Connection Manager...
6840: 09:57:48.369 - Shutting down WebSocket Outbound Connection Manager...
6840: 09:57:48.369 - Shutting down ENet Outbound Connection Manager...
6840: 09:57:48.369 - Disconnecting all outbound peers...
6840: 09:57:48.369 - Shutting down ENet host...
6840: 09:57:48.369 - Disconnecting all peers...
6840: 09:57:48.369 - Shutting down socket servers...
6840: 09:57:48.369 - Shutting down ENet thread pool...
6840: 09:57:48.369 - CENetThreadPool::WaitForShutdownToComplete() - cannot force thread termination on timeout - Unix doesn't support it
6840: 09:57:48.369 - Shutting down TCP inactivity timers...
6840: 09:57:48.369 - Waiting for socket servers to shutdown...
6840: 09:57:48.369 - Shutting down I/O thread pool...
6840: 09:57:48.369 - Shutting down CLR applications...
6840: 09:57:48.369 - Shutting down network data traces...
6840: 09:57:48.369 - Waiting for network data traces to complete...
6840: 09:57:48.369 - Destroying servers
6840: 09:57:48.369 - Destroying WebRTC Outbound Connection Manager
6840: 09:57:48.369 - Destroying WebRTC Outbound Host
6840: 09:57:48.369 - Destroying outbound ICE connection manager
6840: 09:57:48.369 - Destroying ENet timer wheel
6840: 09:57:48.369 - Destroying Network Data Trace factory
6840: 09:57:48.369 - Destroying ENet host
6840: 09:57:48.369 - Destroying ENet outbound connection manager
6840: 09:57:48.369 - Destroying HTTP inactivity timer queue
6840: 09:57:48.369 - Destroying HTTP host
6840: 09:57:48.369 - Destroying HTTP Chunk host
6840: 09:57:48.369 - Destroying WebRTC inactivity timer queue
6840: 09:57:48.369 - Destroying WebRTC host
6840: 09:57:48.369 - Destroying ICE connection manager
6840: 09:57:48.369 - Flushing stream socket allocator...
6840: 09:57:48.369 - Flushing inbound datagram socket allocator...
6840: 09:57:48.369 - Flushing outbound datagram socket allocator...
6840: 09:57:48.369 - Flushing NEW TCP socket allocator...
6840: 09:57:48.369 - Destroying TCP inactivity timer
6840: 09:57:48.369 - Flushing ENET buffer allocator...
6840: 09:57:48.369 - Flushing TCP buffer allocator...
6840: 09:57:48.369 - Flushing TCP buffer handle allocator...
6840: 09:57:48.369 - Destroying CLR dispatcher
6840: 09:57:48.369 - Destroying CLR applications
6840: 09:57:48.369 - ~CCLRApplicationCollection() - Waiting up to 10 seconds for the CLR to release all of our objects
4624: 09:57:48.378 - Unloading Domain: ApplicationName = 'Master', DomainId='2'
7832: 09:57:48.378 - CManagedHost::OnDomainUnload() - 2
6840: 09:57:48.378 - ~CCLRApplicationCollection() - Done. All objects released
6840: 09:57:48.378 - ~CManagedHost() - Release default app domain
6840: 09:57:48.378 - CManagedHost::OnDomainUnload() - 1
6840: 09:57:48.378 - ~CManagedHost() - Waiting up to 10 seconds for CLR shutdown...
6840: 09:57:48.388 - ~CManagedHost
6840: 09:57:48.388 - Destroying ENet thread pool
6840: 09:57:48.388 - Destroying Direct dispatcher
6840: 09:57:48.388 - Destroying I/O thread pool
6840: 09:57:48.388 - Destroying ENet I/O thread pool
6840: 09:57:48.388 - Destroying ENet buffer allocator
6840: 09:57:48.388 - Destroying TCP buffer allocator
6840: 09:57:48.388 - Destroying TCP socket allocator
6840: 09:57:48.388 - Destroying NEW TCP socket scheduler
6840: 09:57:48.388 - Destroying NEW TCP socket allocator
6840: 09:57:48.388 - Destroying NEW TCP configuration
6840: 09:57:48.388 - Config|INFO| New TCP: Flushing TCP socket allocator...
6840: 09:57:48.388 - Config|INFO| New TCP: Flushing TCP buffer allocator...
6840: 09:57:48.388 - Config|INFO| New TCP: Flushing TCP buffer handle allocator...
6840: 09:57:48.388 - Config|INFO| New TCP: Flushing policy file buffer allocator...
6840: 09:57:48.388 - Destroying ENet inbound socket allocator
6840: 09:57:48.388 - Destroying ENet outbound socket allocator
6840: 09:57:48.388 - Destroying shared datagram flow control data
6840: 09:57:48.388 - Shutdown complete...
6840: 09:57:48.388 - Service shutting down: failed to start application. Errorcode: 108
6840: 09:57:48.437 - Service shut down complete
========================PhotonCLR.log==================
2021-01-12 09:57:42,763 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - Initialize: ApplicationName = 'DefaultDomain', DomainID = '1'
2021-01-12 09:57:42,773 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - AppDomains with unhandled exceptions are usually not unloaded and restarted.
2021-01-12 09:57:42,773 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - Getting license information:
2021-01-12 09:57:47,128 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - CreateAppDomain: name = 'Master' , assemblyName = 'Photon.LoadBalancing'
2021-01-12 09:57:48,251 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - ApplicationBase = 'D:\Server\Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA\deploy'
2021-01-12 09:57:48,251 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - PrivateBinPath = 'D:\Server\Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA\deploy\LoadBalancing\Master\bin;bin_Win64;Shared;'
2021-01-12 09:57:48,251 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - ConfigurationFile = 'D:\Server\Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA\deploy\LoadBalancing\Master\bin\Photon.LoadBalancing.dll.config'
2021-01-12 09:57:48,251 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - CachePath = ''
2021-01-12 09:57:48,330 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - ApplicationPath = 'D:\Server\Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA\deploy\LoadBalancing\Master'
2021-01-12 09:57:48,330 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - BinaryPath = 'D:\Server\Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA\deploy\LoadBalancing\Master\bin'
2021-01-12 09:57:48,330 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - ApplicationRootPath = 'D:\Server\Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA\deploy'
2021-01-12 09:57:48,330 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - UnmanagedLogPath = 'D:\Server\Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA\deploy\bin_Win64\log'
2021-01-12 09:57:48,339 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - AssemblyLoadEvent: Photon.LoadBalancing, Version=5.0.1.21359, Culture=neutral, PublicKeyToken=null from file:///D:/Server/Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA/deploy/LoadBalancing/Master/bin/Photon.LoadBalancing.DLL
2021-01-12 09:57:48,339 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - Photon SDK:5.0.1.21358
2021-01-12 09:57:48,339 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - AssemblyLoadEvent: Photon.SocketServer, Version=5.0.1.21358, Culture=neutral, PublicKeyToken=48c2fa3b6988090e from file:///D:/Server/Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA/deploy/LoadBalancing/Master/bin/Photon.SocketServer.DLL
2021-01-12 09:57:48,339 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - AssemblyLoadEvent: PhotonHostRuntimeInterfaces, Version=3.81.0.0, Culture=neutral, PublicKeyToken=6cb1467adaa73020 from file:///D:/Server/Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA/deploy/LoadBalancing/Master/bin/PhotonHostRuntimeInterfaces.DLL
2021-01-12 09:57:48,339 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - AssemblyLoadEvent: ExitGamesLibs, Version=1.0.8.0, Culture=neutral, PublicKeyToken=eac0edd9746a4aa0 from file:///D:/Server/Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA/deploy/LoadBalancing/Master/bin/ExitGamesLibs.DLL
2021-01-12 09:57:48,349 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - AssemblyLoadEvent: PhotonHive, Version=5.0.1.21359, Culture=neutral, PublicKeyToken=null from file:///D:/Server/Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA/deploy/LoadBalancing/Master/bin/PhotonHive.DLL
2021-01-12 09:57:48,359 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - AssemblyLoadEvent: System.resources, Version=4.0.0.0, Culture=zh-Hans, PublicKeyToken=b77a5c561934e089 from file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.resources.dll
2021-01-12 09:57:48,359 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - ResourceResolveHandler: ApplicationName = 'Master', DomainId='2', args.Name='System.zh-Hans.resources'
2021-01-12 09:57:48,369 [ 1] INFO PhotonHostRuntime.PhotonDomainManager - RequestStop: ApplicationName = 'DefaultDomain', DomainId='1'
0
Comments
-
server: windows 2019 data center Version:1809 Build:17763.1518
5644: 11:51:22.539 - ---
5644: 11:51:22.539 - Service: "Photon Socket Server" starting
5644: 11:51:22.539 - Config File: C:\Users\Administrator\Desktop\Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA\deploy\bin_Win64\PhotonServer.config
5644: 11:51:22.549 - Will produce at most: 10 crash dumps
5644: 11:51:22.549 - Construction of service object complete
5644: 11:51:22.549 - Server Starting...
5644: 11:51:22.549 - Tick count: 462421 (wraps in: 49.7049 days)
5644: 11:51:22.549 - Tick count 64: 462421
5644: 11:51:22.549 - Photon Version: 5.0.1.6397
5644: 11:51:22.549 - Photon Build: RELEASE - x64
5644: 11:51:22.549 - PID: 4720
5644: 11:51:22.549 - EXE: C:\Users\Administrator\Desktop\Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA\deploy\bin_Win64\PhotonSocketServer.exe
5644: 11:51:22.549 - OpenSSL 1.1.1d 10 Sep 2019
5644: 11:51:22.549 - Config File: C:\Users\Administrator\Desktop\Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA\deploy\bin_Win64\PhotonServer.config
5644: 11:51:22.549 - Will NOT log unimportant exceptions
5644: 11:51:22.549 - Performance Counter Configuration for: "Photon Socket Server"
5644: 11:51:22.549 - CPerformanceCounterInstaller::DumpCounterConfiguration() - Exception - TODO
5644: 11:51:22.549 - Counters are installed? - "Photon Socket Server"
5644: 11:51:22.549 - Not using perfmon performance counters as they are not currently installed. Run the service with /InstallCounters to install them.
5644: 11:51:22.549 - Using in-proc performance counters, access via Interop API only
5644: 11:51:22.568 - Shutdown timeout enabled: 60000ms
5644: 11:51:22.568 - Starting I/O thread pool with 4 threads
4576: 11:51:22.568 - InitialiseWorkerThread - I/O thread - COM enabled
5644: 11:51:22.568 - ENet: buffer size: 4096
5644: 11:51:22.568 - ENet: buffer pool: 5000
5644: 11:51:22.568 - Max message size: 512000
5644: 11:51:22.568 - CMultiPoolBufferAllocator::GetAllocator() - "CCLRDirectDispatcher"
5644: 11:51:22.568 - CMultiPoolBufferAllocator::GetAllocator() - "CENetThreadPool"
4452: 11:51:22.568 - InitialiseWorkerThread - I/O thread - COM enabled
740: 11:51:22.568 - InitialiseWorkerThread - I/O thread - COM enabled
5644: 11:51:22.568 - Starting ENet thread pool with the following settings
5644: 11:51:22.568 - InitialThreads: 8 threads
5644: 11:51:22.568 - MinThreads: 8 threads
5644: 11:51:22.568 - Thread pool is fixed size
5644: 11:51:22.568 - OnlyDispatchTimers: False
156: 11:51:22.568 - InitialiseWorkerThread - I/O thread - COM enabled
2856: 11:51:22.568 - Initialise - ENet thread pool thread
5152: 11:51:22.568 - Initialise - ENet thread pool thread
3192: 11:51:22.568 - Initialise - ENet thread pool thread
5788: 11:51:22.568 - Initialise - ENet thread pool thread
2976: 11:51:22.568 - Initialise - ENet thread pool thread
5164: 11:51:22.568 - Initialise - ENet thread pool thread
4340: 11:51:22.568 - Initialise - ENet thread pool thread
1516: 11:51:22.568 - Initialise - ENet thread pool thread
5644: 11:51:22.568 - Config|INFO| TCP S2S: no explicit configuration, using defaults. Add a <S2S> node to configure.
5644: 11:51:22.568 - Config|INFO| TCP S2S: - flow control: Max queued bytes: 500000
5644: 11:51:22.568 - Config|INFO| TCP S2S: - flow control: Notification step size: 25
5644: 11:51:22.568 - Config|INFO| TCP S2S: - no read timeout
5644: 11:51:22.568 - Config|INFO| TCP S2S: Nagle: disabled
5644: 11:51:22.568 - Config|INFO| TCP S2S: PingFrequency: 2500
5644: 11:51:22.568 - Config|INFO| TCP S2S: MaxInboundMessageSize: 512000
5644: 11:51:22.568 - Config|INFO| TCP S2S: MaxOutboundMessageSize: 512000
5644: 11:51:22.568 - Config|INFO| TCP S2S: No App Data inactivity timeout
5644: 11:51:22.568 - Config|INFO| WebSocket S2S: no explicit configuration, using defaults. Add a <WebSocketS2S> node to configure.
5644: 11:51:22.568 - Config|INFO| WebSocket S2S: - flow control: Max queued bytes: 500000
5644: 11:51:22.568 - Config|INFO| WebSocket S2S: - flow control: Notification step size: 25
5644: 11:51:22.568 - Config|INFO| WebSocket S2S: - no read timeout
5644: 11:51:22.568 - Config|INFO| WebSocket S2S: Nagle: disabled
5644: 11:51:22.568 - Config|INFO| WebSocket S2S: PingFrequency: 2500
5644: 11:51:22.568 - Config|INFO| WebSocket S2S: MaxInboundMessageSize: 512000
5644: 11:51:22.568 - Config|INFO| WebSocket S2S: MaxOutboundMessageSize: 512000
5644: 11:51:22.568 - Config|INFO| WebSocket S2S: No App Data inactivity timeout
5644: 11:51:22.568 - Data sending delay: 5 ms
5644: 11:51:22.568 - Max Reliable Data In Transit (awaiting ACKs) per peer : 51200 bytes
5644: 11:51:22.568 - Per peer bandwidth limit
5644: 11:51:22.568 - Transmit Rate Limit: 256 KB/Sec
5644: 11:51:22.568 - Limit period: 200ms
5644: 11:51:22.568 - Limit per period: 52428 bytes
5644: 11:51:22.568 - Max queued data for transmission per peer: 512000 bytes
5644: 11:51:22.568 - Minimum retransmit timeout: 200
5644: 11:51:22.568 - No Maximum retransmit timeout
5644: 11:51:22.568 - Minimum ENet timeout: 5000ms
5644: 11:51:22.568 - Maximum ENet timeout: 30000ms
5644: 11:51:22.568 - Max Inbound Reliable Data Queued (awaiting resends of earlier sequence numbers) per peer : 163840 bytes
5644: 11:51:22.568 - No RTT ACK adjustment timeout
5644: 11:51:22.568 - Packet throttle enabled: True
5644: 11:51:22.568 - Default packet throttle: 32
5644: 11:51:22.568 - Packet throttle scale: 32
5644: 11:51:22.568 - Packet throttle counter: 7
5644: 11:51:22.568 - Packet throttle acceleration: 2
5644: 11:51:22.568 - Packet throttle deceleration: 2
5644: 11:51:22.568 - Packet throttle interval: 5000
5644: 11:51:22.568 - Round Trip throttle multiplier: 2
5644: 11:51:22.568 - Unreliable Queue timeout: 5ms
5644: 11:51:22.568 - Outbound ENet: MaxInboundMessageSize: 512000
5644: 11:51:22.568 - Outbound ENet: MaxOutboundMessageSize: 512000
5644: 11:51:22.568 - Outbound ENet: Will validate inbound ENet datagram CRC if present
5644: 11:51:22.568 - Outbound ENet: Packet trace ring buffer size: 10
5644: 11:51:22.568 - Outbound ENet: No App Data inactivity timeout
5644: 11:51:22.568 - Outbound ENet: EncTypesAllowed: ALL
5644: 11:51:22.568 - CMultiPoolBufferAllocator::GetAllocator() - "CENetOutboundConnectionManager"
5644: 11:51:22.568 - GetRuntime - About to load CLR - versions available:
5644: 11:51:22.568 - v4.0.30319
5644: 11:51:22.568 - Configuration requests: "v4.0.30319"
5644: 11:51:22.568 - About to load version: "v4.0.30319"
5644: 11:51:22.568 - About to load runtime: PhotonHostRuntime.PhotonDomainManager from PhotonHostRuntime, Culture=neutral, PublicKeyToken=02C301B61B060C4D
5644: 11:51:22.568 - CLRBaseDirectory set to "C:\Users\Administrator\Desktop\Photon-OnPremises-Server-SDK_v5-0-1-21359-BETA\deploy"
5644: 11:51:22.568 - Start: About to load CLR - versions available:
5644: 11:51:22.568 - v4.0.30319
5644: 11:51:22.568 - No preference in configuration file, will load latest.
5644: 11:51:22.568 - About to load version: "v4.0.30319"
5644: 11:51:22.568 - Using server GC
5644: 11:51:22.568 - GC: Server garbage collector enabled
5644: 11:51:22.568 - GC: Concurrent garbage collector enabled
5644: 11:51:22.568 - GC: Trim on commit disabled
5644: 11:51:22.568 - Loaded version: "v4.0.30319"
5644: 11:51:23.027 - Photon host runtime loaded
5644: 11:51:24.707 - License is valid.
5644: 11:51:24.707 - Licensed for 100 concurrent connections.
5644: 11:51:24.707 - Config|INFO| ENetHost - TODO - log using new method
5644: 11:51:24.707 - ENet: Ping interval: 1000 ms
5644: 11:51:24.707 - ENet: Data sending delay: 5 ms
5644: 11:51:24.707 - ENet: ACK sending delay: 5 ms
5644: 11:51:24.707 - ENet: Max Reliable Data In Transit (awaiting ACKs) per peer : 51200 bytes
5644: 11:51:24.707 - ENet: Per peer bandwidth limit
5644: 11:51:24.707 - ENet: Transmit Rate Limit: 256 KB/Sec
5644: 11:51:24.707 - ENet: Limit period: 200ms
5644: 11:51:24.707 - ENet: Limit per period: 52428 bytes
5644: 11:51:24.707 - ENet: Max queued data for transmission per peer: 512000 bytes
5644: 11:51:24.707 - ENet: Minimum retransmit timeout: 200
5644: 11:51:24.707 - ENet: No Maximum retransmit timeout
5644: 11:51:24.707 - ENet: Minimum timeout: 5000ms
5644: 11:51:24.707 - ENet: Maximum timeout: 30000ms
5644: 11:51:24.707 - ENet: Max Inbound Reliable Data Queued (awaiting resends of earlier sequence numbers) per peer : 163840 bytes
5644: 11:51:24.707 - ENet: Will validate inbound ENet datagram CRC if present
5644: 11:51:24.707 - ENet: No RTT ACK adjustment timeout
5644: 11:51:24.707 - ENet: Packet throttle enabled: True
5644: 11:51:24.707 - ENet: Default packet throttle: 32
5644: 11:51:24.707 - ENet: Packet throttle scale: 32
5644: 11:51:24.707 - ENet: Packet throttle counter: 7
5644: 11:51:24.707 - ENet: Round Trip throttle multiplier: 2
5644: 11:51:24.707 - ENet: Unreliable Queue timeout: 5ms
5644: 11:51:24.707 - ENet: AO: Initial queue size: 4096
5644: 11:51:24.707 - ENet: AO: Max consecutive ops: 200
5644: 11:51:24.707 - ENet: max pooled buffers in peer: 10
5644: 11:51:24.707 - ENet: Packet trace ring buffer size: 10
5644: 11:51:24.707 - ENet: No Application data inactivity timeout
5644: 11:51:24.707 - CMultiPoolBufferAllocator::GetAllocator() - "CENetHost"
5644: 11:51:24.707 - Config|INFO| New TCP: Max message size: 512000
5644: 11:51:24.707 - Config|INFO| New TCP: TODO - Business logic pool not curently supported for TCP dispatch
5644: 11:51:24.707 - About to load application: Master from Photon.LoadBalancing
5644: 11:51:25.947 - Taking reference on default app domain
5644: 11:51:26.064 - Master:2 - Start() failed. Exception:
System.NotSupportedException: The requested security protocol is not supported.
at System.Net.ServicePointManager.ValidateSecurityProtocol(SecurityProtocolType value)
at Photon.SocketServer.ApplicationBase..ctor() in H:\SvnContent\photon-socketserver-sdk-branches\sdk_5.0\src\Photon.SocketServer\ApplicationBase.cs:line 183
at Photon.LoadBalancing.MasterServer.MasterApplication..ctor() in H:\SvnContent\photon-socketserver-sdk-branches\sdk_5.0\src-server\Loadbalancing\LoadBalancing\MasterServer\MasterApplication.cs:line 55
at...
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotSupportedException: The requested security protocol is not supported.
at System.Net.ServicePointManager.ValidateSecurityProtocol(SecurityProtocolType value)
at Photon.SocketServer.ApplicationBase..ctor() in H:\SvnContent\photon-socketserver-sdk-branches\sdk_5.0\src\Photon.SocketServer\ApplicationBase.cs:line 183
at Photon.LoadBalancing.MasterServer.MasterApplication..ctor() in H:\SvnContent\photon-socketserver-sdk-branches\sdk_5.0\src-server\Loadbalancing\LoadBalancing\MasterServer\MasterApplication.cs:line 55
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at PhotonHostRuntime.PhotonDomainManager.?????????????????????????????????????????.?????????????????????????????????????????(String , String , String , String , IPhotonApplicationSink , ILogToUnmanagedLog , IControlListeners )
at PhotonHostRuntime.PhotonDomainManager.Start(String assemblyName, String typeName, String instanceName, String applicationName, IPhotonApplicationSink sink, ILogToUnmanagedLog logger, IControlListeners listenerControl)
5644: 11:51:26.064 - Master:2 - Stop() failed.
Exception:
System.Exception: Stop: unable to call the Application.TearDown() - undefined photonControl.
at PhotonHostRuntime.PhotonDomainManager.?????????????????????????????????????????.?????????????????????????????????????????()
at PhotonHostRuntime.PhotonDomainManager.Stop()
5644: 11:51:26.064 - ERROR: Failed to start application: "Master" in app domain: 2
5920: 11:51:26.064 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain
5644: 11:51:26.064 - CService::OnException() - Exception: CManagedHost::StartApplication() - Failed to start application in AppDomain: 2 - The requested security protocol is not supported.
5644: 11:51:26.064 - Server shutting down...
5644: 11:51:26.064 - Shutdown monitoring enabled, 60000ms before process abort
5644: 11:51:26.064 - Notifying CLR applications of shutdown...
5644: 11:51:26.064 - RequestStop: defalt app domain
2344: 11:51:26.074 - Unloading Domain: ApplicationName = 'Master', DomainId='2'
5920: 11:51:26.074 - CManagedHost::OnDomainUnload() - 2
5644: 11:51:26.074 - Shutting down NEW TCP Outbound Connection Manager...
5644: 11:51:26.074 - Shutting down WebSocket Outbound Connection Manager...
5644: 11:51:26.074 - Shutting down ENet Outbound Connection Manager...
5644: 11:51:26.074 - Disconnecting all outbound peers...
5644: 11:51:26.074 - Shutting down ENet host...
5644: 11:51:26.074 - Disconnecting all peers...
5644: 11:51:26.074 - Shutting down socket servers...
5644: 11:51:26.074 - Shutting down ENet thread pool...
5644: 11:51:26.074 - CENetThreadPool::WaitForShutdownToComplete() - cannot force thread termination on timeout - Unix doesn't support it
5644: 11:51:26.074 - Shutting down TCP inactivity timers...
5644: 11:51:26.074 - Waiting for socket servers to shutdown...
5644: 11:51:26.074 - Shutting down I/O thread pool...
5644: 11:51:26.074 - Shutting down CLR applications...
5644: 11:51:26.074 - Shutting down network data traces...
5644: 11:51:26.074 - Waiting for network data traces to complete...
5644: 11:51:26.074 - Destroying servers
5644: 11:51:26.074 - Destroying WebRTC Outbound Connection Manager
5644: 11:51:26.074 - Destroying WebRTC Outbound Host
5644: 11:51:26.074 - Destroying outbound ICE connection manager
5644: 11:51:26.074 - Destroying ENet timer wheel
5644: 11:51:26.074 - Destroying Network Data Trace factory
5644: 11:51:26.074 - Destroying ENet host
5644: 11:51:26.074 - Destroying ENet outbound connection manager
5644: 11:51:26.074 - Destroying HTTP inactivity timer queue
5644: 11:51:26.074 - Destroying HTTP host
5644: 11:51:26.074 - Destroying HTTP Chunk host
5644: 11:51:26.074 - Destroying WebRTC inactivity timer queue
5644: 11:51:26.074 - Destroying WebRTC host
5644: 11:51:26.074 - Destroying ICE connection manager
5644: 11:51:26.074 - Flushing stream socket allocator...
5644: 11:51:26.074 - Flushing inbound datagram socket allocator...
5644: 11:51:26.074 - Flushing outbound datagram socket allocator...
5644: 11:51:26.074 - Flushing NEW TCP socket allocator...
5644: 11:51:26.074 - Destroying TCP inactivity timer
5644: 11:51:26.074 - Flushing ENET buffer allocator...
5644: 11:51:26.074 - Flushing TCP buffer allocator...
5644: 11:51:26.074 - Flushing TCP buffer handle allocator...
5644: 11:51:26.074 - Destroying CLR dispatcher
5644: 11:51:26.074 - Destroying CLR applications
5644: 11:51:26.074 - ~CCLRApplicationCollection() - Waiting up to 10 seconds for the CLR to release all of our objects
5644: 11:51:26.074 - ~CCLRApplicationCollection() - Done. All objects released
5644: 11:51:26.074 - ~CManagedHost() - Release default app domain
5644: 11:51:26.074 - CManagedHost::OnDomainUnload() - 1
5644: 11:51:26.074 - ~CManagedHost() - Waiting up to 10 seconds for CLR shutdown...
5644: 11:51:26.093 - ~CManagedHost
5644: 11:51:26.093 - Destroying ENet thread pool
5644: 11:51:26.093 - Destroying Direct dispatcher
5644: 11:51:26.093 - Destroying I/O thread pool
5644: 11:51:26.093 - Destroying ENet I/O thread pool
5644: 11:51:26.093 - Destroying ENet buffer allocator
5644: 11:51:26.093 - Destroying TCP buffer allocator
5644: 11:51:26.093 - Destroying TCP socket allocator
5644: 11:51:26.093 - Destroying NEW TCP socket scheduler
5644: 11:51:26.093 - Destroying NEW TCP socket allocator
5644: 11:51:26.093 - Destroying NEW TCP configuration
5644: 11:51:26.093 - Config|INFO| New TCP: Flushing TCP socket allocator...
5644: 11:51:26.093 - Config|INFO| New TCP: Flushing TCP buffer allocator...
5644: 11:51:26.093 - Config|INFO| New TCP: Flushing TCP buffer handle allocator...
5644: 11:51:26.093 - Config|INFO| New TCP: Flushing policy file buffer allocator...
5644: 11:51:26.093 - Destroying ENet inbound socket allocator
5644: 11:51:26.093 - Destroying ENet outbound socket allocator
5644: 11:51:26.093 - Destroying shared datagram flow control data
5644: 11:51:26.093 - Shutdown complete...
5644: 11:51:26.093 - Service shutting down: failed to start application. Errorcode: 108
5644: 11:51:26.221 - Service shut down complete
0 -
hey, @weixudong
please add this to Photon.LoadBalancing.dll.config in both deploy/LoadBalancing/Master and deploy/LoadBalancing/GameServer folders
<appSettings>
<add key="ServicePointManager.SecurityProtocol" value="Tls12|Tls13" />
</appSettings>
I assume that Tls13 is not supported. so, after adding this stuff to config please remove Tls13 and try to start. if it will than I assume you have to install latest .net framework on this machine
best,
ilya1 -
hey, @weixudong
please add this to Photon.LoadBalancing.dll.config in both deploy/LoadBalancing/Master and deploy/LoadBalancing/GameServer folders
<appSettings>
<add key="ServicePointManager.SecurityProtocol" value="Tls12|Tls13" />
</appSettings>
I assume that Tls13 is not supported. so, after adding this stuff to config please remove Tls13 and try to start. if it will than I assume you have to install latest .net framework on this machine
best,
ilya
Updating the .Net version from 4.7.2 to 4.8 solved the problem.
best,
xudong0