Go Back  Bike Forums > Bike Forums > General Cycling Discussion
Reload this Page >

Roommates and I made a new cycling routing app!!

Notices
General Cycling Discussion Have a cycling related question or comment that doesn't fit in one of the other specialty forums? Drop on in and post in here! When possible, please select the forum above that most fits your post!

Roommates and I made a new cycling routing app!!

Old 06-06-23, 09:31 AM
  #26  
firebird854
Senior Member
Thread Starter
 
Join Date: Oct 2017
Location: Wisconsin
Posts: 581

Bikes: 2016 Specialized Tarmac Expert

Mentioned: 5 Post(s)
Tagged: 0 Thread(s)
Quoted: 258 Post(s)
Liked 114 Times in 62 Posts
Originally Posted by TiHabanero
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?
The undo button should only remove the route if it was the last undo, a warning message popup should appear asking if you'd like to continue, informing you of the route's deletion. Perhaps the popup was blocked? Beyond this, it should let you undo and redo to your hearts desire.

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.
firebird854 is offline  
Old 06-06-23, 09:35 AM
  #27  
firebird854
Senior Member
Thread Starter
 
Join Date: Oct 2017
Location: Wisconsin
Posts: 581

Bikes: 2016 Specialized Tarmac Expert

Mentioned: 5 Post(s)
Tagged: 0 Thread(s)
Quoted: 258 Post(s)
Liked 114 Times in 62 Posts
Originally Posted by Troul
That's not cool. If it could be set up where you double tap (using phone) or right click (using a mouse) to be given the option to remove that "leg" , that would be a pretty modern feature.
Yeah, so far it's not setup for using mobile, I believe the issue they experienced was an edge case caused by a pop-up blocker (warning that they are on the last undo and the route is cleared if they continue) and some disruption of the indexeddb cache which caused the previous revisions as the route was being built to clear.

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:
firebird854 is offline  
Old 06-06-23, 09:37 AM
  #28  
firebird854
Senior Member
Thread Starter
 
Join Date: Oct 2017
Location: Wisconsin
Posts: 581

Bikes: 2016 Specialized Tarmac Expert

Mentioned: 5 Post(s)
Tagged: 0 Thread(s)
Quoted: 258 Post(s)
Liked 114 Times in 62 Posts
Originally Posted by Troul
sent in fir an account & never received confirmation email. did the common folder checks, no dice.
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)
firebird854 is offline  
Old 06-06-23, 09:53 AM
  #29  
RB1-luvr
I don't know.
 
RB1-luvr's Avatar
 
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.
RB1-luvr is offline  
Likes For RB1-luvr:
Old 06-06-23, 10:22 AM
  #30  
spelger
Senior Member
 
spelger's Avatar
 
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?
spelger is offline  
Old 06-06-23, 10:52 AM
  #31  
firebird854
Senior Member
Thread Starter
 
Join Date: Oct 2017
Location: Wisconsin
Posts: 581

Bikes: 2016 Specialized Tarmac Expert

Mentioned: 5 Post(s)
Tagged: 0 Thread(s)
Quoted: 258 Post(s)
Liked 114 Times in 62 Posts
Originally Posted by spelger
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?
Fascinating, right-click only has a context menu when it is done on a waypoint that is created when clicking around on the map to create a route. It sounds like the backend isn't connecting so you just get the first point, but it doesn't make the additional points. Due to the fact I'm hosting this on a residential internet connection in America, where internet companies are like cartels and give very few business-like options unless you really through a lot of $$$$ at it, we had to do a mega workaround through Cloudflare just to get the frontend working on a standard internet port with a static IP. Unfortunately, that's not quite the same with the backend, the backend is running on port 8443 which is often blocked by work VPNs, this seems to be the typical issue where only the green dot appears but no routing is available.

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:
firebird854 is offline  
Old 06-06-23, 01:18 PM
  #32  
spelger
Senior Member
 
spelger's Avatar
 
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
spelger is offline  
Old 06-06-23, 01:35 PM
  #33  
firebird854
Senior Member
Thread Starter
 
Join Date: Oct 2017
Location: Wisconsin
Posts: 581

Bikes: 2016 Specialized Tarmac Expert

Mentioned: 5 Post(s)
Tagged: 0 Thread(s)
Quoted: 258 Post(s)
Liked 114 Times in 62 Posts
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.
firebird854 is offline  
Old 06-06-23, 03:09 PM
  #34  
spelger
Senior Member
 
spelger's Avatar
 
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)

Last edited by spelger; 06-06-23 at 04:32 PM. Reason: added additional debug info, second debug addition.
spelger is offline  
Likes For spelger:
Old 06-06-23, 03:48 PM
  #35  
jaxgtr
Senior Member
 
jaxgtr's Avatar
 
Join Date: Jul 2006
Location: Jacksonville, FL
Posts: 6,830

Bikes: Trek Domane SLR 7 AXS, Trek CheckPoint SL7, Trek Emonda ALR, Trek FX 5 Sport

Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Quoted: 751 Post(s)
Liked 1,666 Times in 980 Posts
This is nicely done.
__________________
Brian | 2023 Trek Domane SLR 7 AXS | 2023 Trek CheckPoint SL 7 AXS | 2016 Trek Emonda ALR | 2022 Trek FX Sport 5
Originally Posted by AEO
you should learn to embrace change, and mock it's failings every step of the way.



jaxgtr is offline  
Likes For jaxgtr:
Old 06-06-23, 03:58 PM
  #36  
BruceA78
Newbie
 
Join Date: May 2020
Location: Kansas City, MO
Posts: 55

Bikes: 2022 Specialized Diverge Expert Carbon & 2020 Specialized Sirrus 6.0

Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 22 Post(s)
Liked 92 Times in 28 Posts
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.
BruceA78 is offline  
Likes For BruceA78:
Old 06-07-23, 08:05 AM
  #37  
TiHabanero
Senior Member
 
Join Date: Nov 2012
Posts: 4,435
Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
Quoted: 1726 Post(s)
Liked 1,350 Times in 705 Posts
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.
TiHabanero is offline  
Likes For TiHabanero:
Old 06-07-23, 09:19 AM
  #38  
firebird854
Senior Member
Thread Starter
 
Join Date: Oct 2017
Location: Wisconsin
Posts: 581

Bikes: 2016 Specialized Tarmac Expert

Mentioned: 5 Post(s)
Tagged: 0 Thread(s)
Quoted: 258 Post(s)
Liked 114 Times in 62 Posts
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 :
firebird854 is offline  
Likes For firebird854:
Old 06-08-23, 02:36 PM
  #39  
firebird854
Senior Member
Thread Starter
 
Join Date: Oct 2017
Location: Wisconsin
Posts: 581

Bikes: 2016 Specialized Tarmac Expert

Mentioned: 5 Post(s)
Tagged: 0 Thread(s)
Quoted: 258 Post(s)
Liked 114 Times in 62 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!
firebird854 is offline  
Likes For firebird854:
Old 06-08-23, 03:25 PM
  #40  
BruceA78
Newbie
 
Join Date: May 2020
Location: Kansas City, MO
Posts: 55

Bikes: 2022 Specialized Diverge Expert Carbon & 2020 Specialized Sirrus 6.0

Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 22 Post(s)
Liked 92 Times in 28 Posts
Originally Posted by firebird854
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!
Just tried it again and seems to be working much better for me! I am able to make a route and change it to use lowest elevation. I will test out some more in the next couple days to plan out some of my weekend rides and let you know if I encounter any other issues.
BruceA78 is offline  
Old 06-08-23, 04:17 PM
  #41  
firebird854
Senior Member
Thread Starter
 
Join Date: Oct 2017
Location: Wisconsin
Posts: 581

Bikes: 2016 Specialized Tarmac Expert

Mentioned: 5 Post(s)
Tagged: 0 Thread(s)
Quoted: 258 Post(s)
Liked 114 Times in 62 Posts
Originally Posted by BruceA78
Just tried it again and seems to be working much better for me! I am able to make a route and change it to use lowest elevation. I will test out some more in the next couple days to plan out some of my weekend rides and let you know if I encounter any other issues.
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.
firebird854 is offline  
Old 06-09-23, 07:56 AM
  #42  
L134 
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
Originally Posted by firebird854
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!
Seems to work for me now too. I'm looking forward to playing with this. Thanks!
L134 is offline  
Likes For L134:
Old 06-09-23, 10:56 AM
  #43  
L134 
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.
L134 is offline  
Old 06-09-23, 02:43 PM
  #44  
firebird854
Senior Member
Thread Starter
 
Join Date: Oct 2017
Location: Wisconsin
Posts: 581

Bikes: 2016 Specialized Tarmac Expert

Mentioned: 5 Post(s)
Tagged: 0 Thread(s)
Quoted: 258 Post(s)
Liked 114 Times in 62 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.
firebird854 is offline  
Old 06-09-23, 04:05 PM
  #45  
L134 
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
Originally Posted by firebird854
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.
I am going to have to apologize now because my Garmin session timed out without my saving the route. When I go back in, it is NOT routing me on the trail. It may be that the road route I am now getting was close enough to the trail that I assumed it was on the trail but the new road route I'm getting is 5.47 miles vs. what I thought was a trail route at 7? Maybe this is more indicative of my competence?

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...
L134 is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Thread Tools
Search this Thread

Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.