﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
8886	Internal download of plugin does not work	skyper	Don-vip	"Just to have it reported.

The internal download does not work as redirects are not supported.

Tested with both plugin versions and latest + tested.

You have to manually download and install the plugin.

{{{
org.openstreetmap.josm.plugins.PluginDownloadException: java.io.IOException: Server returned HTTP response code: 502 for URL: https://github.com/iandees/josm-fieldpapers/releases/download/0.2/fieldpapers.jar
	at org.openstreetmap.josm.plugins.PluginDownloadTask.download(PluginDownloadTask.java:138)
	at org.openstreetmap.josm.plugins.PluginDownloadTask.realRun(PluginDownloadTask.java:164)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:82)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:145)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:679)
Caused by: java.io.IOException: Server returned HTTP response code: 502 for URL: https://github.com/iandees/josm-fieldpapers/releases/download/0.2/fieldpapers.jar
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1403)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
	at org.openstreetmap.josm.plugins.PluginDownloadTask.download(PluginDownloadTask.java:125)
	... 9 more
}}}
"	defect	closed	normal		Core		fixed	plugin download http https redirect github	
