Roommates and I made a new cycling routing app!!
#26
Senior Member
Thread Starter
The undo button removed my entire route. I had mapped several stopping points along a route, then decided to change the last leg I input. Clicked the undo button and the entire route I had mapped was removed. Did the button do its job as intended? Is there a way to undo sections of a route without erasing the entire route?
One of the difficulties of implementing this was refreshing the page or duplicating the tab, to prevent the cache from being overwritten in weird ways, if you make a route, refresh the whole page, or duplicate the tab, all previous undos and cleared and if popups are blocked and you press undo it might cause the issue you experienced. I sincerely apologize for any frustration it may have caused, I'll look into a better solution.
#27
Senior Member
Thread Starter
Also, you can right-click on any of the waypoints and delete them, or make them the new start/end thus making it easy to manage the length of your route:
#28
Senior Member
Thread Starter
You're still having login issues! I'm so sorry, I'm happy to work with you in any capacity, I can set up a test account, I could manually approve your account without the email, resend verification emails, etc. Feel free to reach out to me directly and I'll do everything I can to your account working! (I'm pretty excited at the prospect of anyone trying out my app, especially the weather and AI stuff)
#29
I don't know.
Join Date: May 2003
Location: South Meriden, CT
Posts: 1,976
Bikes: '90 B'stone RB-1, '92 B'stone RB-2, '89 SuperGo Access Comp, '03 Access 69er, '23 Trek 520, '14 Ritchey Road Logic, '09 Kestrel Evoke, '08 Windsor Tourist, '17 Surly Wednesday, '89 Centurion Accordo, '15 CruX, '17 Ridley X-Night
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Quoted: 306 Post(s)
Liked 823 Times
in
430 Posts
this looks neat. I'll check it out from a home computer. I've yet to map a ride online, but maybe i'll start with this.
Likes For RB1-luvr:
#30
Senior Member
Join Date: Jul 2015
Location: reno, nv
Posts: 2,275
Bikes: yes, i have one
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Quoted: 1124 Post(s)
Liked 1,171 Times
in
682 Posts
firebird854, you are very responsive to the issues cropping up, hope you can figure it all out. i'm sure you've tested this out a lot, but no amount of testing in-house will be the same as in a user's hands. as a developer i know.
my issues:
in fire fox i am unable to create a route.
read the splash screen more clearly to see anything about supported browsers so switched to edge. still unable to create a route. i can get as far as a green dot but no further. in your post 27 i see a context menu, i have no idea how to activate that in the browser. mouse does not work, maybe some sort of key combination?
my issues:
in fire fox i am unable to create a route.
read the splash screen more clearly to see anything about supported browsers so switched to edge. still unable to create a route. i can get as far as a green dot but no further. in your post 27 i see a context menu, i have no idea how to activate that in the browser. mouse does not work, maybe some sort of key combination?
#31
Senior Member
Thread Starter
firebird854, you are very responsive to the issues cropping up, hope you can figure it all out. i'm sure you've tested this out a lot, but no amount of testing in-house will be the same as in a user's hands. as a developer i know.
my issues:
in fire fox i am unable to create a route.
read the splash screen more clearly to see anything about supported browsers so switched to edge. still unable to create a route. i can get as far as a green dot but no further. in your post 27 i see a context menu, i have no idea how to activate that in the browser. mouse does not work, maybe some sort of key combination?
my issues:
in fire fox i am unable to create a route.
read the splash screen more clearly to see anything about supported browsers so switched to edge. still unable to create a route. i can get as far as a green dot but no further. in your post 27 i see a context menu, i have no idea how to activate that in the browser. mouse does not work, maybe some sort of key combination?
If you're using the site on a desktop computer with Edge or Chrome (technically firefox works, I just really haven't tested it) and you don't have some VPN blocking 8443 it shhhhooooolllldddd work, but I'm happy to work with you and troubleshoot as much as possible if you do indeed want to use the service.
hmmmm, it does appear to be functioning on firefox... interesting:
#32
Senior Member
Join Date: Jul 2015
Location: reno, nv
Posts: 2,275
Bikes: yes, i have one
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Quoted: 1124 Post(s)
Liked 1,171 Times
in
682 Posts
do i need an account? i do not have one nor did i see a requirement for one nor does the interface prompt me for one.
if no to the above...i can get the green dot, easy, just click on the map. how do i get the next position?
at work so will try again at home where i know i have no vpn and am not blocking any ports.
thanks,
scott
if no to the above...i can get the green dot, easy, just click on the map. how do i get the next position?
at work so will try again at home where i know i have no vpn and am not blocking any ports.
thanks,
scott
#33
Senior Member
Thread Starter
Nope, I went out of my way to make it super accessible so you really only needed an account for the things that cost me money directly, like the weather API (I just wanted to make a few daily maximums for users), and of course, Garmin connect, because, well, I wouldn't want to make users connect with Garmin every time they wanted to send a route.
It sounds like port 8443 is being blocked, if you wouldn't mind (and I totally understand if you're busy doing other things) if you hit f12 and go to console, you can paste any error messages that appear in the console when you try to route, bceause yeah, you should be able to click around to create the route, that would help me tremendously in figuring out what's going on.
It sounds like port 8443 is being blocked, if you wouldn't mind (and I totally understand if you're busy doing other things) if you hit f12 and go to console, you can paste any error messages that appear in the console when you try to route, bceause yeah, you should be able to click around to create the route, that would help me tremendously in figuring out what's going on.
#34
Senior Member
Join Date: Jul 2015
Location: reno, nv
Posts: 2,275
Bikes: yes, i have one
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Quoted: 1124 Post(s)
Liked 1,171 Times
in
682 Posts
No prob. here is a copy of the text from the console window. the console was immediately brought up after the site was reached and before the splash screen was dismissed. tried to capture everything from the beginning. i know how frustrating it can be to get only part of a log file...
sorry, don't know how to preserve the syntax coloring. i will try this at home once there and after my ride is over.
Database opened successfully Javascript.js:960:13
0 Javascript.js:980:17
TEST3 FrontJS.js:1618:9
Service worker registered with scope: https://www.sherpa-map.com/ Javascript.js:333:21
TEST FrontJS.js:1642:11
Some cookies are misusing the recommended “SameSite“ attribute 4
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Failed to load ‘https://www.sherpa-map.com:8443/check-login’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘TypeError: NetworkError when attempting to fetch resource.’.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.sherpa-map.com:8443/check-login. (Reason: CORS request did not succeed). Status code: (null).
Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource.
Failed to load ‘https://www.sherpa-map.com:8443/check-login’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘TypeError: NetworkError when attempting to fetch resource.’.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.sherpa-map.com:8443/check-login. (Reason: CORS request did not succeed). Status code: (null).
Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource.
Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading js:246:268
Partitioned cookie or storage access was provided to “https://www.google.com/recaptcha/api...ekmzsub” because it is loaded in the third-party context and dynamic state partitioning is enabled.
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Partitioned cookie or storage access was provided to “https://www.google.com/recaptcha/api...pVSqXmY” because it is loaded in the third-party context and dynamic state partitioning is enabled.
0 Javascript.js:1107:15
false Javascript.js:1129:13
true cookie Javascript.js:1139:11
MouseEvent.mozPressure is deprecated. Use PointerEvent.pressure instead. Util.js:15:3
https://www.sherpa-map.com:8443/grap...elevation=true Javascript.js:6958:21
Failed to load ‘https://www.sherpa-map.com:8443/grap...on=true’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘TypeError: NetworkError when attempting to fetch resource.’.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.sherpa-map.com:8443/grap...elevation=true. (Reason: CORS request did not succeed). Status code: (null).
Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource. Javascript.js:9559:17
https://www.sherpa-map.com:8443/grap...elevation=true Javascript.js:6958:21
Failed to load ‘https://www.sherpa-map.com:8443/grap...on=true’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘TypeError: NetworkError when attempting to fetch resource.’.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.sherpa-map.com:8443/grap...elevation=true. (Reason: CORS request did not succeed). Status code: (null).
Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource. Javascript.js:9559:17
before i head out for the day i tried shoving in the first failed URL in the above log into my FF browser and as far as i can tell there were no errors.
https://www.sherpa-map.com:8443/check-login yeilds this:
{"loggedIn":false}
X-Firefox-Spdy: h2
access-control-allow-credentials: true
alt-svc: h3=":8443"; ma=86400
cf-cache-status: DYNAMIC
cf-ray: 7d33ea74afef6426-SJC
content-length: 18
content-type: application/json; charset=utf-8
date: Tue, 06 Jun 2023 21:58:17 GMT
etag: W/"12-5Ti4RxX6tW4QHCzTPHbTwIiTtA8"
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=%2BJ00zPObg18NEYc5rvPJ4Cabrc1ds2V1zAS%2BqAWNZOImeCsZ72tcI4HL9FrMESz3K%2F4xJuS3m3lWL7suZcg2a7q9K QbJXLLHfKaxxhbHLuH3rGc9t6EFUZlzYYsQ2qfiw7fOtMjFTE424g%3D%3D"}],"group":"cf-nel","max_age":604800}
server: cloudflare
vary: Origin
x-powered-by: Express
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.5
Connection: keep-alive
Host: www.sherpa-map.com:8443
If-None-Match: W/"12-5Ti4RxX6tW4QHCzTPHbTwIiTtA8"
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
won't be riding. storm has moved in with 30+mph winds. tried again with edge. here is the log:
Creating object store
Javascript.js:972 Database opened successfully
Javascript.js:992 0
FrontJS.js:1618 TEST3
FrontJS.js:1642 TEST
Javascript.js:1119 0
Javascript.js:1141 false
Javascript.js:1151 undefined 'cookie'
Javascript.js:345 Service worker registered with scope: https://www.sherpa-map.com/
www.sherpa-map.com/:1 Access to fetch at 'https://www.sherpa-map.com:8443/check-login' from origin 'https://www.sherpa-map.com' 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.
:8443/check-login:1
Failed to load resource: net::ERR_FAILED
FrontJS.js:59
Uncaught (in promise) TypeError: Failed to fetch
at HTMLDocument.checkLoginAndUpdateButton (FrontJS.js:59:26)
at HTMLDocument.c (rocket-loader.min.js:1:9405)
at l (rocket-loader.min.js:1:1105)
at t.simulateStateAfterDeferScriptsActivation (rocket-loader.min.js:1:8630)
at Object.callback (rocket-loader.min.js:1:3075)
at t.run (rocket-loader.min.js:1:11340)
at P (rocket-loader.min.js:1:3128)
at Object.callback (rocket-loader.min.js:1:2851)
at t.run (rocket-loader.min.js:1:11340)
at rocket-loader.min.js:1:11156
www.sherpa-map.com/:1 Access to fetch at 'https://www.sherpa-map.com:8443/check-login' from origin 'https://www.sherpa-map.com' 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.
:8443/check-login:1
Failed to load resource: net::ERR_FAILED
FrontJS.js:1644
Uncaught (in promise) TypeError: Failed to fetch
at FrontJS.js:1644:26
at c (rocket-loader.min.js:1:9405)
at l (rocket-loader.min.js:1:1105)
at t.simulateStateAfterDeferScriptsActivation (rocket-loader.min.js:1:8728)
at Object.callback (rocket-loader.min.js:1:3075)
at t.run (rocket-loader.min.js:1:11340)
at P (rocket-loader.min.js:1:3128)
at Object.callback (rocket-loader.min.js:1:2851)
at t.run (rocket-loader.min.js:1:11340)
at rocket-loader.min.js:1:11156
Javascript.js:3047 Connected to the server. Socket id: OpZtRzld-BI5FuqKABym
js:246 Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading
Tea @ js:246
Javascript.js:6970 https://www.sherpa-map.com:8443/grap...elevation=true
www.sherpa-map.com/:1 Access to fetch at 'https://www.sherpa-map.com:8443/graphhopper-route?point=42.841992652495925%2C-91.40247780075161&point1=39.450412444327526%2C-119.72772258367297&type=json&locale=en&profile=any_any_any&elevation=true' from origin 'https://www.sherpa-map.com' 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.
Javascript.js:6971
GET https://www.sherpa-map.com:8443/grap...elevation=true net::ERR_FAILED 200
fetchGraphHopperData @ Javascript.js:6971
addEdge @ Javascript.js:7190
addPoint @ Javascript.js:8882
onMapClick @ Javascript.js:9571
fire @ Events.js:195
_fireDOMEvent @ Map.js:1452
_handleDOMEvent @ Map.js:1401
o @ DomEvent.js:108
c @ rocket-loader.min.js:1
Javascript.js:6971
Uncaught (in promise) TypeError: Failed to fetch
at Edge.fetchGraphHopperData (Javascript.js:6971:36)
at Route.addEdge (Javascript.js:7190:31)
at Route.addPoint (Javascript.js:8882:25)
at e.onMapClick (Javascript.js:9571:17)
at e.fire (Events.js:195:9)
at e._fireDOMEvent (Map.js:1452:15)
at e._handleDOMEvent (Map.js:1401:8)
at HTMLDivElement.o (DomEvent.js:108:13)
at HTMLDivElement.c (rocket-loader.min.js:1:9405)
fetchGraphHopperData @ Javascript.js:6971
addEdge @ Javascript.js:7190
addPoint @ Javascript.js:8882
onMapClick @ Javascript.js:9571
fire @ Events.js:195
_fireDOMEvent @ Map.js:1452
_handleDOMEvent @ Map.js:1401
o @ DomEvent.js:108
c @ rocket-loader.min.js:1
await in c (async)
fire @ Events.js:195
_fireDOMEvent @ Map.js:1452
_handleDOMEvent @ Map.js:1401
o @ DomEvent.js:108
c @ rocket-loader.min.js:1
Javascript.js:6970 https://www.sherpa-map.com:8443/grap...elevation=true
www.sherpa-map.com/:1 Access to fetch at 'https://www.sherpa-map.com:8443/graphhopper-route?point=42.841992652495925%2C-91.40247780075161&point1=39.4504787032215%2C-119.72785130193307&type=json&locale=en&profile=any_any_any&elevation=true' from origin 'https://www.sherpa-map.com' 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.
Javascript.js:6971
GET https://www.sherpa-map.com:8443/grap...elevation=true net::ERR_FAILED 200
fetchGraphHopperData @ Javascript.js:6971
addEdge @ Javascript.js:7190
addPoint @ Javascript.js:8882
onMapClick @ Javascript.js:9571
fire @ Events.js:195
_fireDOMEvent @ Map.js:1452
_handleDOMEvent @ Map.js:1401
o @ DomEvent.js:108
c @ rocket-loader.min.js:1
Javascript.js:6971
Uncaught (in promise) TypeError: Failed to fetch
at Edge.fetchGraphHopperData (Javascript.js:6971:36)
at Route.addEdge (Javascript.js:7190:31)
at Route.addPoint (Javascript.js:8882:25)
at e.onMapClick (Javascript.js:9571:17)
at e.fire (Events.js:195:9)
at e._fireDOMEvent (Map.js:1452:15)
at e._handleDOMEvent (Map.js:1401:8)
at HTMLDivElement.o (DomEvent.js:108:13)
at HTMLDivElement.c (rocket-loader.min.js:1:9405)
fetchGraphHopperData @ Javascript.js:6971
addEdge @ Javascript.js:7190
addPoint @ Javascript.js:8882
onMapClick @ Javascript.js:9571
fire @ Events.js:195
_fireDOMEvent @ Map.js:1452
_handleDOMEvent @ Map.js:1401
o @ DomEvent.js:108
c @ rocket-loader.min.js:1
await in c (async)
fire @ Events.js:195
_fireDOMEvent @ Map.js:1452
_handleDOMEvent @ Map.js:1401
o @ DomEvent.js:108
c @ rocket-loader.min.js:1
Javascript.js:6970 https://www.sherpa-map.com:8443/grap...elevation=true
www.sherpa-map.com/:1 Access to fetch at 'https://www.sherpa-map.com:8443/graphhopper-route?point=42.841992652495925%2C-91.40247780075161&point1=39.44875595148566%2C-119.74059440968196&type=json&locale=en&profile=any_any_any&elevation=true' from origin 'https://www.sherpa-map.com' 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.
Javascript.js:6971
GET https://www.sherpa-map.com:8443/grap...elevation=true net::ERR_FAILED 200
fetchGraphHopperData @ Javascript.js:6971
addEdge @ Javascript.js:7190
addPoint @ Javascript.js:8882
onMapClick @ Javascript.js:9571
fire @ Events.js:195
_fireDOMEvent @ Map.js:1452
_handleDOMEvent @ Map.js:1401
o @ DomEvent.js:108
c @ rocket-loader.min.js:1
Javascript.js:6971
Uncaught (in promise) TypeError: Failed to fetch
at Edge.fetchGraphHopperData (Javascript.js:6971:36)
at Route.addEdge (Javascript.js:7190:31)
at Route.addPoint (Javascript.js:8882:25)
at e.onMapClick (Javascript.js:9571:17)
at e.fire (Events.js:195:9)
at e._fireDOMEvent (Map.js:1452:15)
at e._handleDOMEvent (Map.js:1401:8)
at HTMLDivElement.o (DomEvent.js:108:13)
at HTMLDivElement.c (rocket-loader.min.js:1:9405)
sorry, don't know how to preserve the syntax coloring. i will try this at home once there and after my ride is over.
Database opened successfully Javascript.js:960:13
0 Javascript.js:980:17
TEST3 FrontJS.js:1618:9
Service worker registered with scope: https://www.sherpa-map.com/ Javascript.js:333:21
TEST FrontJS.js:1642:11
Some cookies are misusing the recommended “SameSite“ attribute 4
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Failed to load ‘https://www.sherpa-map.com:8443/check-login’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘TypeError: NetworkError when attempting to fetch resource.’.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.sherpa-map.com:8443/check-login. (Reason: CORS request did not succeed). Status code: (null).
Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource.
Failed to load ‘https://www.sherpa-map.com:8443/check-login’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘TypeError: NetworkError when attempting to fetch resource.’.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.sherpa-map.com:8443/check-login. (Reason: CORS request did not succeed). Status code: (null).
Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource.
Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading js:246:268
Partitioned cookie or storage access was provided to “https://www.google.com/recaptcha/api...ekmzsub” because it is loaded in the third-party context and dynamic state partitioning is enabled.
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Partitioned cookie or storage access was provided to “https://www.google.com/recaptcha/api...pVSqXmY” because it is loaded in the third-party context and dynamic state partitioning is enabled.
0 Javascript.js:1107:15
false Javascript.js:1129:13
true cookie Javascript.js:1139:11
MouseEvent.mozPressure is deprecated. Use PointerEvent.pressure instead. Util.js:15:3
https://www.sherpa-map.com:8443/grap...elevation=true Javascript.js:6958:21
Failed to load ‘https://www.sherpa-map.com:8443/grap...on=true’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘TypeError: NetworkError when attempting to fetch resource.’.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.sherpa-map.com:8443/grap...elevation=true. (Reason: CORS request did not succeed). Status code: (null).
Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource. Javascript.js:9559:17
https://www.sherpa-map.com:8443/grap...elevation=true Javascript.js:6958:21
Failed to load ‘https://www.sherpa-map.com:8443/grap...on=true’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘TypeError: NetworkError when attempting to fetch resource.’.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.sherpa-map.com:8443/grap...elevation=true. (Reason: CORS request did not succeed). Status code: (null).
Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource. Javascript.js:9559:17
before i head out for the day i tried shoving in the first failed URL in the above log into my FF browser and as far as i can tell there were no errors.
https://www.sherpa-map.com:8443/check-login yeilds this:
{"loggedIn":false}
X-Firefox-Spdy: h2
access-control-allow-credentials: true
alt-svc: h3=":8443"; ma=86400
cf-cache-status: DYNAMIC
cf-ray: 7d33ea74afef6426-SJC
content-length: 18
content-type: application/json; charset=utf-8
date: Tue, 06 Jun 2023 21:58:17 GMT
etag: W/"12-5Ti4RxX6tW4QHCzTPHbTwIiTtA8"
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=%2BJ00zPObg18NEYc5rvPJ4Cabrc1ds2V1zAS%2BqAWNZOImeCsZ72tcI4HL9FrMESz3K%2F4xJuS3m3lWL7suZcg2a7q9K QbJXLLHfKaxxhbHLuH3rGc9t6EFUZlzYYsQ2qfiw7fOtMjFTE424g%3D%3D"}],"group":"cf-nel","max_age":604800}
server: cloudflare
vary: Origin
x-powered-by: Express
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.5
Connection: keep-alive
Host: www.sherpa-map.com:8443
If-None-Match: W/"12-5Ti4RxX6tW4QHCzTPHbTwIiTtA8"
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
won't be riding. storm has moved in with 30+mph winds. tried again with edge. here is the log:
Creating object store
Javascript.js:972 Database opened successfully
Javascript.js:992 0
FrontJS.js:1618 TEST3
FrontJS.js:1642 TEST
Javascript.js:1119 0
Javascript.js:1141 false
Javascript.js:1151 undefined 'cookie'
Javascript.js:345 Service worker registered with scope: https://www.sherpa-map.com/
www.sherpa-map.com/:1 Access to fetch at 'https://www.sherpa-map.com:8443/check-login' from origin 'https://www.sherpa-map.com' 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.
:8443/check-login:1
Failed to load resource: net::ERR_FAILED
FrontJS.js:59
Uncaught (in promise) TypeError: Failed to fetch
at HTMLDocument.checkLoginAndUpdateButton (FrontJS.js:59:26)
at HTMLDocument.c (rocket-loader.min.js:1:9405)
at l (rocket-loader.min.js:1:1105)
at t.simulateStateAfterDeferScriptsActivation (rocket-loader.min.js:1:8630)
at Object.callback (rocket-loader.min.js:1:3075)
at t.run (rocket-loader.min.js:1:11340)
at P (rocket-loader.min.js:1:3128)
at Object.callback (rocket-loader.min.js:1:2851)
at t.run (rocket-loader.min.js:1:11340)
at rocket-loader.min.js:1:11156
www.sherpa-map.com/:1 Access to fetch at 'https://www.sherpa-map.com:8443/check-login' from origin 'https://www.sherpa-map.com' 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.
:8443/check-login:1
Failed to load resource: net::ERR_FAILED
FrontJS.js:1644
Uncaught (in promise) TypeError: Failed to fetch
at FrontJS.js:1644:26
at c (rocket-loader.min.js:1:9405)
at l (rocket-loader.min.js:1:1105)
at t.simulateStateAfterDeferScriptsActivation (rocket-loader.min.js:1:8728)
at Object.callback (rocket-loader.min.js:1:3075)
at t.run (rocket-loader.min.js:1:11340)
at P (rocket-loader.min.js:1:3128)
at Object.callback (rocket-loader.min.js:1:2851)
at t.run (rocket-loader.min.js:1:11340)
at rocket-loader.min.js:1:11156
Javascript.js:3047 Connected to the server. Socket id: OpZtRzld-BI5FuqKABym
js:246 Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading
Tea @ js:246
Javascript.js:6970 https://www.sherpa-map.com:8443/grap...elevation=true
www.sherpa-map.com/:1 Access to fetch at 'https://www.sherpa-map.com:8443/graphhopper-route?point=42.841992652495925%2C-91.40247780075161&point1=39.450412444327526%2C-119.72772258367297&type=json&locale=en&profile=any_any_any&elevation=true' from origin 'https://www.sherpa-map.com' 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.
Javascript.js:6971
GET https://www.sherpa-map.com:8443/grap...elevation=true net::ERR_FAILED 200
fetchGraphHopperData @ Javascript.js:6971
addEdge @ Javascript.js:7190
addPoint @ Javascript.js:8882
onMapClick @ Javascript.js:9571
fire @ Events.js:195
_fireDOMEvent @ Map.js:1452
_handleDOMEvent @ Map.js:1401
o @ DomEvent.js:108
c @ rocket-loader.min.js:1
Javascript.js:6971
Uncaught (in promise) TypeError: Failed to fetch
at Edge.fetchGraphHopperData (Javascript.js:6971:36)
at Route.addEdge (Javascript.js:7190:31)
at Route.addPoint (Javascript.js:8882:25)
at e.onMapClick (Javascript.js:9571:17)
at e.fire (Events.js:195:9)
at e._fireDOMEvent (Map.js:1452:15)
at e._handleDOMEvent (Map.js:1401:8)
at HTMLDivElement.o (DomEvent.js:108:13)
at HTMLDivElement.c (rocket-loader.min.js:1:9405)
fetchGraphHopperData @ Javascript.js:6971
addEdge @ Javascript.js:7190
addPoint @ Javascript.js:8882
onMapClick @ Javascript.js:9571
fire @ Events.js:195
_fireDOMEvent @ Map.js:1452
_handleDOMEvent @ Map.js:1401
o @ DomEvent.js:108
c @ rocket-loader.min.js:1
await in c (async)
fire @ Events.js:195
_fireDOMEvent @ Map.js:1452
_handleDOMEvent @ Map.js:1401
o @ DomEvent.js:108
c @ rocket-loader.min.js:1
Javascript.js:6970 https://www.sherpa-map.com:8443/grap...elevation=true
www.sherpa-map.com/:1 Access to fetch at 'https://www.sherpa-map.com:8443/graphhopper-route?point=42.841992652495925%2C-91.40247780075161&point1=39.4504787032215%2C-119.72785130193307&type=json&locale=en&profile=any_any_any&elevation=true' from origin 'https://www.sherpa-map.com' 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.
Javascript.js:6971
GET https://www.sherpa-map.com:8443/grap...elevation=true net::ERR_FAILED 200
fetchGraphHopperData @ Javascript.js:6971
addEdge @ Javascript.js:7190
addPoint @ Javascript.js:8882
onMapClick @ Javascript.js:9571
fire @ Events.js:195
_fireDOMEvent @ Map.js:1452
_handleDOMEvent @ Map.js:1401
o @ DomEvent.js:108
c @ rocket-loader.min.js:1
Javascript.js:6971
Uncaught (in promise) TypeError: Failed to fetch
at Edge.fetchGraphHopperData (Javascript.js:6971:36)
at Route.addEdge (Javascript.js:7190:31)
at Route.addPoint (Javascript.js:8882:25)
at e.onMapClick (Javascript.js:9571:17)
at e.fire (Events.js:195:9)
at e._fireDOMEvent (Map.js:1452:15)
at e._handleDOMEvent (Map.js:1401:8)
at HTMLDivElement.o (DomEvent.js:108:13)
at HTMLDivElement.c (rocket-loader.min.js:1:9405)
fetchGraphHopperData @ Javascript.js:6971
addEdge @ Javascript.js:7190
addPoint @ Javascript.js:8882
onMapClick @ Javascript.js:9571
fire @ Events.js:195
_fireDOMEvent @ Map.js:1452
_handleDOMEvent @ Map.js:1401
o @ DomEvent.js:108
c @ rocket-loader.min.js:1
await in c (async)
fire @ Events.js:195
_fireDOMEvent @ Map.js:1452
_handleDOMEvent @ Map.js:1401
o @ DomEvent.js:108
c @ rocket-loader.min.js:1
Javascript.js:6970 https://www.sherpa-map.com:8443/grap...elevation=true
www.sherpa-map.com/:1 Access to fetch at 'https://www.sherpa-map.com:8443/graphhopper-route?point=42.841992652495925%2C-91.40247780075161&point1=39.44875595148566%2C-119.74059440968196&type=json&locale=en&profile=any_any_any&elevation=true' from origin 'https://www.sherpa-map.com' 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.
Javascript.js:6971
GET https://www.sherpa-map.com:8443/grap...elevation=true net::ERR_FAILED 200
fetchGraphHopperData @ Javascript.js:6971
addEdge @ Javascript.js:7190
addPoint @ Javascript.js:8882
onMapClick @ Javascript.js:9571
fire @ Events.js:195
_fireDOMEvent @ Map.js:1452
_handleDOMEvent @ Map.js:1401
o @ DomEvent.js:108
c @ rocket-loader.min.js:1
Javascript.js:6971
Uncaught (in promise) TypeError: Failed to fetch
at Edge.fetchGraphHopperData (Javascript.js:6971:36)
at Route.addEdge (Javascript.js:7190:31)
at Route.addPoint (Javascript.js:8882:25)
at e.onMapClick (Javascript.js:9571:17)
at e.fire (Events.js:195:9)
at e._fireDOMEvent (Map.js:1452:15)
at e._handleDOMEvent (Map.js:1401:8)
at HTMLDivElement.o (DomEvent.js:108:13)
at HTMLDivElement.c (rocket-loader.min.js:1:9405)
Last edited by spelger; 06-06-23 at 04:32 PM. Reason: added additional debug info, second debug addition.
Likes For spelger:
Likes For jaxgtr:
#36
Newbie
I'm on my personal laptop and having issues also. Tried Chrome and Edge, and with both I can slick a starting point but then nothing after that.
Likes For BruceA78:
#37
Senior Member
I am using firefox and it works just fine outside of the route deletion issue I already posted. One thing for sure firefox does present long delays from when I input a route to displaying the route. Aside from this stuff, I like what I see so far.
Likes For TiHabanero:
#38
Senior Member
Thread Starter
The cors error seems to be more a catch-all than a real diagnostic, I actually receive the same errors if I access this on my work computer. As my current setup clearly causes some type of security issue for the backend because of the custom port and the cross-origin request to the frontend (even though it's been allowed), and it seems to be an annoyingly large percentage of the users are experiencing this my only solution will be changing to business internet. I was hoping to get away for a while without doing that, because of the increased cost with slower download speeds (and I like netflix as much as the next guy) but I'd really love it to work much better for more people. I'd also love to show it off to the cycling club at my work...
Also, I would have responded sooner but I also went out for a ride! And BBQ, it's the only thing that takes a higher priority than this for me :
Also, I would have responded sooner but I also went out for a ride! And BBQ, it's the only thing that takes a higher priority than this for me :
Likes For firebird854:
#39
Senior Member
Thread Starter
I have good news to anyone attempting to access the site and having an issue actually creating routes, I redid how all the backend logic works and got everything running smoothly on port 443! So, it should be accessible on work VPNs and trusted all over! if anyone still has issues, please let me know!
Likes For firebird854:
#40
Newbie
I have good news to anyone attempting to access the site and having an issue actually creating routes, I redid how all the backend logic works and got everything running smoothly on port 443! So, it should be accessible on work VPNs and trusted all over! if anyone still has issues, please let me know!
#41
Senior Member
Thread Starter
You just made my day! (I was just struggling with a water bladder in a frame bag that just exploded sticky Gatorade everywhere, so I kind of needed that) If you have any suggestions, feedback, or ideas, please do let me know.
#42
Senior Member
Join Date: Dec 2015
Location: San Diego
Posts: 704
Bikes: 1978 Bruce Gordon, 1977 Lippy, 199? Lippy tandem, Bike Friday NWT, 1982 Trek 720, 2012 Rivendell Atlantis, 1983 Bianchi Specialissima?
Mentioned: 11 Post(s)
Tagged: 0 Thread(s)
Quoted: 345 Post(s)
Liked 170 Times
in
105 Posts
I have good news to anyone attempting to access the site and having an issue actually creating routes, I redid how all the backend logic works and got everything running smoothly on port 443! So, it should be accessible on work VPNs and trusted all over! if anyone still has issues, please let me know!
Likes For L134:
#43
Senior Member
Join Date: Dec 2015
Location: San Diego
Posts: 704
Bikes: 1978 Bruce Gordon, 1977 Lippy, 199? Lippy tandem, Bike Friday NWT, 1982 Trek 720, 2012 Rivendell Atlantis, 1983 Bianchi Specialissima?
Mentioned: 11 Post(s)
Tagged: 0 Thread(s)
Quoted: 345 Post(s)
Liked 170 Times
in
105 Posts
I've done a little playing close to home to get an idea as to what the program will calculate compared to myself. Just as an example, I could set a start point at the junction of a paved road and a sometimes paved, sometimes not, well used bike path with an end point along that same path. I could not get the program to take me from beginning to end on that path no matter how I changed the settings. So, I went to Garmin Connect and selected the same start and end points and got exactly what I would have hoped for on my first try. I am assuming Garmin Connect and Strava are able to pull upon the data of a lot of cyclists to factor in where people actually ride. I am supposing you don't have access to that kind of data? For whatever it is worth, I tried switching between any route, leisure , race, paved, un-paved etc. If I clicked the show gravel button, most of the gravel I know about would show but I could not figure out how to get myself routed on almost any of it.
Garmin was set for gravel/unpaved and follow popular routes. Garmin's route was 7.03 miles on paved and unpaved bike path, your route 6.8 on paved surface roads. I thought coding yours to leisure would eliminate distance as a priority?
My intent is to try to be helpful, not critical for the sake of being critical. Playing close to home gives me an idea of what I'm likely to get in places I don't know.
Garmin was set for gravel/unpaved and follow popular routes. Garmin's route was 7.03 miles on paved and unpaved bike path, your route 6.8 on paved surface roads. I thought coding yours to leisure would eliminate distance as a priority?
My intent is to try to be helpful, not critical for the sake of being critical. Playing close to home gives me an idea of what I'm likely to get in places I don't know.
#44
Senior Member
Thread Starter
Fascinating! To my knowledge, most of these groups are using the same underlying dataset for the routing that we use, which is simply https://www.openstreetmap.org/. Some of these groups, such as Strava and Garmin use a custom weighting algorithm to help keep cyclists on popular routes using their heatmaps, which, is a double-edged sword, because the brightest heatmaps are often times people's commutes, which don't always take the most scenic routes...
Most of these groups use the same routing engine we do, Graphhopper, it's a super robust engine that we host locally and I've edited a bit to send back the different surface types.
All I can imagine is that that bike path has perhaps been a recent addition to Open Street Map and the dataset we fed to Graphhopper hasn't included it. (it takes a week to build that program, and around 600gigs of ram)
I'd love to do some querying in my osm database to see what the situation might be, would happen to know the name of that bike path? or have a coordinate point on it so I could take a look?
Also, frankly, I appreciate any feedback! It's how I know what to prioritize. Cool addition I made today too if you clear you feel like clearing your cache and reloading the page, I added a "AI Route Insight" button that uses Chat GPT API to retrieve information about the area your route is in.
Most of these groups use the same routing engine we do, Graphhopper, it's a super robust engine that we host locally and I've edited a bit to send back the different surface types.
All I can imagine is that that bike path has perhaps been a recent addition to Open Street Map and the dataset we fed to Graphhopper hasn't included it. (it takes a week to build that program, and around 600gigs of ram)
I'd love to do some querying in my osm database to see what the situation might be, would happen to know the name of that bike path? or have a coordinate point on it so I could take a look?
Also, frankly, I appreciate any feedback! It's how I know what to prioritize. Cool addition I made today too if you clear you feel like clearing your cache and reloading the page, I added a "AI Route Insight" button that uses Chat GPT API to retrieve information about the area your route is in.
#45
Senior Member
Join Date: Dec 2015
Location: San Diego
Posts: 704
Bikes: 1978 Bruce Gordon, 1977 Lippy, 199? Lippy tandem, Bike Friday NWT, 1982 Trek 720, 2012 Rivendell Atlantis, 1983 Bianchi Specialissima?
Mentioned: 11 Post(s)
Tagged: 0 Thread(s)
Quoted: 345 Post(s)
Liked 170 Times
in
105 Posts
Fascinating! To my knowledge, most of these groups are using the same underlying dataset for the routing that we use, which is simply https://www.openstreetmap.org/. Some of these groups, such as Strava and Garmin use a custom weighting algorithm to help keep cyclists on popular routes using their heatmaps, which, is a double-edged sword, because the brightest heatmaps are often times people's commutes, which don't always take the most scenic routes...
Most of these groups use the same routing engine we do, Graphhopper, it's a super robust engine that we host locally and I've edited a bit to send back the different surface types.
All I can imagine is that that bike path has perhaps been a recent addition to Open Street Map and the dataset we fed to Graphhopper hasn't included it. (it takes a week to build that program, and around 600gigs of ram)
I'd love to do some querying in my osm database to see what the situation might be, would happen to know the name of that bike path? or have a coordinate point on it so I could take a look?
Also, frankly, I appreciate any feedback! It's how I know what to prioritize. Cool addition I made today too if you clear you feel like clearing your cache and reloading the page, I added a "AI Route Insight" button that uses Chat GPT API to retrieve information about the area your route is in.
Most of these groups use the same routing engine we do, Graphhopper, it's a super robust engine that we host locally and I've edited a bit to send back the different surface types.
All I can imagine is that that bike path has perhaps been a recent addition to Open Street Map and the dataset we fed to Graphhopper hasn't included it. (it takes a week to build that program, and around 600gigs of ram)
I'd love to do some querying in my osm database to see what the situation might be, would happen to know the name of that bike path? or have a coordinate point on it so I could take a look?
Also, frankly, I appreciate any feedback! It's how I know what to prioritize. Cool addition I made today too if you clear you feel like clearing your cache and reloading the page, I added a "AI Route Insight" button that uses Chat GPT API to retrieve information about the area your route is in.
At any rate, here is a screenshot of what Sherpa gave me with my rough trail route marked in red. It is, basically, the Sweetwater Bikeway (https://www.traillink.com/trail/sweetwater-bikeway/) and Sweetwater Park Trail in San Diego County. Neither is new or obscure. There is also Sweetwater River Trail and, honestly, I'm not sure what is what. Sherpa seems to show most of them but I just can't get it to route me on them.
OK, here is another Garmin redo. It gets some of the trail but not all. It starts on a trail (I don't know if it has a name) that Sherpa ignores (though shows) but seems to bypass the Sweetwater Park Trail before connecting with the Sweetwater Bikeway. The Sweetwater Park Trail may be considered more of a hiking and running trail but it is biked, legally as far as I know.
And here is my Strava heatmap that picks up more of the Sweetwater Park Trail.
You can see that I've never ridden the Sherpa route, which in itself doesn't mean a whole lot. Maybe I'll give it a try sometime but, usually, I would be riding in this area for the purpose of being on the trail. Mostly, I picked starting and ending points which I knew could be connected by trail rather than roads to see what the software would do. Neither point is somewhere I would actually ever start or end a ride.
Finally, finally, here is what Strava gives me following most popular and prefer dirt. It would be pretty much exactly what I had in mind:
Hope I didn't get too carried away...