OverpassAPI: queries fail randomly
Hello,
I have been trying to query OSM data using overpass-api.de but it's working pretty randomly.
For example, It gets data twice in a row, but the third request timeouts, or works once then fails two or three times, etc. I haven't been able to determine any patterns in this. it just seems to fail at random times.
I am getting Connection Timeout as a result of a failed request.
Have in mind that It's the same code that sends the request. Same requests work and fail randomly.
Is there anything I might be missing in here? Do You have any idea what could cause this?
EDIT: Thanks for the suggestion!
Query example:
[bbox:-4.8829942,29.6411133,-4.8720477,29.6520996][timeout:40];
(
node["building"];
node[~".*"~"^building$"];
way["building"];
way[~".*"~"^building$"];
relation["building"];
relation[~".*"~"^building$"];
);
out meta;
>;
out meta;>;out meta;
Thanks,
Filip