﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
21563	Opening history of relation with high version number leads to exceeding OSM bandwidth limit	skyper	team	"==== What steps will reproduce the problem?
1. Have a relation with quite some versions, in my case 1281 ([osmwww:relation/2769137])
1. Open history without noticing the high version number
1. Cancel download after some seconds as it takes to long
1. Notice the high version number and open history
1. Sucessfully, look at the last 20 version
1. Download a member

==== What is the expected result?
The member is downloaded and other downloads work as expected

==== What happens instead?

{{{
SEVERE: Bandwidth Limit Exceeded - 
<html>Communication with the OSM server 'api.openstreetmap.org'failed. The server replied
the following error code and the following error message:
<strong>Error code:<strong> 509 <strong>Error message (untranslated)</strong>: You have downloaded too much data. Please try again later.</html>
}}}

and the user is temporarly blocked

==== Please provide any additional information below. Attach a screenshot if possible.
I am not sure what to do here. Maybe, only loading the last 20/50/100 version could help or downloading not all versions from main server.
Anyway, this is annoying as I got blocked without even really noticing that I may exceed the limit and I only wanted to take a look at the versions of the last couple month and not at all versions of the last decade.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-11-12 11:23:59 +0100 (Fri, 12 Nov 2021)
Revision:18323
Build-Date:2021-11-13 02:31:03
URL:https://josm.openstreetmap.de/svn/trunk

Last errors/warnings:
- 12417.014 E: java.util.concurrent.ExecutionException: org.openstreetmap.josm.io.OsmApiException: ResponseCode=509, Error Header=<You have downloaded too much data. Please try again later.>. Cause: org.openstreetmap.josm.io.OsmApiException: ResponseCode=509, Error Header=<You have downloaded too much data. Please try again later.>
- 12417.014 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=509, Error Header=<You have downloaded too much data. Please try again later.>
- 12417.014 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=509, Error Header=<You have downloaded too much data. Please try again later.>
- 12417.020 E: Bandwidth Limit Exceeded - <html>Communication with the OSM server 'api.openstreetmap.org'failed. The server replied<br>the following error code and the following error message:<br><strong>Error code:<strong> 509<br><strong>Error message (untranslated)</strong>: You have downloaded too much data. Please try again later.</html>
- 12445.113 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=509, Error Header=<You have downloaded too much data. Please try again later.>
- 12445.113 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=509, Error Header=<You have downloaded too much data. Please try again later.>
- 12445.125 E: Bandwidth Limit Exceeded - <html>Communication with the OSM server 'api.openstreetmap.org'failed. The server replied<br>the following error code and the following error message:<br><strong>Error code:<strong> 509<br><strong>Error message (untranslated)</strong>: You have downloaded too much data. Please try again later.</html>
- 12527.828 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=509, Error Header=<You have downloaded too much data. Please try again later.>
- 12527.829 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=509, Error Header=<You have downloaded too much data. Please try again later.>
- 12527.837 E: Bandwidth Limit Exceeded - <html>Communication with the OSM server 'api.openstreetmap.org'failed. The server replied<br>the following error code and the following error message:<br><strong>Error code:<strong> 509<br><strong>Error message (untranslated)</strong>: You have downloaded too much data. Please try again later.</html>
}}}
"	defect	new	normal		Core			template_report history error 509 bandwidth limit download	
