Closed rugk closed 2 years ago
Ah there is a CORS error:
10:30:03.597 WebGL warning: texImage: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads. bundle.js:19801:327915
10:30:04.147 Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf https://events.mapbox.com/events/v2?access_token=pk.eyJ1IjoianVsaXVzdGUiLCJhIjoiY2t2N3UyeDZ2MjdqZjJvb3ZmcWNyc2QxbSJ9.oB7xzSTcmeDMcl4DhjSl0Q. (Grund: CORS-Anfrage schlug fehl).
10:30:04.385 WebGL warning: texImage: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads. bundle.js:19801:327915
10:30:04.462 WebGL warning: texImage: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads. bundle.js:19801:327915
10:30:04.559 WebGL warning: texImage: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads. 4 bundle.js:19801:327915
10:30:04.793 Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf https://events.mapbox.com/events/v2?access_token=pk.eyJ1IjoianVsaXVzdGUiLCJhIjoiY2t2N3UyeDZ2MjdqZjJvb3ZmcWNyc2QxbSJ9.oB7xzSTcmeDMcl4DhjSl0Q. (Grund: CORS-Anfrage schlug fehl).
Hey 🙂 Thanks for reporting this, did you enter a station at the top right? If so: Which one?
No, I just visited the website… :upside_down_face:
Ahhh I need to enter sth. Very good, now I see what this website is about.
It's basically an isodistance map (yes I also needed to look for this term yet again – and I thouht there was also a wikipedia article for that as there were even hand-drawn maps of this kind before… uhm… "technology happened", but I am getting off-topic…) like https://commutetimemap.com/map.
Anyway, the CORS errors are likely still a kinda bad sign and should be fixed… :upside_down_face:
Site used to work for me but is now broken. A lot of CORS errors in the log and city search returns nothing. Firefox 100 and Edge 101
When searching for a city this is returned: GET https://v5.db.transport.rest/locations?query=berlin&poi=false&addresses=false net::ERR_CERT_AUTHORITY_INVALID bundle.js?v5:2
Feels like something on the DB end is broken
Regarding CORS errors: This seems to be the result of adblockers like uBlock Origin blocking mapbox event requests (see also: this issue), the site should work fine nonetheless, and there is not much I as the site's maintainer can do about the errors appearing in the logs, afaik.
@ElectronicWar regarding the certificate error: I cannot reproduce this, v5.db.transport.rest
has a valid cert as far as I can tell. Are you sure that everything is "normal" in your certificate setup (e.g. with your list of trusted CAs)?
I have re-tried at home and the error was caused by the office network. At home it works with ad-blockers disabled! Sorry for the false alarm.
Alright, that's good to hear! 🙂 I think all issues reported here are resolved/clarified, so I'll close this for now, please re-open if I missed anything
I just visit https://direkt.bahn.guru/ with Firefox 94.0. Already disabled some add blockers and see no difference.