Ciao Umberto
About your reply:
- Is the problem solved by restarting the program, in this case the Couatl engine ? If yes, that's something we might improve upon, even if that doesn't necessarily mean it's a GSX problem, it's usually a Simconnect bug, but not serious enough that it won't be fixed by reconnecting to it, which means restarting.
A: No, it is not solved by restarting the program (Couatl). However, this morning this happened to me (spawned and got the error) so I went to your installer, to settings, unchecked the "SU10 API" option, started Couatl, and then it worked.
- Is the problem only solved by restarting MSFS ? In this case, it's nothing that has anything to do with us or that we can fix it, since it's likely caused by a more serious bug in the sim, where Simconnect might not be able to recover by simply reconnecting to it.
A: Sometimes yes, sometimes no, but restarting MSFS is not an option for me (takes 5 minutes to load into world map).
The most likely REASON why Simconnect might bet stuck ( regardless if needs a complete simulator restart or not ), are too many connections caused by using too many Simconnect add-ons at the same time, so it can't keep up with all of them, sometimes it's enough to restart one client, sometimes it requires an MSFS restart.
A: When it fails, the only apps running which (probably) use Simconnect are the Fenix A320 and the Navigraph Simlink, that should not be "too many Simconnect add-ons".
While using the Navdata API has lots of advantages ( no airport cache, faster startup and compatibility with Marketplace airports ), it also makes GSX more reliant on Simconnect, that's why it's an option and is still not default, especially because GSX is likely the first add-on using the new Navdata API for airports, so nobody really knows if it's completely reliable.
A: May I suggest that you add to your software a branching point which, if for whatever reason fetching the data via the API fails with this error -6, it automatically reverts to the older way at least for the rest of the current session?