Re: [OSM-talk-fr] Lenteur BDOrtho

2019-05-14 Par sujet Vincent Privat
Oui, c'est particulièrement visible sur le test d'intégration de JOSM:
https://josm.openstreetmap.de/jenkins/job/JOSM-Imagery-Integration/lastCompletedBuild/jdk=JDK8/testReport/org.openstreetmap.josm.gui.preferences.imagery/ImageryPreferenceTestIT/testImageryEntryValidity_fr_ign_bdortho_/history/


Le mar. 14 mai 2019 à 15:30, Dominique Rousseau  a écrit :

> Le Tue, May 14, 2019 at 02:08:35PM +0200, Stéphane Péneau [
> stephane.pen...@wanadoo.fr] a écrit:
> [...]
> > Je ne pense pas qu'il s'agisse d'une coïncidence. J'ai fait
> > plusieurs fois le test d'utiliser pendant quelques minutes la couche
> > en https, puis celle en http, et il n'y a pas photo... ;-)
>
> Y'a un truc sur les acces https en ipv4 :
>
> $ curl -4 -v --trace-time "https://proxy-ign.openstreetmap.fr/;
> 15:26:38.684249 * Hostname was NOT found in DNS cache
> 15:26:38.697338 *   Trying 77.95.65.41...
> 15:26:39.712568 * Connected to proxy-ign.openstreetmap.fr (77.95.65.41)
> port 443 (#0)
> 15:26:39.713190 * successfully set certificate verify locations:
> 15:26:39.713215 *   CAfile: none
>   CApath: /etc/ssl/certs
> 15:26:39.713334 * SSLv3, TLS handshake, Client hello (1):
> 15:26:42.076523 * SSLv3, TLS handshake, Server hello (2):
> 15:26:42.076607 * SSLv3, TLS handshake, CERT (11):
>
> => 3 secondes de latence dans la negociation ssl
>
>
> Alors qu'en ipv6 :
>
> $ curl -v --trace-time "https://proxy-ign.openstreetmap.fr/;
> 15:27:52.971813 * Hostname was NOT found in DNS cache
> 15:27:52.976103 *   Trying 2a03:9180:0:100::9...
> 15:27:52.993135 * Connected to proxy-ign.openstreetmap.fr
> (2a03:9180:0:100::9) port 443 (#0)
> 15:27:52.993698 * successfully set certificate verify locations:
> 15:27:52.993721 *   CAfile: none
>   CApath: /etc/ssl/certs
> 15:27:52.993840 * SSLv3, TLS handshake, Client hello (1):
> 15:27:53.204720 * SSLv3, TLS handshake, Server hello (2):
> 15:27:53.205826 * SSLv3, TLS handshake, CERT (11):
> 15:27:53.206800 * SSLv3, TLS handshake, Server key exchange
>
> Et en HTTP en ipv4 :
>
> $ curl -4 -v --trace-time "http://proxy-ign.openstreetmap.fr/;
> 15:28:14.001840 * Hostname was NOT found in DNS cache
> 15:28:14.006425 *   Trying 77.95.65.41...
> 15:28:14.029241 * Connected to proxy-ign.openstreetmap.fr (77.95.65.41)
> port 80 (#0)
> 15:28:14.029303 > GET / HTTP/1.1
> 15:28:14.029303 > User-Agent: curl/7.38.0
> 15:28:14.029303 > Host: proxy-ign.openstreetmap.fr
> 15:28:14.029303 > Accept: */*
> 15:28:14.029303 >
> 15:28:14.490772 < HTTP/1.1 302 Moved Temporarily
>
>
> --
> Dominique Rousseau
> d...@lee-loo.net - 06 82 43 12 27
>
> A l'instant où l'esclave décide qu'il ne sera plus esclave,
> ses chaînes tombent.  -- Mahatma Gandhi
>
> ___
> Talk-fr mailing list
> Talk-fr@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-fr
>
___
Talk-fr mailing list
Talk-fr@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-fr


Re: [OSM-talk-fr] Lenteur BDOrtho

2019-05-14 Par sujet Dominique Rousseau
Le Tue, May 14, 2019 at 02:08:35PM +0200, Stéphane Péneau 
[stephane.pen...@wanadoo.fr] a écrit:
[...]
> Je ne pense pas qu'il s'agisse d'une coïncidence. J'ai fait
> plusieurs fois le test d'utiliser pendant quelques minutes la couche
> en https, puis celle en http, et il n'y a pas photo... ;-)

Y'a un truc sur les acces https en ipv4 :

$ curl -4 -v --trace-time "https://proxy-ign.openstreetmap.fr/;
15:26:38.684249 * Hostname was NOT found in DNS cache
15:26:38.697338 *   Trying 77.95.65.41...
15:26:39.712568 * Connected to proxy-ign.openstreetmap.fr (77.95.65.41)
port 443 (#0)
15:26:39.713190 * successfully set certificate verify locations:
15:26:39.713215 *   CAfile: none
  CApath: /etc/ssl/certs
15:26:39.713334 * SSLv3, TLS handshake, Client hello (1):
15:26:42.076523 * SSLv3, TLS handshake, Server hello (2):
15:26:42.076607 * SSLv3, TLS handshake, CERT (11):

=> 3 secondes de latence dans la negociation ssl


Alors qu'en ipv6 :

$ curl -v --trace-time "https://proxy-ign.openstreetmap.fr/;
15:27:52.971813 * Hostname was NOT found in DNS cache
15:27:52.976103 *   Trying 2a03:9180:0:100::9...
15:27:52.993135 * Connected to proxy-ign.openstreetmap.fr
(2a03:9180:0:100::9) port 443 (#0)
15:27:52.993698 * successfully set certificate verify locations:
15:27:52.993721 *   CAfile: none
  CApath: /etc/ssl/certs
15:27:52.993840 * SSLv3, TLS handshake, Client hello (1):
15:27:53.204720 * SSLv3, TLS handshake, Server hello (2):
15:27:53.205826 * SSLv3, TLS handshake, CERT (11):
15:27:53.206800 * SSLv3, TLS handshake, Server key exchange

Et en HTTP en ipv4 :

$ curl -4 -v --trace-time "http://proxy-ign.openstreetmap.fr/;
15:28:14.001840 * Hostname was NOT found in DNS cache
15:28:14.006425 *   Trying 77.95.65.41...
15:28:14.029241 * Connected to proxy-ign.openstreetmap.fr (77.95.65.41)
port 80 (#0)
15:28:14.029303 > GET / HTTP/1.1
15:28:14.029303 > User-Agent: curl/7.38.0
15:28:14.029303 > Host: proxy-ign.openstreetmap.fr
15:28:14.029303 > Accept: */*
15:28:14.029303 > 
15:28:14.490772 < HTTP/1.1 302 Moved Temporarily


-- 
Dominique Rousseau
d...@lee-loo.net - 06 82 43 12 27

A l'instant où l'esclave décide qu'il ne sera plus esclave,
ses chaînes tombent.  -- Mahatma Gandhi

___
Talk-fr mailing list
Talk-fr@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-fr


Re: [OSM-talk-fr] Lenteur BDOrtho

2019-05-14 Par sujet Stéphane Péneau

Le 14/05/2019 à 13:45, marc marc a écrit :

Le 14.05.19 à 11:43, Stéphane Péneau a écrit :

https://proxy-ign.openstreetmap.fr/94GjiyqD/bdortho/{zoom}/{x}/{y}.jpg
http://proxy-ign.openstreetmap.fr/bdortho/{zoom}/{x}/{y}.jpg
Et là, ça va beaucoup mieux.

je ne vois aucune raison technique de cette différence car même serveur,
même proxy, même source, je pense que c'est pure coïncidence.



Je ne pense pas qu'il s'agisse d'une coïncidence. J'ai fait plusieurs 
fois le test d'utiliser pendant quelques minutes la couche en https, 
puis celle en http, et il n'y a pas photo... ;-)


Encore à l'instant, aucun problème en http, mais en https, des erreurs 
en permanence, qui semblent bloquer Josm pendant quelques dizaines de 
secondes :


2019-05-14 14:04:09.396 WARNING: java.net.SocketTimeoutException: 
connect timed out

java.net.SocketTimeoutException: connect timed out
    at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
    at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown 
Source)

    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown 
Source)
    at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
    at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown 
Source)
    at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
    at 
org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:153)
    at 
org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:99)
    at 
org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob.loadObject(JCSCachedTileLoaderJob.java:322)
    at 
org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob.run(JCSCachedTileLoaderJob.java:231)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown 
Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
Source)

    at java.lang.Thread.run(Unknown Source)


Ou alors, le problème serait du côté de Josm ?

Stf



___
Talk-fr mailing list
Talk-fr@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-fr


Re: [OSM-talk-fr] Lenteur BDOrtho

2019-05-14 Par sujet marc marc
Le 14.05.19 à 11:43, Stéphane Péneau a écrit :
> https://proxy-ign.openstreetmap.fr/94GjiyqD/bdortho/{zoom}/{x}/{y}.jpg
> http://proxy-ign.openstreetmap.fr/bdortho/{zoom}/{x}/{y}.jpg
> Et là, ça va beaucoup mieux.

je ne vois aucune raison technique de cette différence car même serveur, 
même proxy, même source, je pense que c'est pure coïncidence.

> Il y a un problème quelque part ?

peut-être lié au fait que la vm en question sert temporairement
pour soulager la surcharge du cache des tuiles, j'en parle à cquest.
___
Talk-fr mailing list
Talk-fr@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-fr


Re: [OSM-talk-fr] Lenteur BDOrtho

2019-05-14 Par sujet Topographe Fou
  Bonjour,Idem hier soir, merci pour le tuyau.Cordialement, LeTopographeFou   De: stephane.pen...@wanadoo.frEnvoyé: 14 mai 2019 11:44 AMÀ: talk-fr@openstreetmap.orgRépondre à: talk-fr@openstreetmap.orgObjet: [OSM-talk-fr] Lenteur BDOrtho  Hello,Depuis quelque temps, j'ai constaté que l'affichage de la BDOrtho
  est très...très lent, avec de nombreuses erreurs signalée par Josm
  (java.net.SocketTimeoutException: connect timed out)L'url enregistrée dans Josm est  :
  https://proxy-ign.openstreetmap.fr/94GjiyqD/bdortho/{zoom}/{x}/{y}.jpgJe me suis créé une nouvelle couche tms avec
comme Url :
  http://proxy-ign.openstreetmap.fr/bdortho/{zoom}/{x}/{y}.jpg
Et là, ça va beaucoup mieux.Il y a un problème quelque part
  ?A bientôtStf

___
Talk-fr mailing list
Talk-fr@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-fr


Re: [OSM-talk-fr] Lenteur BDOrtho

2019-05-14 Par sujet Rpnpif
Le 14 mai 2019, Stéphane Péneau a écrit :

> Hello,
> 
> Depuis quelque temps, j'ai constaté que l'affichage de la BDOrtho est 
> très...très lent, avec de nombreuses erreurs signalée par Josm 
> (java.net.SocketTimeoutException: connect timed out)
> 
> L'url enregistrée dans Josm est  :
> 
> https://proxy-ign.openstreetmap.fr/94GjiyqD/bdortho/{zoom}/{x}/{y}.jpg
> 
> Je me suis créé une nouvelle couche tms avec comme Url :
> 
> http://proxy-ign.openstreetmap.fr/bdortho/{zoom}/{x}/{y}.jpg
> 
> 
> Et là, ça va beaucoup mieux.
> 
> Il y a un problème quelque part ?

Bonjour,
Même problème à certains moments, surtout les samedis ou dimanches sur
Id.

-- 
Alain Rpnpif

___
Talk-fr mailing list
Talk-fr@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-fr


[OSM-talk-fr] Lenteur BDOrtho

2019-05-14 Par sujet Stéphane Péneau

Hello,

Depuis quelque temps, j'ai constaté que l'affichage de la BDOrtho est 
très...très lent, avec de nombreuses erreurs signalée par Josm 
(java.net.SocketTimeoutException: connect timed out)


L'url enregistrée dans Josm est  :

https://proxy-ign.openstreetmap.fr/94GjiyqD/bdortho/{zoom}/{x}/{y}.jpg

Je me suis créé une nouvelle couche tms avec comme Url :

http://proxy-ign.openstreetmap.fr/bdortho/{zoom}/{x}/{y}.jpg


Et là, ça va beaucoup mieux.

Il y a un problème quelque part ?

A bientôt

Stf

___
Talk-fr mailing list
Talk-fr@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-fr