Menu

Navionics maps with red cross

2024-08-29
2025-07-03
  • Vincent BertGui

    Vincent BertGui - 2024-08-29

    Hi,
    I am trying to use Monde-Marine-Garmin-Navionics-8m-nav.bsh but I always got red cross. I attached the script and the red cross screenshot.
    Does someone can help?

     

    Last edit: Vincent BertGui 2024-08-29
  • Nicolas PAOUR

    Nicolas PAOUR - 2024-08-29

    Hello,
    Garmin bought Navionics, and authentication was changed. I'm working on this script, sorry for posting it.
    I'll get back to work soon
    Nicolas

     
  • Vincent BertGui

    Vincent BertGui - 2024-08-30

    Many thanks for the job !

     
  • Nicolas PAOUR

    Nicolas PAOUR - 2024-09-02

    For the old Navionics site, the script was

    GetNavToken()
    {
        String VTimeStamp;
        String Result;
        int VResponseCode;
    
        VTimeStamp = String.valueOf(System.currentTimeMillis());    
        URL url = new URL("https://backend.navionics.com/tile/get_key/NAVIONICS_WEBAPP_P01/webapp.navionics.com?_=" + VTimeStamp);
        HttpURLConnection connection = (HttpURLConnection) url.openConnection();
        connection.setRequestMethod("GET");
        connection.setRequestProperty("Referer","https://webapp.navionics.com/");
        VResponseCode = connection.getResponseCode();  
        InputStream out = connection.getContent();
        BufferedReader reader = new BufferedReader(new InputStreamReader(out, "iso-8859-1"), 8);
        StringBuilder sb = new StringBuilder();
        String line = null;
            while ((line = reader.readLine()) != null) // Read line by line
            sb.append(line + "\n");
        String resString = sb.toString(); // Result is here
        out.close(); // Close the stream
            if (VResponseCode == 200) {
            Result = resString;
            }
        return Result;
    }
    

    but it is no longer the same mechanism

     

    Last edit: Nicolas PAOUR 2024-09-02
  • Laurent Grenet

    Laurent Grenet - 2024-09-05

    Congratulations !

     
  • Vincent BertGui

    Vincent BertGui - 2024-09-05

    :-)) it works !!
    thank you very much!

     
  • Michal Králik

    Michal Králik - 2025-06-24

    Hello Nicolas
    It seems that the error reoccurs after a while. Can you please take a look? Many thanks
    Michal

     
  • Nicolas PAOUR

    Nicolas PAOUR - 2025-06-24

    Yes, I see.
    I'll come back after found a solution
    Nicolas

     
  • Nicolas PAOUR

    Nicolas PAOUR - 2025-07-01

    Hi Michal,
    The entire security procedure has changed :
    1-New config token in URL (solved)
    2-New Bearer token in http header (solved)
    3-Using cloudflare (this seems to be the problem)
    I show you my research, but I can't find the solution.
    I'll be back soon (I hope)
    Nicolas

     

    Last edit: Nicolas PAOUR 2025-07-01
  • Michal Králik

    Michal Králik - 2025-07-01

    Hi Nicolas,
    No worries, you're still a real hero to me, and a big thanks for all the .bsh files you offer. Amazing work, keep it up. Thank you!
    Michal

     
  • Laurent Grenet

    Laurent Grenet - 2025-07-03

    Ca c'est du hack de grande classe ! Bravo !

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.