[Glass] Need to restart GLASS...

Lawrence Kellogg via Glass glass at lists.gemtalksystems.com
Tue Sep 16 12:10:31 PDT 2014


On Sep 16, 2014, at 2:31 PM, Dale Henrichs <dale.henrichs at gemtalksystems.com> wrote:

> 
> 
> On Tue, Sep 16, 2014 at 11:17 AM, Lawrence Kellogg via Glass <glass at lists.gemtalksystems.com> wrote:
> 
> On Sep 16, 2014, at 12:35 PM, Richard Sargent via Glass <glass at lists.gemtalksystems.com> wrote:
> 
> > Dale wrote
> >> Typically I use `ssh -X` (port forwarding) to connect to the remote
> >> machine
> >> ... then starting squeak on the remote machine will display locally ...
> >
> > And if you connect via Putty, for example, make sure the connection enables
> > port forwarding. In Putty, this is found in the Connection/SSH/X11 part of
> > the configuration tree.
> >
> 
> Ok, some progress, I got the Pharo image to come up through X11. Thanks to John McIntosh for suggesting that I needed to set the port forwarding for X11Forwarding and AllowTcpForwarding in /etc/ssh/sshd_config on my Amazon instance. Not sure why I never ran into this in the past. X11Forwarding was yes but AllowTcpForwarding was no.
> 
> I’m still stuck though, for some reason the nginx through FastCGI chain is not quite working. Do I need to reinitialize my login task?
> 
> I tried this:
> 
>         | application |
>         application := (WAAdmin register: self asApplicationAt: 'PracticeJournalLoginTask') exceptionHandler: WAGemStoneProductionErrorHandler.
>         WAAdmin defaultDispatcher defaultName: 'PracticeJournalLoginTask'.
>         application preferenceAt: #sessionClass put: PracticeJournalSession
> 
> 
> but it didn’t make any difference.
> 
> I think we need to see some detailed information about what "not working" means:
> 
>   -- http error
>   -- corresponding nginx log
> 


Ok, from nginx it looks like I’m getting time outs

2014/09/16 18:55:08 [error] 11070#0: *1 upstream timed out (110: Connection timed out) while connecting to upstream, client: 68.175.51.239, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://23.21.100.123:9001", host: “www.practicemusic.com"

hmm…GET /

A few lines from the nginx access.log

68.175.51.239 - - [16/Sep/2014:18:11:59 +0000] "GET /splash_logo_element.png HTTP/1.1" 200 13551 "http://www.practicemusic.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/7.0.6 Safari/537.78.2" "-"
aaa68.175.51.239 - - [16/Sep/2014:18:11:59 +0000] "GET /oneColFixCtrHdr.css HTTP/1.1" 200 3376 "http://www.practicemusic.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/7.0.6 Safari/537.78.2" "-"
220.181.108.176 - - [16/Sep/2014:18:54:48 +0000] "GET / HTTP/1.1" 301 185 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)" "-"
68.175.51.239 - - [16/Sep/2014:18:56:08 +0000] "GET / HTTP/1.1" 504 3019 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/7.0.6 Safari/537.78.2" "-"
68.175.51.239 - - [16/Sep/2014:18:56:08 +0000] "GET /oneColFixCtrHdr.css HTTP/1.1" 200 3376 "http://www.practicemusic.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/7.0.6 Safari/537.78.2" "-"
68.175.51.239 - - [16/Sep/2014:18:56:08 +0000] "GET /splash_logo_element.png HTTP/1.1" 200 13551 "http://www.practicemusic.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/7.0.6 Safari/537.78.2" "-"
123.125.71.102 - - [16/Sep/2014:18:56:37 +0000] "GET / HTTP/1.1" 301 185 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)" "-"



I am seeing this error in the log for FastCGI 9001, up through 9/15, from 

!!!!-------  Unreportable ERROR Encountered: 2014-09-15T08:54:41.82931900024414-07:00InterpreterError 2089: An index range was specified for a sequenceable collection with the starting index <1> greater than the ending index <0>.-----------
!!!!-------  Unreportable ERROR Encountered: 2014-09-15T08:56:41.87794589996338-07:00InterpreterError 2089: An index range was specified for a sequenceable collection with the starting index <1> greater than the ending index <0>.-----------
!!!!-------  Unreportable ERROR Encountered: 2014-09-15T08:58:41.9195671081543-07:00InterpreterError 2089: An index range was specified for a sequenceable collection with the starting index <1> greater than the ending index <0>.-----------
!!!!-------  Unreportable ERROR Encountered: 2014-09-15T09:00:41.96276998519897-07:00InterpreterError 2089: An index range was specified for a sequenceable collection with the starting index <1> greater than the ending index <0>.-----------
!!!!-------  Unreportable ERROR Encountered: 2014-09-15T09:02:41.99716711044312-07:00InterpreterError 2089: An index range was specified for a sequenceable collection with the starting index <1> greater than the ending index <0>.-----------
--- 09/15/14 16:04:24.459 UTC :stone oobSocket read failed 19
recv(5,0x7fb6be96ee5f,1,0) failed with errno=4,EINTR, Interrupted system call (signal has aborted a sys call)

which appears to come from this walk back:

InterpreterError 2008: A method has been invoked in the abstract superclass <MultiByteString> that was designed to have been overridden in a concrete subclass.  Selector:  <#'new'>.
1 GRGemStonePlatform >> logError:title:shouldCommit: @2 line 4  [GsMethod OOP 175180033]
2 GRGemStonePlatform >> logError:title: @2 line 3  [GsMethod OOP 175180289]
3 WAFastCGIAdaptor >> internalServerErrorMessage: @20 line 14  [GsMethod OOP 212443905]
4 ComplexBlock in GRGemStonePlatform >> seasideProcessRequest:adaptor:resultBlock: @29 line 20  [GsMethod OOP 175179521]
5 ExceptionHandler >> caughtExceptionWithAction: @5 line 4  [GsMethod OOP 10065153]
6 ComplexBlock in ExceptionHandler >> caughtEx:number:cat:args:handler: @12 line 13  [GsMethod OOP 10064641]
7 ComplexBlock in ExecutableBlock >> ensure: @4 line 11  [GsMethod OOP 2304001]
8 ComplexBlock in ExecutableBlock >> ensure: @6 line 11  [GsMethod OOP 2304001]
9 ExceptionHandler >> caughtEx:number:cat:args:handler: @16 line 14  [GsMethod OOP 10064641]
10 ComplexBlock in ExceptionHandler >> try:on:do: @10 line 12  [GsMethod OOP 10062081]
11 Exception >> _signal:number:args: @2 line 7  [GsMethod OOP 2327041]
12 System class >> signal:args:signalDictionary: @5 line 13  [GsMethod OOP 3241473]
13 Object >> _error:args: @7 line 10  [GsMethod OOP 1926401]
14 Object >> subclassResponsibility: @2 line 7  [GsMethod OOP 1923841]
15 MultiByteString class >> new @1 line 3  [GsMethod OOP 7129345]
16 MultiByteString >> encodeUsing: @2 line 11  [GsMethod OOP 7135745]
17 WAEncoder >> nextPutAll: @2 line 5  [GsMethod OOP 177867009]
18 GRNullCodecStream >> nextPutAll: @4 line 3  [GsMethod OOP 119043329]
19 ComplexBlock in WAUrl >> encodePathOn: @7 line 5  [GsMethod OOP 176875521]
20 SequenceableCollection >> keysAndValuesDo: @5 line 4  [GsMethod OOP 19120897]


This error goes back to September 9th, so the server has been running for weeks with this problem….

Not sure this is helpful. I’ll keep digging. Thanks, Dale and John….


Larry

~                                                                                                              

> Then we might be able to figure things out a bit more ...
> 
> Dale

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20140916/6d1ec4d1/attachment.html>


More information about the Glass mailing list