nrenner / brouter-web

Web client for BRouter, a routing engine based on OpenStreetMap
https://brouter.de/brouter-web/
MIT License
374 stars 74 forks source link

Brouter web stopped working properly #47

Closed poutnikl closed 8 years ago

poutnikl commented 8 years ago

with default Trekking profile, the BR web allows me to set waypoints, but refuses to calculate even trivial ( short and simple ) routes. ( using latest PaleMoon Browser )

nrenner commented 8 years ago

Working for me, both in Firefox and PaleMoon on Ubuntu.

Any error message in BRouter-Web or in the Browser Console (Ctrl+Shift+K) (apart from the CSS parsing errors)?

poutnikl commented 8 years ago

Web provides no error msg, behaves just like calculating the route forever. The console gives this

SecurityError: The operation is insecure. http://brouter.de/brouter-web/dist/brouter-web.js:46 TypeError: t is undefined http://brouter.de/brouter-web/dist/brouter-web.js:36

I have also noticed that the profile code, appearing even for standard profiles in the left bottom window , is not displayed anymore.

Edit: The same result happens with PM restarted in Safe mode without addons.

nrenner commented 8 years ago

Can now reproduce in Pale Moon with Cookie setting Keep until: "ask me every time". (Edit > Preferences > Privacy: History: "Use custom setting for history", [x] Accept cookies from sites)

Error occurs when accessing localStorage for transparency slider. I will need to handle that exception, therefore leaving this issue open.

As a workaround you can add "brouter.de" to "Exceptions..." or alter the Cookie/History settings.

Related links: http://meyerweb.com/eric/thoughts/2012/04/25/firefox-failing-localstorage/ https://bugzilla.mozilla.org/show_bug.cgi?id=365772

poutnikl commented 8 years ago

I confirm it is cookie management related, as I had it set to Ask every time.

When I changed it to Until Expire, or if I had put brouter.de to exceptions, it has started working again.