[Grok-dev] first installation of grok onDebian "grokprojectSample" Error "SyntaxError: invalidsyntax" solution

DIVINE PAUL Paul.Divine at alcatel-lucent.com
Wed Jun 23 07:47:34 EDT 2010

Hi Uli,
Thanks for the reply.

My configuration is the following one.
I am in an internal network. The Debian machine with grok can be accessed only with text connection (I use putty). The machine has no apache software.
Now there is only grok on it.

pl6320:~/npo/virtualgrok/Sample/parts/etc# sudo netstat -tpan | grep 8080
tcp        0      0*   LISTEN 12295/python

The browser is on a different machine, a PC window with both IE and Firefox.

In the deploy.ini file I replaced IP number ( by the official IP.
I used the address

At the first attempt with Firefox I had the error ssl_error_rx_record_too_long.

But with IE, I had to type the name and password of grok.
So it can be accessed from the windows PC with IE.
Then I can use both IE and Firefox to access grok server.
May be, there is a Firefox option to set, so that the behaviour will be the same as IE.
In Firefox, in the ciphering tab, SSL3.0 and TLS1.0 are set. 

Best regards.

-----Message d'origine-----
De : grok-dev-bounces at zope.org [mailto:grok-dev-bounces at zope.org] De la part de Uli Fouquet
Envoyé : mercredi 23 juin 2010 10:29
Cc : grok-dev at zope.org
Objet : Re: [Grok-dev] first installation of grok onDebian "grokprojectSample" Error "SyntaxError: invalidsyntax" solution

Hi Paul,


> I modified the 
> npo/virtualgrok/Sample/parts/etc/deploy.ini file
> line #host =

So you replaced the localhost IP number ( by the IP your
server is reachable by from the outside world? Or did you just comment
out the above mentioned line (adding the '#' char)?

The correct way would be to put the official IP of your server in

If you don't, I think the default behaviour of paster is to serve on, which should only be reachable from the server itself. In
that case you might try to replace with your server's real IP
in deploy.ini.

> and the grok site is accessible with IE browser.
> But with Firefox browser the following error is displayed.
> ssl_error_rx_record_too_long

This sounds like an SSL problem which should only occur when you request
some HTTPS URL. Did you use HTTP (not: HTTPS) when trying to reach Grok?
Or do you use some 'HTTPS-whenever-possible' plugin with Firefox?

If you didn't use HTTPS and because Grok and Zope won't initiate an SSL
connection by themselves, chances are that something, maybe Apache, is
already running on your server's 8080 port (and enables SSL). You can
check by doing something like::

  $ sudo netstat -tpan | grep 8080

on the server.

This should give you some hints, whether something (and what) is running
on port 8080, but it wouldn't explain, why you couldn't connect at your
first try. Or did you change the Apache config meanwhile?

Best regards,


More information about the Grok-dev mailing list