[Glass] problem update: Zinc server with Seaside (3.1)

Dale K. Henrichs dale.henrichs at gemtalksystems.com
Sun Dec 22 14:07:12 PST 2013


I ran three different scenarios (#atEnd and #next, #next only, neither hack) and other than the extra connection (dual new streams) I'm seeing what you are seeing and that confirms that the #next hack is necessary and the #atEnd is not ... note that the error I get in #scenario 3 is on the second "phantom" connection and apparently you are no longer getting those ... 

SCENARIO 1: with #atEnd hack and #next hack (other than secondrequest/response loop, this is what you are seeing) : 

Starting Zinc adaptor 
2013-12-22 13:53:2.7749449968338013E+01 785366 I Starting adaptor: #'WAGsZincAdaptor' for aZnManagingMultiThreadedServer(running 8383) 
2013-12-22 13:53:4.0166903972625732E+01 925828 D New stream: 236967169 
2013-12-22 13:53:4.0565665960311890E+01 925828 D New stream: 236887297 
2013-12-22 13:53:4.0958484888076782E+01 925345 D Executing request/response loop 
2013-12-22 13:53:4.1381253004074097E+01 925345 D executeOneRequestResponseOn: 236967169 
2013-12-22 13:53:4.1762711048126221E+01 925345 I Read aZnRequest(GET /welcome) 
2013-12-22 13:53:4.2147259950637817E+01 925345 T GET /welcome 404 512B 3ms 
2013-12-22 13:53:4.2551609039306641E+01 925345 D executeOneRequestResponseOn:... writeResponseSafely: [before]236967169 
2013-12-22 13:53:4.2933556079864502E+01 925345 I Wrote aZnResponse(404 Not Found text/plain;charset=utf-8 512B) 
2013-12-22 13:53:4.3326118946075439E+01 925345 D executeOneRequestResponseOn:... writeResponseSafely: [after]236967169 
2013-12-22 13:53:4.3707204103469849E+01 925345 D a ZnUnknownHttpMethod occurred (error 2710) while reading request 
2013-12-22 13:53:4.4130357027053833E+01 925345 D Closing stream: 236967169 
2013-12-22 13:53:4.4527582883834839E+01 923175 D Executing request/response loop 
2013-12-22 13:53:4.4921699047088623E+01 923175 D executeOneRequestResponseOn: 236887297 
2013-12-22 13:53:4.5298103094100952E+01 923175 D a ZnUnknownHttpMethod occurred (error 2710) while reading request 
2013-12-22 13:53:4.5904892921447754E+01 923175 D Closing stream: 236887297 

SCENARIO 2: Without #atEnd hack (#next only)...(other than secondrequest/response loop, this is what you are seeing - connection timeout 3 seconds after response): 

Starting Zinc adaptor 
2013-12-22 13:50:9.8560180664062500E+00 785359 I Starting adaptor: #'WAGsZincAdaptor' for aZnManagingMultiThreadedServer(running 8383) 
2013-12-22 13:50:2.0016047954559326E+01 925297 D New stream: 236867585 
2013-12-22 13:50:2.0449911117553711E+01 925297 D New stream: 236861185 
2013-12-22 13:50:2.0846571922302246E+01 925243 D Executing request/response loop 
2013-12-22 13:50:2.1226372003555298E+01 925243 D executeOneRequestResponseOn: 236867585 
2013-12-22 13:50:2.1626094102859497E+01 925243 I Read aZnRequest(GET /welcome) 
2013-12-22 13:50:2.2013598918914795E+01 925243 T GET /welcome 404 512B 3ms 
2013-12-22 13:50:2.2416721105575562E+01 925243 D executeOneRequestResponseOn:... writeResponseSafely: [before]236867585 
2013-12-22 13:50:2.2826966047286987E+01 925243 I Wrote aZnResponse(404 Not Found text/plain;charset=utf-8 512B) 
2013-12-22 13:50:2.3206130027770996E+01 925243 D executeOneRequestResponseOn:... writeResponseSafely: [after]236867585 
2013-12-22 13:50:2.3612487077713013E+01 923133 D Executing request/response loop 
2013-12-22 13:50:2.4029966115951538E+01 923133 D executeOneRequestResponseOn: 236861185 
2013-12-22 13:50:3.0021986007690430E+01 923133 D a ZnUnknownHttpMethod occurred (error 2710) while reading request 
2013-12-22 13:50:3.0440711975097656E+01 923133 D Closing stream: 236861185 
2013-12-22 13:50:5.3612140893936157E+01 925243 D a ConnectionTimedOut occurred (error 2710), Data receive timed out. while reading request 
2013-12-22 13:50:5.4220288991928101E+01 925243 D Closing stream: 236867585 

SCENARIO 3: without atEnd and next hacks (which is resolved by #next hack without need for #atEnd): 

Starting Zinc adaptor 
2013-12-22 13:56:3.2378747940063477E+01 211649 I Starting adaptor: #'WAGsZincAdaptor' for aZnManagingMultiThreadedServer(running 8383) 
2013-12-22 13:56:4.0894996881484985E+01 211386 D New stream: 310124545 
2013-12-22 13:56:4.1277359962463379E+01 211386 D New stream: 310133249 
2013-12-22 13:56:4.1689944982528687E+01 211488 D Executing request/response loop 
2013-12-22 13:56:4.2064819097518921E+01 211488 D executeOneRequestResponseOn: 310124545 
2013-12-22 13:56:4.2433168888092041E+01 211488 I Read aZnRequest(GET /welcome) 
2013-12-22 13:56:4.2830959081649780E+01 211488 T GET /welcome 404 512B 2ms 
2013-12-22 13:56:4.3218271017074585E+01 211488 D executeOneRequestResponseOn:... writeResponseSafely: [before]310124545 
2013-12-22 13:56:4.3661309957504272E+01 211488 I Wrote aZnResponse(404 Not Found text/plain;charset=utf-8 512B) 
2013-12-22 13:56:4.4052680969238281E+01 211488 D executeOneRequestResponseOn:... writeResponseSafely: [after]310124545 
2013-12-22 13:56:4.4428173065185547E+01 211700 D Executing request/response loop 
2013-12-22 13:56:4.4832341909408569E+01 211700 D executeOneRequestResponseOn: 310133249 
-------------------- 
walkback with error index out of range ... 
-------------------- 
GsProcess(oop=310194945, status=debug, priority=25, ) 
-------------------- 
1. OffsetError(AbstractException)>>_signalWith: @5 line 25 
2. OffsetError(AbstractException)>>signal @2 line 47 
3. ByteArray(Object)>>_error:args: @15 line 11 
4. ByteArray(Object)>>_errorIndexOutOfRange: @2 line 6 
5. ByteArray>>at: @4 line 13 
6. SocketStream>>next @13 line 13 
7. ZnLineReader>>processNext @5 line 4 
8. ZnLineReader>>nextLine @3 line 3 
9. ZnRequestLine>>readFrom: @3 line 3 
10. ZnRequestLine class>>readFrom: @3 line 3 
11. ZnRequest>>readHeaderFrom: @2 line 2 
12. ZnRequest(ZnMessage)>>readBinaryFrom: @2 line 3 
13. ZnRequest class(ZnMessage class)>>readBinaryFrom: @3 line 3 
14. [] in ExecBlock1(ZnZincServerAdaptor)>>configureServerForBinaryReading @2 line 4 
15. [] in ZnManagingMultiThreadedServer(ZnSingleThreadedServer)>>readRequest: @3 line 6 
16. [] in ExecBlock0(ZnSingleThreadedServer)>>withMaximumEntitySizeDo: @2 line 6 
17. [] in ZnMaximumEntitySize class(DynamicVariable class)>>value:during: @3 line 9 
18. ZnMaximumEntitySize class(ExecBlock)>>ensure: @2 line 12 
19. ZnMaximumEntitySize class(DynamicVariable class)>>value:during: @6 line 10 
20. ZnManagingMultiThreadedServer(ZnSingleThreadedServer)>>withMaximumEntitySizeDo: @5 line 5 
21. ZnManagingMultiThreadedServer(ZnSingleThreadedServer)>>readRequest: @2 line 6 
22. [] in ZnManagingMultiThreadedServer(ZnMultiThreadedServer)>>readRequestSafely: @2 line 4 
23. ZnManagingMultiThreadedServer(ExecBlock)>>on:do: @3 line 42 
24. ZnManagingMultiThreadedServer(ZnMultiThreadedServer)>>readRequestSafely: @3 line 5 
25. ZnManagingMultiThreadedServer(ZnMultiThreadedServer)>>executeOneRequestResponseOn: @2 line 7 
26. [] in ZnManagingMultiThreadedServer(ZnMultiThreadedServer)>>executeRequestResponseLoopOn: @7 line 11 
27. [] in ZnCurrentServer class(DynamicVariable class)>>value:during: @3 line 9 
28. ZnCurrentServer class(ExecBlock)>>ensure: @2 line 12 
29. ZnCurrentServer class(DynamicVariable class)>>value:during: @6 line 10 
30. ZnManagingMultiThreadedServer(ZnMultiThreadedServer)>>executeRequestResponseLoopOn: @4 line 8 
31. [] in ZnManagingMultiThreadedServer(ZnMultiThreadedServer)>>serveConnectionsOn: @2 line 12 
32. ZnManagingMultiThreadedServer(ExecBlock)>>ensure: @2 line 12 
33. [] in ZnManagingMultiThreadedServer(ZnMultiThreadedServer)>>serveConnectionsOn: @2 line 13 
34. [] in ExecBlock0(ExecBlock)>>ifCurtailed: @2 line 6 
35. ExecBlock0(ExecBlock)>>ensure: @2 line 12 
36. ZnManagingMultiThreadedServer(ExecBlock)>>ifCurtailed: @3 line 8 
37. [] in ZnManagingMultiThreadedServer(ZnMultiThreadedServer)>>serveConnectionsOn: @2 line 16 
38. GsProcess>>_start @7 line 16 
39. UndefinedObject(GsNMethod class)>>_gsReturnToC @1 line 1 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20131222/cf234241/attachment.html>


More information about the Glass mailing list