Skip to content

Instantly share code, notes, and snippets.

@devaex
Created September 12, 2021 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devaex/b06194e8787a7efccf1438ab28325767 to your computer and use it in GitHub Desktop.
Save devaex/b06194e8787a7efccf1438ab28325767 to your computer and use it in GitHub Desktop.
20210912 02101100 ! info SetThreadName 2370=Main
20210912 02101100 ! + mormot.rest.http.server.TRestHttpServer(05f981f0).Create useBidirSocket (secNone) on port 8888
20210912 02101100 " info SetThreadName 07c8=Pool1-root
20210912 02101100 # info SetThreadName 3f64=Pool2-root
20210912 02101100 $ info SetThreadName 45b8=Pool3-root
20210912 02101100 % info SetThreadName 2274=HttpSvr 8888 root WSSvrRest
20210912 02101100 % trace mormot.rest.memserver.TRestServerFullMemory(05fb0128) BeginCurrentThread(TWebSocketServerRest) root=root ThreadID=2274 'HttpSvr 8888 root WSSvrRest' ThreadCount=1
20210912 02101100 & info SetThreadName 3a8c=Pool4-root
20210912 02101102 ! http mormot.rest.http.server.TRestHttpServer(05f981f0) {"TWebSocketServerRest(05fe81d0)":{ApiVersion:"WinSock 2.0.514",ServerName:"mORMot2 (Win)",ProcessName:"root",SockPort:"8888",ServerKeepAliveTimeOut:30000,ThreadPool:{"TSynThreadPoolTHttpServer(017945f0)":{WorkThreadCount:4,RunningThreads:4}}}} initialized for root
20210912 02101102 ! - 00.022.393
20210912 02104248 ' info SetThreadName 3b04=HttpSvr 8888 root THttpSvrResp
20210912 02104248 ' trace mormot.rest.memserver.TRestServerFullMemory(05fb0128) BeginCurrentThread(THttpServerResp) root=root ThreadID=3b04 'HttpSvr 8888 root THttpSvrResp' ThreadCount=2
20210912 02104248 ' trace mormot.net.ws.server.TWebSocketServerRest(05fe81d0) Process: WebSocketProcessUpgrade failed as 400
20210912 02104248 ' trace mormot.rest.memserver.TRestServerFullMemory(05fb0128) EndCurrentThread(THttpServerResp) ThreadID=3b04 'HttpSvr 8888 root THttpSvrResp' ThreadCount=1
20210912 02104248 ' info SetThreadName 2b3c=HttpSvr 8888 root THttpSvrResp
20210912 02104248 ' trace mormot.rest.memserver.TRestServerFullMemory(05fb0128) BeginCurrentThread(THttpServerResp) root=root ThreadID=2b3c 'HttpSvr 8888 root THttpSvrResp' ThreadCount=2
20210912 02104248 ' + mormot.rest.memserver.TRestServerFullMemory(05fb0128).URI GET root/timestamp in=0 B
20210912 02104248 ' srvr GET root/timestamp Method=200 out=12 B in 150us
20210912 02104248 ' ret mormot.rest.memserver.TRestServerFullMemory(05fb0128) 135662019242
20210912 02104249 ' - 00.002.128
20210912 02104249 ' + mormot.rest.memserver.TRestServerFullMemory(05fb0128).URI POST root/ChatService._contract_ in=2 B
20210912 02104249 ' srvr POST root/ChatService._contract_ Interface=200 out=31 B in 46us
20210912 02104249 ' ret mormot.rest.memserver.TRestServerFullMemory(05fb0128) {"result":["D4D00DAA4BA5E169"]}
20210912 02104249 ' - 00.001.959
20210912 02104705 ' + mormot.rest.memserver.TRestServerFullMemory(05fb0128).URI POST root/ChatService.Join in=10 B
20210912 02104705 ' call mormot.rest.memserver.TRestServerFullMemory(05fb0128) IChatService.Join["test",1]
20210912 02104705 ' srvr POST root/ChatService.Join Interface=200 out=13 B in 1.12ms
20210912 02104706 ' ret mormot.rest.memserver.TRestServerFullMemory(05fb0128) {"result":[]}
20210912 02104706 ' - 00.002.975
20210912 02105351 ' + mormot.rest.memserver.TRestServerFullMemory(05fb0128).URI POST root/ChatService.BlaBla in=14 B
20210912 02105351 ' call mormot.rest.memserver.TRestServerFullMemory(05fb0128) IChatService.BlaBla["test","sss"]
20210912 02105352 ' ERROR mormot.net.ws.server.TWebSocketServerRest(05fe81d0) Callback(root/ChatCallback.NotifyBlaBla/1) wscNonBlockWithoutAnswer on ConnectionID=2Server.lpr tsynlog.log (47) twebsocketserverrest.callback tresthttpserver.notifycallback ecc.c tinterfacedobjectfakeserver.callbackinvoke (150) ecc.c tinterfacedobjectfake.fakecallinternalprocess (150) ecc.c tinterfacedobjectfakeraw.fakecall (150) ../../../../Lib/mORMot2/trunk/src/core/mormot.core.rtti.pas (2637) ServerUnit.pas tchatservice.blabla (84) ecc.c callmethod (150)
20210912 02110749 ' EXC EInterfaceFactory {Message:"TInterfacedObjectFakeServer.FakeCall(IChatCallback.NotifyBlaBla) failed: 'TWebSocketServerRest.Callback(2) received status=404 from root/ChatCallback.NotifyBlaBla/1'"} [HttpSvr 8888 root THttpSvrResp] at 4d2efc ecc.c tinterfacedobjectfakeraw.fakecallraiseerror (150)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment