• Resolved Kees66

    (@kees66)


    Went on a trip recently and tried to add some maps to my blog but they do not show up. Then I checked the older pages on my blog and there the maps do not show anymore either. They did work before. Tested with multiple browsers (Edge, Chrome, Brave), WordPress and plugin are on latest version. Even reinstalled the plugin. I’m using the shortcode Waymark file_url on my pages to point to a gpx file on the same server.

    Already checked with adding a shortcode to an example gpx file in post on my website (pointing it to https://www.waymark.dev/assets/geo/track-ele-only.gpx) and that works. But if I download that gpx file and put it on my server it does not work. So that tells me the installation is Ok, but somehow it fails to get the gpx file from my server. Verified that the file is accessible from the internet by opening that url in a browser and was able to download the gpx file with no issue.

    Anyone have any ideas how to troubleshoot this further? It seems like it just cannot load the gpx file for some reason. Could it be that the webserver just cannot resolve the dns name? Is there a way to link internally (for example link to [/wordpress/wp-content/filename] instead of [https://<siteurl>/wordpress/wpcontent/filename])?

    Added link to example page where I was testing.

    • This topic was modified 6 months, 4 weeks ago by Kees66.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Joe

    (@morehawes)

    Hi @kees66,

    Thanks for reaching out and I am sorry to hear you are having issues.

    I appreciated the level of detail you provided, it helps a lot ??

    I’m using the shortcode Waymark file_url on my pages to point to a gpx file on the same server.

    Please could you provide the URL to the GPX file you are using on your server?

    Cheers,

    Joe

    Thread Starter Kees66

    (@kees66)

    Plugin Author Joe

    (@morehawes)

    Hi @kees66,

    Thanks for that. I am able to load the GPX files from your site without any issues.

    This is a strange one! With debug mode enabled and logged in as admin, are you seeing anything output to the browser console?

    Cheers,

    Joe

    Thread Starter Kees66

    (@kees66)

    Debug mode enabled where? In de browser? Or in WordPress?

    Plugin Author Joe

    (@morehawes)

    @kees66,

    I was referring to the Waymark Debug mode (but forgot to include the link!), the output of which is only visible to admins.

    The WordPress debug mode would definitely be worth enabling to help diagnose your issue.

    Please do let me know if you make any discoveries.

    Cheers,

    Joe

    Thread Starter Kees66

    (@kees66)

    Actually I think it has to do with NAT loopback/hairpin settings. I changed providers a few months back and that also meant using a different router which apparently is blocking this loopback/hairpin traffic.

    My webserver runs on a NAS at home behind my NAT router and machines within the LAN cannot access my website using the public IP address. And this includes the webserver itself. To test I tried to do a curl to https://www.duijne.nl from the box itself and indeed that does not work.

    Actually have the same on other computers in my LAN, but did not notice it before as my workstation is always connected to a VPN. I can easily resolve it there by adding a record to my HOSTS file to point to the internal IP address of the webserver. On my NAS that is apparently not that easy…

    Would be nice if the plugin would not actually depend on a full DNS name to access the GPX file (going outside over the internet). The plugin I used before I a switched to Waymark was actually using internal links (without the domain name).

    Thread Starter Kees66

    (@kees66)

    FYI, think I confirmed my suspicions, as I have now added records for duijne.nl and https://www.duijne.nl in the /etc/hosts file on the box running the webserver, which point to the internal IP address of the box. And the maps do show up now.

    Plugin Author Joe

    (@morehawes)

    Thanks for the update! Glad to hear you got it sorted ??

    Cheers,

    Joe

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘My maps stopped working’ is closed to new replies.