osmcha-frontend icon indicating copy to clipboard operation
osmcha-frontend copied to clipboard

alert: "Changeset: ######### Map failed."

Open rkiddy opened this issue 1 year ago • 4 comments

Have not come to osmcha for a while. Clicked on first change in the list. Got an alert. Ouch. :--)

Changeset 153380982

See snap. Screenshot from 2024-06-30 11-33-17

rkiddy avatar Jun 30 '24 18:06 rkiddy

And the "Retry" button does not stop the error.

rkiddy avatar Jun 30 '24 18:06 rkiddy

Same issue here. Check this link

https://osmcha.org/changesets/154919969 image

FransS1945 avatar Aug 08 '24 09:08 FransS1945

Hmm @willemarcel @sunu - it seems to me like requests to the s3 bucket for real-changesets are failing, for example a changeset from a day ago: https://real-changesets.s3.us-west-2.amazonaws.com/154916228.json

This is causing all changeset queries to fallback to Overpass and making things slow / throwing occasional errors. Or at least, I think that's what's going on?

Can we try and take a look at the real-changesets pipeline and see if we can figure out why either the real changeset JSON is not making it to s3, or .. ?

batpad avatar Aug 08 '24 10:08 batpad

@batpad Our requests to osm servers were blocked yesterday for some hours (#742). That changeset was not ingested in the database, but I'm backfilling it now.

willemarcel avatar Aug 08 '24 13:08 willemarcel

I have the same error on ALL changesets since yesterday ^((

literannn avatar Aug 26 '24 07:08 literannn

Likewise - every changeset errors out for me

image

image

tastrax avatar Aug 26 '24 08:08 tastrax

same here: Changeset:155770447 Map failed r.elements is undefined image

abdullahO2 avatar Aug 26 '24 09:08 abdullahO2

Tried multiple random changesets, all with same error, see screenshot.

error

martien-176 avatar Aug 26 '24 12:08 martien-176

I can also consistently reproduce the issue for the past couple days, tested on many different changesets (mine, custom filters, global, direct links, etc), tested in regular and safe + Incognito mode on both Firefox and Chrome (Windows), logging out and back in again, clearing cache, etc. Additionally, I have not updated my OS, browsers, extensions or settings between when it worked and when it didn't (nor even restarted my machine).

image

Here's the web console output, which appears to be behind the failing calls on the frontend given the direct link to the error message output.

155799022:1 -1

beacon.min.js:1          Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
console.js:35 Changeset:155799022 Map failed: Cannot read properties of undefined (reading '0')
    at https://osmcha.org/static/js/3.27dd8914.chunk.js:2:220118
e.<computed> @ console.js:35

155799022:1 Access to fetch at 'https://rksbsqdel4.execute-api.us-east-1.amazonaws.com/testing?action=names&id=19254040' from origin 'https://osmcha.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

rksbsqdel4.execute-api.us-east-1.amazonaws.com/testing?action=names&id=19254040:1          Failed to load resource: net::ERR_FAILED

console.js:35 TypeError: Failed to fetch
    at raven.js:1474:16
    at Rs (whosthat.js:5:10)
    at index.js:290:7
    at a._initFetching (fetch_data_enhancer.js:45:26)
    at y (index.js:160:19)
    at k (index.js:207:14)
    at w (index.js:195:14)
    at o (raven.js:376:21)
e.<computed> @ console.js:35

console.js:35 Changeset:155799022 Map failed: Cannot read properties of undefined (reading '0')
    at https://osmcha.org/static/js/3.27dd8914.chunk.js:2:220118
e.<computed> @ console.js:35

CAM-Gerlach avatar Aug 26 '24 19:08 CAM-Gerlach

This issue is now fixed.

willemarcel avatar Aug 26 '24 20:08 willemarcel

Can confirm per my testing. Thanks!

CAM-Gerlach avatar Aug 26 '24 22:08 CAM-Gerlach

This issue didn't get resolved for me until I did a hard refresh (Ctrl+Shift+R). Is this tolerable? Who knows how many users think OSMCha is still broken..

NeatNit avatar Aug 27 '24 09:08 NeatNit