the game server is auto restart

plz help me!
my server is windows 2012,
photon version is 4-0-29-11263
the log :
383208: 21:38:35.799 - CTCPSocketServer::ReadCompleted - Exception - CTCPStreamProcessor::ProcessDataStream() - Invalid message format: 0x47 - 18 - 47 45 54 20 2F 20 48 54 54 50 2F 31 2E 31 0D 0A 0D 0A - GET / HTTP/1.1.... 383208: 21:38:40.807 - CTCPSocketServer::ReadCompleted - Exception - CTCPStreamProcessor::ProcessDataStream() - Invalid message format: 0x47 - 18 - 47 45 54 20 2F 20 48 54 54 50 2F 31 2E 31 0D 0A 0D 0A - GET / HTTP/1.1.... 431408: 21:39:06.751 - CTCPSocketServer::ReadCompleted - Exception - CTCPStreamProcessor::ProcessDataStream() - Invalid message format: 0x47 - 18 - 47 45 54 20 2F 20 48 54 54 50 2F 31 2E 31 0D 0A 0D 0A - GET / HTTP/1.1.... 431408: 21:39:11.702 - CTCPSocketServer::ReadCompleted - Exception - CTCPStreamProcessor::ProcessDataStream() - Invalid message format: 0x47 - 18 - 47 45 54 20 2F 20 48 54 54 50 2F 31 2E 31 0D 0A 0D 0A - GET / HTTP/1.1.... 360748: 11:04:49.494 - CManagedHost::OnDefaultAction() - OPR_ThreadAbort - eAbortThread 277528: 21:01:42.695 - CTCPSocketServer::OnError() - TAsyncSocket::Shutdown() - 远程主机强迫关闭了一个现有的连接。 431408: 21:11:16.485 - CTCPSocketServer::ReadCompleted - Exception - CTCPStreamProcessor::ProcessDataStream() - Invalid message format: 0x47 - 18 - 47 45 54 20 2F 20 48 54 54 50 2F 31 2E 31 0D 0A 0D 0A - GET / HTTP/1.1.... 383208: 21:11:47.163 - CTCPSocketServer::ReadCompleted - Exception - CTCPStreamProcessor::ProcessDataStream() - Invalid message format: 0x47 - 18 - 47 45 54 20 2F 20 48 54 54 50 2F 31 2E 31 0D 0A 0D 0A - GET / HTTP/1.1.... 431408: 21:12:18.100 - CTCPSocketServer::ReadCompleted - Exception - CTCPStreamProcessor::ProcessDataStream() - Invalid message format: 0x47 - 18 - 47 45 54 20 2F 20 48 54 54 50 2F 31 2E 31 0D 0A 0D 0A - GET / HTTP/1.1.... 383208: 21:13:05.711 - CTCPSocketServer::ReadCompleted - Exception - CTCPStreamProcessor::ProcessDataStream() - Invalid message format: 0x47 - 18 - 47 45 54 20 2F 20 48 54 54 50 2F 31 2E 31 0D 0A 0D 0A - GET / HTTP/1.1.... 383208: 21:13:36.101 - CTCPSocketServer::ReadCompleted - Exception - CTCPStreamProcessor::ProcessDataStream() - Invalid message format: 0x47 - 18 - 47 45 54 20 2F 20 48 54 54 50 2F 31 2E 31 0D 0A 0D 0A - GET / HTTP/1.1.... 383208: 21:14:07.154 - CTCPSocketServer::ReadCompleted - Exception - CTCPStreamProcessor::ProcessDataStream() - Invalid message format: 0x47 - 18 - 47 45 54 20 2F 20 48 54 54 50 2F 31 2E 31 0D 0A 0D 0A - GET / HTTP/1.1.... 360748: 21:56:59.619 - CManagedHost::OnDefaultAction() - OPR_ThreadAbort - eAbortThread 360748: 21:56:59.621 - CManagedHost::OnTimeout() - OPR_FinalizerRun - eUnloadAppDomain 360748: 21:56:59.621 - CManagedHost::OnDefaultAction() - OPR_AppDomainUnload - eUnloadAppDomain 278788: 21:56:59.634 - Unloading Domain: ApplicationName = 'Game', DomainId='3' 360748: 21:56:59.634 - CManagedHost::OnDomainUnload() - 3 360748: 21:56:59.634 - Releasing reference on default app domain 360748: 21:56:59.634 - Restarting application: "Game" due to unexpected unload 360748: 21:56:59.634 - Application: "Game" restart request (abort existing connections) 360748: 21:56:59.692 - Taking reference on default app domain 360748: 21:56:59.774 - Application: "Game" started in app domain: 5 360748: 21:57:05.940 - StopApplication - Exception: CManagedHost::GetManagedHost() - AppDomain Manager not available for id: 3 360748: 21:57:05.944 - Application: "Game" stopped in app domain: 3 (abort existing connections) 360748: 21:57:05.944 - Application: "Game" restart complete.


Comments

  • the master server and the gameserver in the same Computer。
  • hi, @Kest

    as far as i may see from logs you get ThreadAbortException. usually this happens because of some external libraries. also it would be good to see content of PhotonClr.log and logs for Game and master servers.

    best,
    ilya