Modify

Opened 11 years ago

Closed 5 years ago

Last modified 5 years ago

#9779 closed defect (worksforme)

missing timeout for plugin list

Reported by: malenki Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: connect timeout, plugin Cc:

Description

When the "Plugin update policy" is set to
[x] Always update without asking
and the interval is 1 day, JOSM looks for updates of plugins daily.

To do so JOSM tries to download the plugin list from josm.openstreetmap.de.
Now if this site is down or /very/ slow (like yesterday) and JOSM was started this day the first time, JOSM waits and waits and waits and doesn't move on.

If the user wants JOSM to start he has to edit the preferences.xml by hand.

To have a more useful way to get around this problem I propose to add a timeout for the download of the plugin list

$ time jos
Konnte aktuelle Version nicht vom Server lesen, wechsle in Offline-Modus
Lokale Revision ist 6891, neueste verfügbare Revision ist 0 - benutze lokale Revision 6891
starte josm...
josm wurde mit mit Prozess-ID 8570 gestartet
WARNUNG: Fehlende Plugin-Hauptversion im Plugin plastic_laf
WARNUNG: Fehlende Plugin-Hauptversion im Plugin jython-standalone-2.5.3
INFO: Führe Plugin-Aktualisierung nach abgelaufenem Aktualisierungsintervall durch. Automatische Aktualisierung beim Start ist deaktiviert.
^Cbeende... bitte warten
josm wurde beendet

real	41m52.856s
user	0m0.003s
sys	0m0.000s

Attachments (0)

Change History (3)

comment:1 by Don-vip, 11 years ago

see also #10237

comment:2 by simon04, 5 years ago

Keywords: connect added
Resolution: fixed
Status: newclosed

Since r9168, r9171 the default socket.timeout.connect is 15s.

comment:3 by simon04, 5 years ago

Resolution: fixedworksforme

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.