[Geoserver-devel] Geoserver 2.6.1 slow/unusable compared to Geoserver 2.6.0-snapshot of 23th oct

Hi,

Using Geoserver 2.6.x on Windows Server here (I'm on Tomcat 7.0.56 here,
JDK 1.7.0_67).

Couple of weeks ago had some performance troubles with Oracle spatial
after upgrade to 2.6.0.
This was fixed, so I installed a snapshot of 23th oct, which is working
fine.

Now trying to install 2.6.1, I have troubles getting this one working.
The management-pages are either slow or not working at all?

My first bet was that it has something to do with a overfull
data-directory (lot of testing layers/styles etc), so I tested it with
without setting a GEOSERVER_DATA_DIR-env variable, so Geoserver uses
only the deployed demo layers.
But even then the management interface is very slow?

Stopping Tomcat, and redeploying the 23th oct snapshot all is fine?

So my question:
- what has changed between the 23th oct snapshot and 2.6.1 ?
Or can it be something else I'm having problems with?

Others having this problems?

Regards,

Richard Duivenvoorde

On Thu, Nov 20, 2014 at 11:55 AM, Richard Duivenvoorde <rdmailings@anonymised.com..>
wrote:

Hi,

Using Geoserver 2.6.x on Windows Server here (I'm on Tomcat 7.0.56 here,
JDK 1.7.0_67).

Couple of weeks ago had some performance troubles with Oracle spatial
after upgrade to 2.6.0.
This was fixed, so I installed a snapshot of 23th oct, which is working
fine.

Now trying to install 2.6.1, I have troubles getting this one working.
The management-pages are either slow or not working at all?

My first bet was that it has something to do with a overfull
data-directory (lot of testing layers/styles etc), so I tested it with
without setting a GEOSERVER_DATA_DIR-env variable, so Geoserver uses
only the deployed demo layers.
But even then the management interface is very slow?

This seems strange. I tested 2.6.1 on a windows 7 machine the day of the
release and the GUI was fast (using the demo layers)

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------

On Thu, Nov 20, 2014 at 12:41 PM, Andrea Aime <andrea.aime@anonymised.com>
wrote:

But even then the management interface is very slow?

This seems strange. I tested 2.6.1 on a windows 7 machine the day of the
release and the GUI was fast (using the demo layers)

Hum... maybe it is unrelated, but other people have reported issues due to
a Firefox
upgrade (version 33) not working properly over NVidia video cards, and
generating
especially bad looking results with the GeoServer user interface: might it
be your case too?

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------

On 20-11-14 13:56, Andrea Aime wrote:

On Thu, Nov 20, 2014 at 12:41 PM, Andrea Aime

Hum... maybe it is unrelated, but other people have reported issues due
to a Firefox
upgrade (version 33) not working properly over NVidia video cards, and
generating
especially bad looking results with the GeoServer user interface: might
it be your case too?

Found that one too, and tried to do the about:config trick. I'm on a
remote desktop to the server here, so not so much graphic drivers to
update...

So I thought to install Chrome there.
Mmm, strange stuff going on here... Chrome is doing fine ???

Going back to snapshot 13oct: All browsers working fine.
Going to 2.6.1 again: only Chrome working.

Some other observation when looking into network timing of Firefox:
all files seem to get retrieved in milliseconds, EXCEPT:
screen.css
print.css
geoserver.css
those 3 take 21000ms ??

(but again: switching between the two versions solves/brings back the
problem).

To make it even more complex: there is a new firewalling regime here..
not sure if this can affect this. Seems unlikely though when those three
files in different versions have different loading times??

Regards,

Richard

On Thu, Nov 20, 2014 at 3:31 PM, Richard Duivenvoorde <richard@anonymised.com>
wrote:

Going back to snapshot 13oct: All browsers working fine.
Going to 2.6.1 again: only Chrome working.

One thing changed that should have affected only IE 11:
https://github.com/geoserver/geoserver/commit/b4ca7d334fdab03610b7b7511ca73eeb5546bda8

Back then I did try with Firefox, but under Linux, and it was not version
33 but I guess version 32.
Wondering if this might have affected Firefox 33 on Windows?

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------

Hi,

just as confirmation i'm experiencing the same:
GeoServer 2.6.1 (running in tomcat 5.5 on debian-linux)

Userinterface is slow in Firefox 33.1.1 and at the same time fast in
Chrome (win7).

Johannes

Am 20.11.2014 um 15:53 schrieb Richard Duivenvoorde:

On 20-11-14 13:56, Andrea Aime wrote:

On Thu, Nov 20, 2014 at 12:41 PM, Andrea Aime

Hum... maybe it is unrelated, but other people have reported issues due
to a Firefox
upgrade (version 33) not working properly over NVidia video cards, and
generating
especially bad looking results with the GeoServer user interface: might
it be your case too?

Found that one too, and tried to do the about:config trick. I'm on a
remote desktop to the server here, so not so much graphic drivers to
update...

So I thought to install Chrome there.
Mmm, strange stuff going on here... Chrome is doing fine ???

Going back to snapshot 13oct: All browsers working fine.
Going to 2.6.1 again: only Chrome working.

Some other observation when looking into network timing of Firefox:
all files seem to get retrieved in milliseconds, EXCEPT:
screen.css
print.css
geoserver.css
those 3 take 21000ms ??

(but again: switching between the two versions solves/brings back the
problem).

To make it even more complex: there is a new firewalling regime here..
not sure if this can affect this. Seems unlikely though when those three
files in different versions have different loading times??

Regards,

Richard

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk

On 20-11-14 16:08, Andrea Aime wrote:

On Thu, Nov 20, 2014 at 3:31 PM, Richard Duivenvoorde <richard@anonymised.com
<mailto:richard@anonymised.com>> wrote:

    Going back to snapshot 13oct: All browsers working fine.
    Going to 2.6.1 again: only Chrome working.

One thing changed that should have affected only IE 11:
https://github.com/geoserver/geoserver/commit/b4ca7d334fdab03610b7b7511ca73eeb5546bda8

Back then I did try with Firefox, but under Linux, and it was not
version 33 but I guess version 32.
Wondering if this might have affected Firefox 33 on Windows?

Some other test: trying to retrieve this url from Tomcat directly:

http://localhost:8080/geoserver/web/resources/org.geoserver.web.GeoServerBasePage/css/geoserver.css

in FF actually shows the css untill the end immidiatly, BUT apparently
'thinks' (the little hour-glass keeps turning for those 20 sec) that the
file is not retrieved yet...

Regards,

R

On 20-11-14 16:48, Richard Duivenvoorde wrote:

http://localhost:8080/geoserver/web/resources/org.geoserver.web.GeoServerBasePage/css/geoserver.css

in FF actually shows the css untill the end immidiatly, BUT apparently
'thinks' (the little hour-glass keeps turning for those 20 sec) that the
file is not retrieved yet...

Could be related to:

https://groups.google.com/forum/#!topic/google-caja-discuss/Kquocvn3JBU

see

https://bugzilla.mozilla.org/show_bug.cgi?id=1081175

not sure why the the snapshot version is ok though, and the 2.6.1
version is slow in FF (and IE by the way). Apparently a css change
somewhere? Or another build?

:frowning:

R

On Thu, Nov 20, 2014 at 5:03 PM, Richard Duivenvoorde <rdmailings@anonymised.com.>
wrote:

On 20-11-14 16:48, Richard Duivenvoorde wrote:
>
http://localhost:8080/geoserver/web/resources/org.geoserver.web.GeoServerBasePage/css/geoserver.css
>
> in FF actually shows the css untill the end immidiatly, BUT apparently
> 'thinks' (the little hour-glass keeps turning for those 20 sec) that the
> file is not retrieved yet...

Could be related to:

https://groups.google.com/forum/#!topic/google-caja-discuss/Kquocvn3JBU

see

https://bugzilla.mozilla.org/show_bug.cgi?id=1081175

not sure why the the snapshot version is ok though, and the 2.6.1
version is slow in FF (and IE by the way). Apparently a css change
somewhere? Or another build?

The CSS file has not changed in a long while, since February 2014:
https://github.com/geoserver/geoserver/blob/master/src/web/core/src/main/java/org/geoserver/web/css/geoserver.css
and its history:
https://github.com/geoserver/geoserver/commits/master/src/web/core/src/main/java/org/geoserver/web/css/geoserver.css

By the way, with FF33 on Linux I now see the problem, but maybe in a
different way than you?
The page just comes back in an instant, no delay, no spinning indicating
further loading,
but the html is not styled _at all_:

!image.png|1075x564

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------

I actually saw this a few weeks ago but thought it was a build error related to me using the wrong maven repo.

I found the problem: https://bugzilla.mozilla.org/show_bug.cgi?id=1083090

tl;dr: we’re sending bogus content-length headers back with gzip compressed resources

To verify, go to about:config and search for gzip. Remove the network.http.accept-encoding values (gzip and deflate) and reload the page - it should work.

(attachments)

image.png

···

On Thu, Nov 20, 2014 at 9:28 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

On Thu, Nov 20, 2014 at 5:03 PM, Richard Duivenvoorde <rdmailings@anonymised.com> wrote:

On 20-11-14 16:48, Richard Duivenvoorde wrote:

http://localhost:8080/geoserver/web/resources/org.geoserver.web.GeoServerBasePage/css/geoserver.css

in FF actually shows the css untill the end immidiatly, BUT apparently
‘thinks’ (the little hour-glass keeps turning for those 20 sec) that the
file is not retrieved yet…

Could be related to:

https://groups.google.com/forum/#!topic/google-caja-discuss/Kquocvn3JBU

see

https://bugzilla.mozilla.org/show_bug.cgi?id=1081175

not sure why the the snapshot version is ok though, and the 2.6.1
version is slow in FF (and IE by the way). Apparently a css change
somewhere? Or another build?

The CSS file has not changed in a long while, since February 2014:
https://github.com/geoserver/geoserver/blob/master/src/web/core/src/main/java/org/geoserver/web/css/geoserver.css
and its history:
https://github.com/geoserver/geoserver/commits/master/src/web/core/src/main/java/org/geoserver/web/css/geoserver.css

By the way, with FF33 on Linux I now see the problem, but maybe in a different way than you?
The page just comes back in an instant, no delay, no spinning indicating further loading,
but the html is not styled at all:

Inline image 1

Cheers

Andrea

==

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Ian Schneider
Software Engineer | Boundless
ischneider@anonymised.com
1-877-673-6436

@boundlessgeo

On Thu, Nov 20, 2014 at 6:47 PM, Ian Schneider <ischneider@anonymised.com>
wrote:

I actually saw this a few weeks ago but thought it was a build error
related to me using the wrong maven repo.

I found the problem: https://bugzilla.mozilla.org/show_bug.cgi?id=1083090

tl;dr: we're sending bogus content-length headers back with gzip
compressed resources

To verify, go to about:config and search for gzip. Remove
the network.http.accept-encoding values (gzip and deflate) and reload the
page - it should work.

Hum... I'm confused, I changed the gzipfilter recently to avoid making it
go OOM on large GML
outputs, but I don't see it setting the content-lenght anymore. It used to,
but I've removed that part,
and the GZIPResponseWrapper actually kills every attempt at setting the
content
lenght from the other geoserver code?

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------

On Thu, Nov 20, 2014 at 7:15 PM, Andrea Aime <andrea.aime@anonymised.com>
wrote:

On Thu, Nov 20, 2014 at 6:47 PM, Ian Schneider <
ischneider@anonymised.com> wrote:

I actually saw this a few weeks ago but thought it was a build error
related to me using the wrong maven repo.

I found the problem: https://bugzilla.mozilla.org/show_bug.cgi?id=1083090

tl;dr: we're sending bogus content-length headers back with gzip
compressed resources

To verify, go to about:config and search for gzip. Remove
the network.http.accept-encoding values (gzip and deflate) and reload the
page - it should work.

Hum... I'm confused, I changed the gzipfilter recently to avoid making it
go OOM on large GML
outputs, but I don't see it setting the content-lenght anymore. It used
to, but I've removed that part,
and the GZIPResponseWrapper actually kills every attempt at setting the
content
lenght from the other geoserver code?

Also, asking for
http://localhost:8080/geoserver/web/resources/org.geoserver.web.GeoServerBasePage/css/geoserver.css
I get the full file in Firefox

However, if I make the req request via curl:

curl -sH 'Accept-encoding: gzip' -D - -o /tmp/test.out "
http://localhost:8080/geoserver/web/resources/org.geoserver.web.GeoServerBasePage/css/geoserver.css
"
HTTP/1.1 200 OK
Expires: Thu, 20 Nov 2014 19:18:10 GMT
Set-Cookie: JSESSIONID=1xgphycxw49gs;Path=/geoserver
Last-Modified: Mon, 17 Nov 2014 09:39:28 GMT
Cache-Control: max-age=3600
Content-Type: text/css; charset=UTF-8
*Content-Length: 19882*
Content-Encoding: gzip
Server: Jetty(6.1.8)

Ha! Hum... something must be going on, because the wrapper is trying to
prevent the code setting the content-lenght by overriding
that method...

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------

Hi everybody,

We are working to solve it in GeoServer, in the meantime, please try to upgrade Firefox to the latest Firefox version.

Mauro

···

2014-11-20 19:20 GMT+01:00 Andrea Aime <andrea.aime@anonymised.com>:


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

On Thu, Nov 20, 2014 at 7:15 PM, Andrea Aime <andrea.aime@anonymised.com> wrote:

Also, asking for http://localhost:8080/geoserver/web/resources/org.geoserver.web.GeoServerBasePage/css/geoserver.css
I get the full file in Firefox

However, if I make the req request via curl:

curl -sH ‘Accept-encoding: gzip’ -D - -o /tmp/test.out “http://localhost:8080/geoserver/web/resources/org.geoserver.web.GeoServerBasePage/css/geoserver.css
HTTP/1.1 200 OK
Expires: Thu, 20 Nov 2014 19:18:10 GMT
Set-Cookie: JSESSIONID=1xgphycxw49gs;Path=/geoserver
Last-Modified: Mon, 17 Nov 2014 09:39:28 GMT
Cache-Control: max-age=3600
Content-Type: text/css; charset=UTF-8
Content-Length: 19882
Content-Encoding: gzip
Server: Jetty(6.1.8)

Ha! Hum… something must be going on, because the wrapper is trying to prevent the code setting the content-lenght by overriding
that method…

Cheers

Andrea

==

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


On Thu, Nov 20, 2014 at 6:47 PM, Ian Schneider <ischneider@anonymised.com> wrote:

I actually saw this a few weeks ago but thought it was a build error related to me using the wrong maven repo.

I found the problem: https://bugzilla.mozilla.org/show_bug.cgi?id=1083090

tl;dr: we’re sending bogus content-length headers back with gzip compressed resources

To verify, go to about:config and search for gzip. Remove the network.http.accept-encoding values (gzip and deflate) and reload the page - it should work.

Hum… I’m confused, I changed the gzipfilter recently to avoid making it go OOM on large GML
outputs, but I don’t see it setting the content-lenght anymore. It used to, but I’ve removed that part,
and the GZIPResponseWrapper actually kills every attempt at setting the content
lenght from the other geoserver code?

Hi,

i still have the issue with latest Firefox 33.1.1 (on win7).

Johannes

Am 21.11.2014 um 11:14 schrieb Mauro Bartolomeoli:

Hi everybody,
from my investigations latest versions of Firefox (33.1.1) do not have the
issue while 33.0 has it.

We are working to solve it in GeoServer, in the meantime, please try to
upgrade Firefox to the latest Firefox version.

Mauro

2014-11-20 19:20 GMT+01:00 Andrea Aime <andrea.aime@anonymised.com>:

On Thu, Nov 20, 2014 at 7:15 PM, Andrea Aime <andrea.aime@anonymised.com

wrote:

On Thu, Nov 20, 2014 at 6:47 PM, Ian Schneider <
ischneider@anonymised.com> wrote:

I actually saw this a few weeks ago but thought it was a build error
related to me using the wrong maven repo.

I found the problem:
https://bugzilla.mozilla.org/show_bug.cgi?id=1083090

tl;dr: we're sending bogus content-length headers back with gzip
compressed resources

To verify, go to about:config and search for gzip. Remove
the network.http.accept-encoding values (gzip and deflate) and reload the
page - it should work.

Hum... I'm confused, I changed the gzipfilter recently to avoid making it
go OOM on large GML
outputs, but I don't see it setting the content-lenght anymore. It used
to, but I've removed that part,
and the GZIPResponseWrapper actually kills every attempt at setting the
content
lenght from the other geoserver code?

Also, asking for
http://localhost:8080/geoserver/web/resources/org.geoserver.web.GeoServerBasePage/css/geoserver.css
I get the full file in Firefox

However, if I make the req request via curl:

curl -sH 'Accept-encoding: gzip' -D - -o /tmp/test.out "
http://localhost:8080/geoserver/web/resources/org.geoserver.web.GeoServerBasePage/css/geoserver.css
"
HTTP/1.1 200 OK
Expires: Thu, 20 Nov 2014 19:18:10 GMT
Set-Cookie: JSESSIONID=1xgphycxw49gs;Path=/geoserver
Last-Modified: Mon, 17 Nov 2014 09:39:28 GMT
Cache-Control: max-age=3600
Content-Type: text/css; charset=UTF-8
*Content-Length: 19882*
Content-Encoding: gzip
Server: Jetty(6.1.8)

Ha! Hum... something must be going on, because the wrapper is trying to
prevent the code setting the content-lenght by overriding
that method...

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE

http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

I’m noticing the same problem in Chromium on Ubuntu. On a hard reload, it takes 20s to load those CSS files which delays overall page load the same way as FF 33.1. Subsequent don’t try to load the CSS and work without delay.

···

On 21 November 2014 04:17, Johannes Engel <johannes.engel@anonymised.com> wrote:

Hi,

i still have the issue with latest Firefox 33.1.1 (on win7).

Johannes

Am 21.11.2014 um 11:14 schrieb Mauro Bartolomeoli:

Hi everybody,
from my investigations latest versions of Firefox (33.1.1) do not have the
issue while 33.0 has it.

We are working to solve it in GeoServer, in the meantime, please try to
upgrade Firefox to the latest Firefox version.

Mauro

2014-11-20 19:20 GMT+01:00 Andrea Aime <andrea.aime@anonymised.com>:

On Thu, Nov 20, 2014 at 7:15 PM, Andrea Aime <andrea.aime@anonymised.com

wrote:

On Thu, Nov 20, 2014 at 6:47 PM, Ian Schneider <
ischneider@anonymised.com> wrote:

I actually saw this a few weeks ago but thought it was a build error
related to me using the wrong maven repo.

I found the problem:
https://bugzilla.mozilla.org/show_bug.cgi?id=1083090

tl;dr: we’re sending bogus content-length headers back with gzip
compressed resources

To verify, go to about:config and search for gzip. Remove
the network.http.accept-encoding values (gzip and deflate) and reload the
page - it should work.

Hum… I’m confused, I changed the gzipfilter recently to avoid making it
go OOM on large GML
outputs, but I don’t see it setting the content-lenght anymore. It used
to, but I’ve removed that part,
and the GZIPResponseWrapper actually kills every attempt at setting the
content
lenght from the other geoserver code?

Also, asking for
http://localhost:8080/geoserver/web/resources/org.geoserver.web.GeoServerBasePage/css/geoserver.css
I get the full file in Firefox

However, if I make the req request via curl:

curl -sH ‘Accept-encoding: gzip’ -D - -o /tmp/test.out "
http://localhost:8080/geoserver/web/resources/org.geoserver.web.GeoServerBasePage/css/geoserver.css
"
HTTP/1.1 200 OK
Expires: Thu, 20 Nov 2014 19:18:10 GMT
Set-Cookie: JSESSIONID=1xgphycxw49gs;Path=/geoserver
Last-Modified: Mon, 17 Nov 2014 09:39:28 GMT
Cache-Control: max-age=3600
Content-Type: text/css; charset=UTF-8

Content-Length: 19882
Content-Encoding: gzip
Server: Jetty(6.1.8)

Ha! Hum… something must be going on, because the wrapper is trying to
prevent the code setting the content-lenght by overriding
that method…

Cheers
Andrea

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.



Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE

http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Kevin Smith

Junior Software Engineer | Boundless

ksmith@anonymised.com

+1-778-785-7459

@boundlessgeo

http://boundlessgeo.com/