[Seaside] [BUG] Die on Smalltalk snapshot:andQuit: (was: Nginx reverse proxying seaside problem)

Laurent Laffont laurent.laffont at gmail.com
Thu Mar 27 08:32:23 UTC 2014


Hi,

take a fresh Seaside image
ex: https://ci.inria.fr/pharo-contribution/job/Seaside/PHARO=20,VERSION=stable,VM=vm/lastSuccessfulBuild/artifact/Seaside.zip

ZnZincServerAdaptor startOn:8080.

then go to http://localhost:8080/status

click 'Save' => boom

Laurent


Le mercredi 26 mars 2014, 15:09:16 Sven Van Caekenberghe a écrit :
> 
> On 26 Mar 2014, at 14:37, Laurent Laffont <laurent.laffont at gmail.com> wrote:
> 
> > Thanks Johan,
> >  
> > I use Seaside 3.1.1, Zinc-Seaside-SvenVanCaekenberghe.40  (.41 seems to be a minor change but I will try)
> 
> That won't make much difference. I do assume you run the latest Zinc in Pharo 2 ?
> 
> I have a similar setup and it works perfectly. It would be terrible if a simple callback would not work.
> 
> There must be another reason, some configuration mismatch some where. I guess you can access the running Seaside image directly with success, right ?
> 
> > Laurent
> >  
> > Le mercredi 26 mars 2014, 13:50:14 Johan Brichau a écrit :
> > > Nginx is telling you that the backend died.
> > > 
> > > Since you are not reporting any Seaside exception handler popping up, it may be the Zinc adaptor.
> > > Can you check that you have the latest Zinc adaptor?
> > > 
> > > Also: which version of Seaside are you using?
> > > 
> > > Johan
> > > 
> > > On 26 Mar 2014, at 13:03, Laurent Laffont <laurent.laffont at gmail.com> wrote:
> > > 
> > > > Hi,
> > > >  
> > > > I have a simple seaside page, pharo 20, ZnZincServerAdaptor, Nginx on front, configuration:
> > > >  
> > > > server {
> > > >     listen   80;
> > > >     server_name myserver.mydomain.fr;
> > > >  
> > > >     location / {
> > > >         proxy_pass  http://localhost:8085;                                                                                           
> > > >     }
> > > > }
> > > >  
> > > >  
> > > > It works except on this code in a 
> > > >  
> > > > WAComponent subclass: #MyForm
> > > >   renderContentOn:html
> > > >     .....
> > > >     .....
> > > >        html submitButton 
> > > > 			callback: [self answer: site];
> > > > 			value: 'Save'.	
> > > >  
> > > >  
> > > > when I click the save button, Nginx raises 502 Bad Gateway error. In error log:
> > > >  
> > > >  
> > > > "557 upstream prematurely closed connection while reading response header from upstream"
> > > >  
> > > > Any idea ?
> > > >  
> > > > Regards,
> > > >  
> > > > Laurent
> > > > _______________________________________________
> > > > seaside mailing list
> > > > seaside at lists.squeakfoundation.org
> > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> > > 
> >  
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20140327/c64659c7/attachment-0001.htm


More information about the seaside mailing list