Sintomo
Quando si tenta di scaricare aggiornamenti delle mappe tramite il Content Update Service (CUS), il sistema non riesce a connettersi al server LDS (Live Data Service) all'indirizzo lds.ptvgroup.com.
Nel browser, accedere a https://lds.ptvgroup.com restituisce:
403 Forbidden — Non hai il permesso di accedere a questa risorsa.
Nei log, può essere osservato un errore di timeout e il processo di aggiornamento fallisce.
Causa
Questo problema si verifica solitamente quando:
Il polling non è abilitato nel file
contentupdateservice.conf.Il CUS non riesce a raggiungere lds.ptvgroup.com a causa di restrizioni di rete/firewall o configurazione proxy mancante.
Il server LDS restituisce un 403 perché non è destinato ad essere accessibile tramite browser. Solo CUS dovrebbe connettersi ad esso tramite HTTPS sulla porta 443.
Risoluzione
Abilitare il Polling in
contentupdateservice.conf:
Modificare o aggiungere il seguente blocco nel file di configurazione (situato nella directory conf/ di CUS):
polling {
enabled = true
interval = 300s
}Senza il polling abilitato, potresti vedere questo errore nei log:
javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException:
Connect to lds.ptvgroup.com:443 [lds.ptvgroup.com/23.97.231.113, lds.ptvgroup.com/20.67.105.124] failed: Connection timed out
Se il problema persiste:
Potresti vedere:
Problem with LDS connection while downloading a list of layer meta data using the following filter...
Theme : [PTV_TrafficIncidents] | Vendors : [tomtom]
Questo conferma che CUS non può raggiungere lds.ptvgroup.com.
Verificare il Firewall e l’Accesso alla Rete:
-
Testare la connettività usando:
curl https://lds.ptvgroup.com telnet lds.ptvgroup.com 443Nota: Un 403 Forbidden è normale tramite browser. Ciò che conta è che CUS possa raggiungere il server LDS sulla porta 443.
Assicurarsi che nessun firewall o proxy blocchi il traffico HTTPS in uscita dal server che esegue CUS.
Configurare le Impostazioni Proxy (se applicabile):
Se il tuo ambiente utilizza un proxy autenticato, aggiungi il seguente blocco al tuo contentupdateservice.conf:
proxy {
host = "your-proxy-host"
port = your-proxy-port
user = "your-username"
password = "your-password"
ntlm.domain = "your-domain" // Facoltativo (per NTLM)
workstation = "your-workstation-name" // Facoltativo (fallback NTLM)
}
Metodi di autenticazione proxy supportati: Basic e NTLM.
Riferimento:
PTV xServer 2 – Guida al Content Update Service
Articoli correlati
PTV xServer: Content Update Service (CUS) - Porta 1099 già in uso
Commenti
0 commenti
Questo articolo è chiuso ai commenti.