[Geoserver-users] Is there an issue with WMS cascading and https ?

Hi List,

A cascaded WMS service stopped working when the remote WMS source switched from http to https. Is there a trouble with cascading https WMS sources ?
The source is MODIS fires : https://firms.modaps.eosdis.nasa.gov/wms/?SERVICE=WMS&VERSION=1.1.1&REQUEST=GETCAPABILITIES
When trying to setup a new datastore using this URL, I get the following error : “Le test de connexion a echoué : Remote host closed connection during handshake”.
I’ve search for answers, but found none. Any idea, someone ?
Thanks,

Jean

tagCloud.png

···

Jean Pommier – pi-Geosolutions

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr

Forgot to give the context. I’ve tried with latest geoserver release (2.7.1) running under tomcat7, Java 7 Oracle, on a Debian 7 machine (makes lots of 7…).

tagCloud.png

···

Jean Pommier – pi-Geosolutions

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr

Le 03/06/2015 16:14, Jean Pommier a écrit :

Hi List,

A cascaded WMS service stopped working when the remote WMS source switched from http to https. Is there a trouble with cascading https WMS sources ?
The source is MODIS fires : https://firms.modaps.eosdis.nasa.gov/wms/?SERVICE=WMS&VERSION=1.1.1&REQUEST=GETCAPABILITIES
When trying to setup a new datastore using this URL, I get the following error : “Le test de connexion a echoué : Remote host closed connection during handshake”.
I’ve search for answers, but found none. Any idea, someone ?
Thanks,

Jean

Jean Pommier – pi-Geosolutions

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr

Hi Jean,
wondering, are you going through a proxy to access that server?
Also, did you try switching the wms cascading store from the connection pooling one,
to the non pooling configuration?

Finally, which version of GeoServer are you using?

Cheers
Andrea

tagCloud.png

···

On Wed, Jun 3, 2015 at 4:14 PM, Jean Pommier <jean.pommier@anonymised.com> wrote:

Hi List,

A cascaded WMS service stopped working when the remote WMS source switched from http to https. Is there a trouble with cascading https WMS sources ?
The source is MODIS fires : https://firms.modaps.eosdis.nasa.gov/wms/?SERVICE=WMS&VERSION=1.1.1&REQUEST=GETCAPABILITIES
When trying to setup a new datastore using this URL, I get the following error : “Le test de connexion a echoué : Remote host closed connection during handshake”.
I’ve search for answers, but found none. Any idea, someone ?
Thanks,

Jean

Jean Pommier – pi-Geosolutions

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@…6653…
Web : www.pi-geosolutions.fr



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

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V 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 Andrea,

Thanks for answering.
No, I’m not using any proxy. As a matter of fact, as it didn’t work on my server (using old geoserver 2.5.2), I checked locally on my computer, with latest stable geoserver release (2.7.1). Doesn’t work either.
So no proxy. Geoserver 2.7.1. And I tried both : connection pooling or not; doesn’t change anything, same error message.
Cheers,

Jean

tagCloud.png

···

Jean Pommier – pi-Geosolutions

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr

Le 03/06/2015 17:43, Andrea Aime a écrit :

Hi Jean,
wondering, are you going through a proxy to access that server?
Also, did you try switching the wms cascading store from the connection pooling one,
to the non pooling configuration?

Finally, which version of GeoServer are you using?

Cheers
Andrea

On Wed, Jun 3, 2015 at 4:14 PM, Jean Pommier <jean.pommier@anonymised.com> wrote:

Hi List,

A cascaded WMS service stopped working when the remote WMS source switched from http to https. Is there a trouble with cascading https WMS sources ?
The source is MODIS fires : https://firms.modaps.eosdis.nasa.gov/wms/?SERVICE=WMS&VERSION=1.1.1&REQUEST=GETCAPABILITIES
When trying to setup a new datastore using this URL, I get the following error : “Le test de connexion a echoué : Remote host closed connection during handshake”.
I’ve search for answers, but found none. Any idea, someone ?
Thanks,

Jean

Jean Pommier – pi-Geosolutions

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr



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

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V 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,

I made a test with Geoserver 2.8 milestone version on Windows, with Jetty and cascading by using https and basic authentication works fine with our servers. I could also publish without troubles the Fires24 layer from

https://firms.modaps.eosdis.nasa.gov/wms/?SERVICE=WMS&VERSION=1.1.1&REQUEST=GETCAPABILITIES

because the site does not seem to require username/password.

I think that the “Remote host closed connection during handshake” may come from some general network things and not from Geoserver. Java version may have some influence. I have a 1.8.0_40 (32-bit).

-Jukka Rahkonen-

tagCloud.png

tagCloud.png

···

Jean Pommier wrote:

Hi Andrea,

Thanks for answering.
No, I’m not using any proxy. As a matter of fact, as it didn’t work on my server (using old geoserver 2.5.2), I checked locally on my computer, with latest stable geoserver release (2.7.1). Doesn’t work either.
So no proxy. Geoserver 2.7.1. And I tried both : connection pooling or not; doesn’t change anything, same error message.
Cheers,

Jean

Jean Pommier – pi-Geosolutions

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr

Le 03/06/2015 17:43, Andrea Aime a écrit :

Hi Jean,
wondering, are you going through a proxy to access that server?
Also, did you try switching the wms cascading store from the connection pooling one,
to the non pooling configuration?

Finally, which version of GeoServer are you using?

Cheers
Andrea

On Wed, Jun 3, 2015 at 4:14 PM, Jean Pommier <jean.pommier@anonymised.com> wrote:

Hi List,

A cascaded WMS service stopped working when the remote WMS source switched from http to https. Is there a trouble with cascading https WMS sources ?
The source is MODIS fires : https://firms.modaps.eosdis.nasa.gov/wms/?SERVICE=WMS&VERSION=1.1.1&REQUEST=GETCAPABILITIES
When trying to setup a new datastore using this URL, I get the following error : “Le test de connexion a echoué : Remote host closed connection during handshake”.
I’ve search for answers, but found none. Any idea, someone ?
Thanks,

Jean

Jean Pommier – pi-Geosolutions

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr



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

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V 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,

By reading first few hits about “Remote host closed connection during handshake” from the web that handshaking happens between server and client and network in between is probably not so important. But in some cases update to jre 1.7 was needed, in some case Tomcat was handling connections badly and sometimes the remote server was just busy and closed the connection. Enabling SSL logging like in this thread https://github.com/mwkirk/javapns/issues/32 feels like a good idea.

If you find what is going wrong please report. There may be also something to fix in Geoserver or at least in the documentation.

-Jukka Rahkonen-

tagCloud.png

tagCloud.png

tagCloud.png

···

Lähettäjä: Jean Pommier jean.pommier@anonymised.com
Lähetetty: 3. kesäkuuta 2015 21:45
Vastaanottaja: Rahkonen Jukka (MML)
Aihe: Re: [Geoserver-users] Is there an issue with WMS cascading and https ?

Hi,

Thanks, that’s an interesting information.
Since I got the same error from geoserver on my server and from a geoserver instance on my desktop computer, I supposed it wasn’t the network config, but maybe it is. I’ll first try with a config similar to yours, to see if I’m luckier.
Thanks !

Jean

Le 03/06/2015 19:03, Rahkonen Jukka (MML) a écrit :

Hi,

I made a test with Geoserver 2.8 milestone version on Windows, with Jetty and cascading by using https and basic authentication works fine with our servers. I could also publish without troubles the Fires24 layer from

https://firms.modaps.eosdis.nasa.gov/wms/?SERVICE=WMS&VERSION=1.1.1&REQUEST=GETCAPABILITIES

because the site does not seem to require username/password.

I think that the “Remote host closed connection during handshake” may come from some general network things and not from Geoserver. Java version may have some influence. I have a 1.8.0_40 (32-bit).

-Jukka Rahkonen-

Jean Pommier – pi-Geosolutions

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr


Jean Pommier wrote:

Hi Andrea,

Thanks for answering.

No, I’m not using any proxy. As a matter of fact, as it didn’t work on my server (using old geoserver 2.5.2), I checked locally on my computer, with latest stable geoserver release (2.7.1). Doesn’t work either.

So no proxy. Geoserver 2.7.1. And I tried both : connection pooling or not; doesn’t change anything, same error message.

Cheers,

Jean

Jean Pommier – pi-Geosolutions

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36

E-mail :
jp@anonymised.com

Web : www.pi-geosolutions.fr

Le 03/06/2015 17:43, Andrea Aime a écrit :

Hi Jean,

wondering, are you going through a proxy to access that server?

Also, did you try switching the wms cascading store from the connection pooling one,

to the non pooling configuration?

Finally, which version of GeoServer are you using?

Cheers

Andrea

On Wed, Jun 3, 2015 at 4:14 PM, Jean Pommier
<jean.pommier@anonymised.com> wrote:

Hi List,

A cascaded WMS service stopped working when the remote WMS source switched from http to https. Is there a trouble with cascading https WMS sources ?

The source is MODIS fires :
https://firms.modaps.eosdis.nasa.gov/wms/?SERVICE=WMS&VERSION=1.1.1&REQUEST=GETCAPABILITIES

When trying to setup a new datastore using this URL, I get the following error :
“Le test de connexion a echoué : Remote host closed connection during handshake”.

I’ve search for answers, but found none. Any idea, someone ?

Thanks,

Jean

Jean Pommier – pi-Geosolutions

Ingénieur, consultant indépendant

Tél. :
(+33) 6 09 23 21 36

E-mail : jp@anonymised.com

Web : www.pi-geosolutions.fr



Geoserver-users mailing list

Geoserver-users@anonymised.comsts.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/geoserver-users

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/it488V 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 Jukka,

Thanks a lot for these researches. I did not found anything really relevant, so I will looks at your suggestions with great interest. I’ll let you know if I find what’s happening.
Thanks again

Jean

tagCloud.png

···

Jean Pommier – pi-Geosolutions

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr

Le 03/06/2015 22:30, Rahkonen Jukka (MML) a écrit :

Hi,

By reading first few hits about “Remote host closed connection during handshake” from the web that handshaking happens between server and client and network in between is probably not so important. But in some cases update to jre 1.7 was needed, in some case Tomcat was handling connections badly and sometimes the remote server was just busy and closed the connection. Enabling SSL logging like in this thread https://github.com/mwkirk/javapns/issues/32 feels like a good idea.

If you find what is going wrong please report. There may be also something to fix in Geoserver or at least in the documentation.

-Jukka Rahkonen-


Lähettäjä: Jean Pommier jean.pommier@anonymised.com
Lähetetty: 3. kesäkuuta 2015 21:45
Vastaanottaja: Rahkonen Jukka (MML)
Aihe: Re: [Geoserver-users] Is there an issue with WMS cascading and https ?

Hi,

Thanks, that’s an interesting information.
Since I got the same error from geoserver on my server and from a geoserver instance on my desktop computer, I supposed it wasn’t the network config, but maybe it is. I’ll first try with a config similar to yours, to see if I’m luckier.
Thanks !

Jean

Le 03/06/2015 19:03, Rahkonen Jukka (MML) a écrit :

Hi,

I made a test with Geoserver 2.8 milestone version on Windows, with Jetty and cascading by using https and basic authentication works fine with our servers. I could also publish without troubles the Fires24 layer from

https://firms.modaps.eosdis.nasa.gov/wms/?SERVICE=WMS&VERSION=1.1.1&REQUEST=GETCAPABILITIES

because the site does not seem to require username/password.

I think that the “Remote host closed connection during handshake” may come from some general network things and not from Geoserver. Java version may have some influence. I have a 1.8.0_40 (32-bit).

-Jukka Rahkonen-


Jean Pommier wrote:

Hi Andrea,

Thanks for answering.

No, I’m not using any proxy. As a matter of fact, as it didn’t work on my server (using old geoserver 2.5.2), I checked locally on my computer, with latest stable geoserver release (2.7.1). Doesn’t work either.

So no proxy. Geoserver 2.7.1. And I tried both : connection pooling or not; doesn’t change anything, same error message.

Cheers,

Jean

Jean Pommier – pi-Geosolutions

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36

E-mail :
jp@anonymised.com

Web : www.pi-geosolutions.fr

Le 03/06/2015 17:43, Andrea Aime a écrit :

Hi Jean,

wondering, are you going through a proxy to access that server?

Also, did you try switching the wms cascading store from the connection pooling one,

to the non pooling configuration?

Finally, which version of GeoServer are you using?

Cheers

Andrea

On Wed, Jun 3, 2015 at 4:14 PM, Jean Pommier
<jean.pommier@anonymised.com> wrote:

Hi List,

A cascaded WMS service stopped working when the remote WMS source switched from http to https. Is there a trouble with cascading https WMS sources ?

The source is MODIS fires :
https://firms.modaps.eosdis.nasa.gov/wms/?SERVICE=WMS&VERSION=1.1.1&REQUEST=GETCAPABILITIES

When trying to setup a new datastore using this URL, I get the following error :
“Le test de connexion a echoué : Remote host closed connection during handshake”.

I’ve search for answers, but found none. Any idea, someone ?

Thanks,

Jean

Jean Pommier – pi-Geosolutions

Ingénieur, consultant indépendant

Tél. :
(+33) 6 09 23 21 36

E-mail : jp@anonymised.com

Web : www.pi-geosolutions.fr



Geoserver-users mailing list

Geoserver-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/geoserver-users

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/it488V 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.


Jean Pommier – pi-Geosolutions

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr

The cipher suites that server supports confuse me a little, but you should probably try installing

http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html

I think Java 8 may also work, with or without JCE.

-Arne

On 03/06/15 22:37 , Jean Pommier wrote:

Hi Jukka,

Thanks a lot for these researches. I did not found anything really relevant, so I will looks at your suggestions with great interest. I'll let you know if I find what's happening.
Thanks again

Jean

*Jean Pommier -- pi-Geosolutions*

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr

Le 03/06/2015 22:30, Rahkonen Jukka (MML) a écrit :

Hi,

By reading first few hits about "Remote host closed connection during handshake" from the web that handshaking happens between server and client and network in between is probably not so important. But in some cases update to jre 1.7 was needed, in some case Tomcat was handling connections badly and sometimes the remote server was just busy and closed the connection. Enabling SSL logging like in this thread https://github.com/mwkirk/javapns/issues/32 feels like a good idea.

If you find what is going wrong please report. There may be also something to fix in Geoserver or at least in the documentation.

-Jukka Rahkonen-

------------------------------------------------------------------------
*Lähettäjä:* Jean Pommier <jean.pommier@anonymised.com>
*Lähetetty:* 3. kesäkuuta 2015 21:45
*Vastaanottaja:* Rahkonen Jukka (MML)
*Aihe:* Re: [Geoserver-users] Is there an issue with WMS cascading and https ?
Hi,

Thanks, that's an interesting information.
Since I got the same error from geoserver on my server /and/ from a geoserver instance on my desktop computer, I supposed it wasn't the network config, but maybe it is. I'll first try with a config similar to yours, to see if I'm luckier.
Thanks !

Jean

Le 03/06/2015 19:03, Rahkonen Jukka (MML) a écrit :

Hi,

I made a test with Geoserver 2.8 milestone version on Windows, with Jetty and cascading by using https and basic authentication works fine with our servers. I could also publish without troubles the Fires24 layer from

https://firms.modaps.eosdis.nasa.gov/wms/?SERVICE=WMS&VERSION=1.1.1&REQUEST=GETCAPABILITIES

because the site does not seem to require username/password.

I think that the "Remote host closed connection during handshake" may come from some general network things and not from Geoserver. Java version may have some influence. I have a 1.8.0_40 (32-bit).

-Jukka Rahkonen-

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

Jean Pommier wrote:

Hi Andrea,

Thanks for answering.

No, I'm not using any proxy. As a matter of fact, as it didn't work on my server (using old geoserver 2.5.2), I checked locally on my computer, with latest stable geoserver release (2.7.1). Doesn't work either.

So no proxy. Geoserver 2.7.1. And I tried both : connection pooling or not; doesn't change anything, same error message.

Cheers,

Jean

*Jean Pommier -- pi-Geosolutions*

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36

E-mail :
jp@anonymised.com

Web : www.pi-geosolutions.fr

Le 03/06/2015 17:43, Andrea Aime a écrit :

Hi Jean,
wondering, are you going through a proxy to access that server?

Also, did you try switching the wms cascading store from the connection pooling one,

to the non pooling configuration?

Finally, which version of GeoServer are you using?

Cheers

Andrea

On Wed, Jun 3, 2015 at 4:14 PM, Jean Pommier
<jean.pommier@anonymised.com <mailto:jean.pommier@anonymised.com>> wrote:

    Hi List,

    A cascaded WMS service stopped working when the remote WMS
    source switched from http to https. Is there a trouble with
    cascading https WMS sources ?

    The source is MODIS fires :
    https://firms.modaps.eosdis.nasa.gov/wms/?SERVICE=WMS&VERSION=1.1.1&REQUEST=GETCAPABILITIES

    When trying to setup a new datastore using this URL, I get the
    following error :
    "Le test de connexion a echoué : Remote host closed connection
    during handshake".

    I've search for answers, but found none. Any idea, someone ?

    Thanks,

    Jean

    --

    *Jean Pommier -- pi-Geosolutions*

    Ingénieur, consultant indépendant

    Tél. :
    (+33) 6 09 23 21 36 <tel:%28%2B33%29%206%2009%2023%2021%2036>

    E-mail : jp@anonymised.com <mailto:jp@anonymised.com>

    Web : www.pi-geosolutions.fr <http://www.pi-geosolutions.fr>

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

    _______________________________________________

    Geoserver-users mailing list

    Geoserver-users@lists.sourceforge.net
    <mailto:Geoserver-users@lists.sourceforge.net>

    https://lists.sourceforge.net/lists/listinfo/geoserver-users

--

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/it488V 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.

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

--

*Jean Pommier -- pi-Geosolutions*

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr

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

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