Re: [openstreetmap/openstreetmap-website] CORS issues in Firefox with API (Issue #5983)
wolfy1339 left a comment (openstreetmap/openstreetmap-website#5983) there is nothing unusual at all... It was working fine just yesterday. I disabled all the tracking stuff within firefox, and any adblockers. heck even all extensions disabled `` -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/5983#issuecomment-2851416016 You are receiving this because you are subscribed to this thread. Message ID: ___ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev
Re: [openstreetmap/openstreetmap-website] CORS issues in Firefox with API (Issue #5983)
wolfy1339 left a comment (openstreetmap/openstreetmap-website#5983) It's to the `map.json` endpoint `https://api.openstreetmap.org/api/0.6/map.json?bbox=-70.927734375,46.3658837048498,-70.9222412109375,46.36967413462374` -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/5983#issuecomment-2851483712 You are receiving this because you are subscribed to this thread. Message ID: ___ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev
[openstreetmap/openstreetmap-website] CORS issues in Firefox with API (Issue #5983)
wolfy1339 created an issue (openstreetmap/openstreetmap-website#5983) ### URL https://www.openstreetmap.org/edit ### How to reproduce the issue? Firefox 138.0 Fedora 42 1. Open iD at any location 3. iD doesn't load any data 4. Open the Network tab in the developper tools 5. Observe many failed requests due to CORS ### Screenshot(s) or anything else? While this bug happens with iD, it is not a bug within iD as it is an error with the headers returned from the API. The API is returning the following header: ``` access-control-allow-headers: Content-Type while the request is ``` Access-Control-Request-Headers: authorization ``` The solution is to add the `authorization` header to `access-control-allow-headers` -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/5983 You are receiving this because you are subscribed to this thread. Message ID: ___ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev
Re: [openstreetmap/openstreetmap-website] CORS issues in Firefox with API (Issue #5983)
Closed #5983 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/5983#event-17599474043 You are receiving this because you are subscribed to this thread. Message ID: ___ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev
Re: [openstreetmap/openstreetmap-website] CORS issues in Firefox with API (Issue #5983)
wolfy1339 left a comment (openstreetmap/openstreetmap-website#5983) I really don't know what happened, or why, but it works fine now. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/5983#issuecomment-2868236703 You are receiving this because you are subscribed to this thread. Message ID: ___ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev
Re: [openstreetmap/openstreetmap-website] CORS issues in Firefox with API (Issue #5983)
wolfy1339 left a comment (openstreetmap/openstreetmap-website#5983) I just happened to experience this issue again today. Whatever is going on seems to be intermittent -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/5983#issuecomment-2891749127 You are receiving this because you are subscribed to this thread. Message ID: ___ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev
Re: [openstreetmap/openstreetmap-website] CORS issues in Firefox with API (Issue #5983)
wolfy1339 left a comment (openstreetmap/openstreetmap-website#5983) ``` HTTP/2 200 date: Mon, 19 May 2025 17:17:38 GMT content-type: text/plain access-control-allow-origin: https://www.openstreetmap.org access-control-allow-methods: POST,OPTIONS access-control-max-age: 86400 vary: Origin access-control-allow-credentials: true access-control-allow-headers: Content-Type report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=pyWRsIQb0XttFCtwO6wdScDEKiwvXjsOQRY9voAP%2BIoKeGqjCG1ULIvHXPoV9VucmpDIB%2FMKo%2Fq8g5gWp91p50Gs8tkR0XBdjcPViNauXeqxyAo%3D"}]} nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} content-encoding: zstd server: cloudflare cf-ray: 94253fbe5c42a2a8-YUL alt-svc: h3=":443"; ma=86400 X-Firefox-Spdy: h2 ``` -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/5983#issuecomment-2891752240 You are receiving this because you are subscribed to this thread. Message ID: ___ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev
Re: [openstreetmap/openstreetmap-website] Intermittent CORS issues with editing API (Issue #6028)
wolfy1339 left a comment (openstreetmap/openstreetmap-website#6028) This pretty much sounds exactly the same as https://github.com/openstreetmap/openstreetmap-website/issues/5983. I experienced it today as well -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/6028#issuecomment-2892492851 You are receiving this because you are subscribed to this thread. Message ID: ___ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev