MAP NOT WORKING PROPERLY

Travel Forums General Talk MAP NOT WORKING PROPERLY

Page
Last Post
1. Posted by LZACH23 (Budding Member 6 posts) 6w Star this if you like it!

Hi, I am trying to create a new sequence of routes on my map, but when adding a new destination, it keeps displaying "loading routes". Please fix this bug if it is an internal issue. Thank you.

2. Posted by Sander (Moderator 5954 posts) 6w Star this if you like it!

Thanks for the report! I can confirm this isn't working at the moment.

The developer console shows:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://pv7nqz4zti.execute-api.us-east-1.amazonaws.com/dev/routes?oPos=<snip>&dPos=<snip>. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 502.

This needs Peter (the admin) to have a look. It's heading into his evening. Might be he'll still see this and can fix in a matter of hours, could be that it'll only work tomorrow again.

3. Posted by Peter (Admin 7158 posts) 6w Star this if you like it!

Having a look now. It's definitely broken at the moment. Hopefully I'll have a fix for you soon.

4. Posted by LZACH23 (Budding Member 6 posts) 6w Star this if you like it!

No worries. I'm not in a rush at the moment.
You guys make really incredible features, much more detailed and visually pleasing than other products I tried! I'm looking forward to more features coming out in the future. Keep up the nice work!
Have a great day.

5. Posted by Peter (Admin 7158 posts) 6w Star this if you like it!

Ok, well after much hair-pulling I've got it working again. To be honest, it's not entirely clear to me what the issue was because I tried quite a few different things to get it going again. But it's working for now, so touch wood I suppose ...

6. Posted by Sander (Moderator 5954 posts) 6w Star this if you like it!

I'm still not seeing any (rome2rio?) routes load. No option for a custom route either. One attempt at a stop at the end of a trip showed a blank list of routes, but another where I tried adding it in the middle hung as before.

However, given the time you're living at: please go to bed and solve it with a fresh brain tomorrow morning! :)

Is the AWS URL under your control, or does it belong to your source? I'm seeing x-amzn-errortype: InternalServerErrorException and x-cache: Error from cloudfront

[ Edit: Edited on 17 Apr 2023, 16:47 GMT by Sander ]

7. Posted by MarcGaulin (Budding Member 13 posts) 6w Star this if you like it!

I have the same problem, it keeps displaying "loading routes" when I try to add a destination.

8. Posted by LZACH23 (Budding Member 6 posts) 6w Star this if you like it!

Is it because the 3 dollar subscription enabled some advanced features?

9. Posted by Peter (Admin 7158 posts) 6w Star this if you like it!

It's an upstream issue. I get the routing information from Rome2Rio (excellent service if you need multimodal routing). They tightened up some anti-bot measures on their end yesterday and apparently tightened it in such a way that it stopped working for us. It did work briefly for me last night, but that seemed to just be a coincidence.

I'm in touch with them about it, so hopefully it can be sorted today.

10. Posted by Sander (Moderator 5954 posts) 6w Star this if you like it!

Quoting LZACH23

Is it because the 3 dollar subscription enabled some advanced features?

Just to answer this explicitly. No, it has nothing to do with supporter-only features. This is basic map functionality, which depends on an external service, and that external service broke things for us.

@Peter: Probably good to put in a timeout / explicit fallback on our side, where if rome2rio gives an error / is unavailable, you still show the straight/curved line options. (And some info message about trying later if you care about routing.)