FSDreamTeam forum

Products Support => XPOI FSX/P3D => Topic started by: achmedfsx on December 26, 2022, 07:19:48 pm

Title: Geonames servers out of service ?
Post by: achmedfsx on December 26, 2022, 07:19:48 pm
The last weeks, I get a message about no connection to any Geoname servers.
So I'm missing POIs except the SIM internal VOR/NDB/airport.

What I found: http://www.geonames.org/maps/wikipedia.html ->
"This map view is currently disabled. Thanks for your understanding."

Is there anything I can do to get the landscape POIs back ?

Title: Re: Geonames servers out of service ?
Post by: achmedfsx on January 08, 2023, 09:09:02 pm
Hmm...XPOI still doesn't show POIs other than P3D navaids and airports.
Any solution ?
Title: Re: Geonames servers out of service ?
Post by: achmedfsx on February 12, 2023, 06:39:37 pm
Still get message about no geonames servers, no help here ?  :-[
Title: Re: Geonames servers out of service ?
Post by: virtuali on February 13, 2023, 04:21:36 pm
I can't reproduce the problem, XPOI works normally here.
Title: Re: Geonames servers out of service ?
Post by: jimre6 on February 14, 2023, 12:29:57 am
Achmedfsx is not experiencing this outage on his own, it seems...
For literally months now, my purchased XPOI v2.2.0 mirrors the problem Achmedfsx describes... 
It originally was fully functional, but now only indicates VOR's & Airports.   Any other selected Points of Interest are no longer produced.
The software, in my case, tries to connect to Geoname's server  api.geonames.org  for this data,  but this only creates a resulting screen banner, stating:
 "the maxRows is too big for the free service, max=500,  use the premium service for up to 2000,  trying another server"
This is then very quickly followed by another screen banner, stating:
 "XPOI - GeoNames server  ws.geonames.org  not responding, no more servers to try"

My XPOI's current settings are as follows:

[settings]
geoNamesServers = ws.geonames.org
enableFacilities = 1
titlesDistance = 100
enableWikipedia = 0
enableGeonames = 1
geoNamesServersApi = api.geonames.org
inexactPois = 1
floatingFacilities = 1
wikiLanguage = en
whichFacilities = 3

[featureClasses]
H = 0 0 STM GLCR
L = 2 0 PRT
P = 2 0 PPLA LCTY PPL
S = 2 0 AIRP
U = 0 1
T = 0 1 BCH MT HLL ISL CAPE PLN
V = 0 1 FRST

Assured to hear that your's still functions (unable to reproduce the problem) but something definitely has changed in XPOI's connectivity to geoname's operational free servers !!
Can you possibly liaise with Geonames.org  to confirm what functioning servers to target with this software... ??   and advise us of what's required to restore XPOI's functionality...
It's a fabulous FSX sim addition, and at the moment, it's very much missed...
Hope you can resolve this for us.
Title: Re: Geonames servers out of service ?
Post by: achmedfsx on February 19, 2023, 04:07:40 pm
From my XPOI.ini:

geoNamesServers = ws.geonames.org
nslookup ws.geonames.org -> no IP address
http://ws.geonames.org -> Firefox "Hmm. We’re having trouble finding that site."
https://ws.geonames.org -> Firefox "Hmm. We’re having trouble finding that site."

geoNamesServersApi = api.geonames.org
http://api.geonames.org/ -> Firefox "You are not authorized for this request, please login." with User/Password menu



Another try:
http://www.geonames.org/hotel/ , clicked the sample links to ws.geonames.org/find...
-> "Hmm. We’re having trouble finding that site."

I found a similar problem in 2019 here:
https://stackoverflow.com/questions/55557301/how-to-fix-problems-connecting-to-geonames-server-http-ws-geonames-org
WARNING: problems connecting to geonames server http://ws.geonames.org
java.net.UnknownHostException: ws.geonames.org

Anwswer:Well, the host "ws.geonames.org" does indeed not exists, but "api.geonames.org" exists.

Just another thought:
Do I have an account for api.geonames.org or has XPOI its own internal credentials ?

On their "services.html" page, I found
GeoNames data is available under a liberal creative commons attributions licence. For professional users and mission critical applications the GeoNames team is offering commercial services. The revenues generated with the commercial services help to keep the data free and guarantee the continuance and future maintenance of the project.


On the "export" page, I found
Terms and Conditions
    free : GeoNames data is free, the data is available without costs.
    cc-by licence (creative commons attributions license). You should give credit to GeoNames when using data or web services with a link or another reference to GeoNames.
    commercial usage is allowed
    'as is' : The data is provided "as is" without warranty or any representation of accuracy, timeliness or completeness.
    20'000 credits daily limit per application (identified by the parameter 'username'), the hourly limit is 1000 credits. A credit is a web service request hit for most services. An exception is thrown when the limit is exceeded.
    Service Level Agreement is available for our premium web services.


BTW my XPOI installation is an older one, bought it at the flightsimstore that doesn't exist anymore.
As I save all registration codes in an Excel sheet, that and my former flightsimstore mail address are the only leftover, no download material (except maybe some backup on DVD deep in my dark, dusty cellar).
So a new installation would be a time consuming process.






Title: Re: Geonames servers out of service ?
Post by: achmedfsx on February 19, 2023, 05:19:59 pm
Deeper dive:

- searching geonames POI by XPOI commands menu works
- disable/re-enable geonames in the settings menu shows "no more geonames servers"
- procmon shows me in both cases a tcpip connection to ws7.geonames.org by http
  (TCP connect, send , tcpcopy, receive, tcpcopy, receive)

So it seems not a problem with network access to geonames.
Title: Re: Geonames servers out of service ?
Post by: virtuali on February 28, 2023, 11:48:41 pm
"the maxRows is too big for the free service, max=500,  use the premium service for up to 2000,  trying another server"

If you got this error, it's because you haven't updated the program, since in November 2022, we had an update that makes queries with maximum 500 items, to comply with the changed policy on geonames.org.

Title: Re: Geonames servers out of service ?
Post by: achmedfsx on March 02, 2023, 05:49:50 pm
Hmm, so how to get further ?
I bought XPOI in December 2015 at FlightSimStore from where I got a license key.
As I collect all product keys in Excel, I know my former mail address at flightsimstore and the license key.
But as FlightSimStore doesn't exist anymore, I cannot download it from there.
So do I have to buy the product again to get the newest update ?
(I may have the former version on DVD in my dusty cellar but FSDT Live Update seem not able to update XPOI).
Title: Re: Geonames servers out of service ?
Post by: achmedfsx on March 05, 2023, 09:22:47 am
What I did the last minutes:

downloaded the installer from your website, klicked in the XPOI section, it lead me to a XPOI download site from where I downloaded setup_xpoi.exe (                         version 2.2.0).

I run this setup, it seems to install XPOI again (didn't remove former version).
First start of P3D V4.5 HF3, Addon Manager stated "TRIAL version" for GSX, GSX LVL2 and XPOI.
Stopped P3D V4.5 HF3, run FSDT Live Update.
Second start of P3D V4.5 HF3, Addon Manager now states "Registered".
No XPOI arrows at all, so I enabled something like "local facilities" in XPOI:
ok, airports, VORs, NDBs back.

But same message "no more geoname servers". 

While all these steps, Kaspersky was stopped.                                                             

Title: Re: Geonames servers out of service ?
Post by: achmedfsx on March 08, 2023, 05:09:54 pm
If you got this error, it's because you haven't updated the program, since in November 2022, we had an update that makes queries with maximum 500 items, to comply with the changed policy on geonames.org.

As I've writen some days ago, a re-install followed by a Live Update didn't help me, so have you any hint about
Title: Re: Geonames servers out of service ?
Post by: jimre6 on March 09, 2023, 09:39:14 pm
Again...  I can commiserate with your frustrations  : (
I'd only days ago, purged my Win7 PC, once again, of all things XPOI, and downloaded FSDT's latest version from their own website...
However... once it's installer was complete, I'd discovered that it produced the very same troublesome version 2.2.0.0, as I'd just purged !!
Then, like you, I ran it's 'Live Update', but to no avail...
It still tries to connect to Geoname's server  api.geonames.org  to acquire their data,  and this still creates the resulting screen banner:
 "the maxRows is too big for the free service, max=500,  use the premium service for up to 2000,  trying another server"
then very quickly, is followed by another screen banner, stating:
 "XPOI - GeoNames server  ws.geonames.org  not responding, no more servers to try"
So this latest available/downloadable version (2.2.0.0) still generates these Geoname connect errors !!

Now we're left with having to convince FSDT, of this continuing connect failure, and campaign for an update that resolves the problem...
Never give up...  we'll somehow convince someone to have another look...  please !!
Title: Re: Geonames servers out of service ?
Post by: achmedfsx on March 09, 2023, 09:42:03 pm
Your uninstallation/installation process is really a mess and I'm totally frustrated.

First, I tried to uninstall GSX, XPOI, Addon Manager - Windows told me it has removed them, but the folder AddonManager was left and not empty. So I moved manually the AddonManager folder to another disk (for backup purposes).

The installation process is even obscure, I downloaded the universal installer, it told me, it cannot install nor GSX nor XPOI
and lead me to a download page. Clicking on P3D, I came to a download site without XPOI.
Finally, I found the XPOI installer under FSX software...ok, I tried my luck.
Downloaded GSX Level 2 (bought it last year at simmarket) and XPOI installer, installed it.
The installers told me they have to close the couatl_updater2 (or something like this), but they couldn't do it in the end.
Don't know what happened in detail - after one hour of fiddling, I nearly lost my mind.

It seems, the product were installed (in P3D the addon manager showed me them in trial mode) but trying to register my keys,
it tells me that the couatl scripting engine isn't running (but I see a "couatl_... 32bit" process running).
Running Live Update doesn't help - Live Update runs for just a second (until today, it downloaded some files and needed about 15-30 seconds at minimum).

So what ? I try not to get angry...so: is there some document how I can remove completely all FSDT software
for a new installation ?
Title: Re: Geonames servers out of service ?
Post by: achmedfsx on March 09, 2023, 09:45:34 pm
Again...  I can commiserate with your frustrations  : (
...
Never give up...  we'll somehow convince someone to have another look...  please !!
I'm about to remove all FSDT from my rigg. Troubles with GSX, XPOI not working,
uninstallation incomplete, installation with bugs, hard to find downloads, don't know if FSX or P3D too,
now unusable for the missing couatl scripting thing.
But I cannot even remove it from disk as the uninstallers seem not work correctly.
Totally unhappy...
Title: Re: Geonames servers out of service ?
Post by: virtuali on March 10, 2023, 01:21:21 pm
The installation works perfectly fine, and XPOI works too, provided you have the latest version with the fix discussed here.

The ONLY issue was the Live Updater, that didn't update XPOI correctly, the problem has been fixed in the current version of the Live Update, which will automatically downloaded when the updater starts.

So, again, the sure way to fix this is:

- Install XPOI with the latest installer.

- Run the FSDT Live Update.

And of course, the usual suggestion of being sure the antivirus is not interfering, meaning adding the whole "Addon Manager" folder to the Antivirus EXCLUSIONS.
Title: Re: Geonames servers out of service ?
Post by: achmedfsx on March 10, 2023, 07:09:24 pm
Brought it back to work, maybe these steps help someone else...

1. Uninstall GSX (Windows Programs&Features)
2. Uninstall XPOI (Windows Programs&Features)
   Answer "Remove AddonManager ?" -> Yes
3. Uninstall Universal Installer (Windows Programs&Features)

   Installation folder C:\Games\FSDT\Addon Manager leftovers: Couatl_Updater2.exe, Couatl_Updater.exe, XML-Dateien
   and a directory Couatl64 with QlmLicenseLib.dll and .manifest

4. Removed manually Subdirectory "Addon Manager"
   P3D V4 environment examined with Lorby Addon Organizer (https://www.lorby-si.com/downloads.html): searched for FSDT, GSX, XPOI in all tabs, nothing found

5. Started P3D 4.5 HF3
   No special message

6. Regedit
   HKEY_CURRENT_USER\SOFTWARE\FSDreamTeam
   - contains some GSX parameters
   - Subtree GSX, GSX Level 2, XPOI contain only serial numbers, not deleted !
   HKEY_LOCAL_MACHINE\SOFTWARE\FSDreamTeam
   - Only subtrees GSX , GSX Level2 Expansion, XPOI with content Name: SerialNumber, Data: my license keys
   
   These trees contain my former flightsimstore keys (key in name field)
   HKEY_CURRENT_USER\SOFTWARE\eSellerate\Activations\PUB9932588035\ACT725435328
   HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\eSellerate\Activations\PUB9932588035\ACT725435328

   I left all these entries
   
7. Downloaded these three installers (Universal Installer, GSX+GSX Level2, XPOI)
   - FSDT_Universal_Installer.exe from FSDT https://www.fsdreamteam.com/products_addonmanager.html
      Attention ! I didn't download the Addon Manager from this site, it's for FS9
   - gsx_p3d4_setup.exe from https://www.fsdreamteam.com/products_p3d.html
      Attention ! GSX and GSX Level 2 Expansion installers are equal: GSX Level 2 is part of the GSX installer
   - setup_xpoi.exe von https://www.fsdreamteam.com/products_fsx.html
      Although "FSX site" XPOI has to be downloaded from here as it works for P3D V4 too

8. Kaspersky Exception
   "gearwheel" -> "Threats and Exclusions" -> Add
   -> File or Folder: C:\Games\FSDT (my FSDT target folder) including subdirectories
   -> leave object and hash fields empty
   -> protection components: all components
   -> state : activ
   -> add
   -> back to "Threats and Exclusions" and "save"
   
9. While installing, stopped Kaspersky temporarily

10. Installation FSDT Universal Installer 1.0.90
   Path: C:\Games\FSDT\Addon Manager
   Creates three icons:
   - FSDT Live Update
   - FSDT Installer
   - Start Couatl for GSX MSFS
   afterwards FSDT Live Update was started automatically,
   then the FSDT Universal Installer itself was started automatically
   
11. FSDT Universal Installer
   Clicked on GSX, GSX Level 2, XPOI "Install"
   For all three, the installer mentions, he couldn't install them, with "OK", he calls the download page,
   so I clicked "Cancel" and terminated the installer by Exit
   
12. Installation GSX and GSX Level 2
   Start of gsx_p3d4_setup.exe
   loads "additional files" (2,3 GB), then starts the "GSX Setup Wizard"
   -> Fsdreamteam GSX 2.9.5
   -> installation folder was fixed to my former selection (see above): C:\Games\FSDT\Addon Manager
   -> "Install in prepar3d V4.4+" was activated already
   Installer installs VC++ Redist too
   Then he calls the Live Update and loads a bunch of GSX files.
   Asks me if I want to keep the GSX installer "gsx_p3d_setup2.exe" for future re-installations, I say "Yes"
   -> stored in C:\Users\...\Documents\GSX_Installer
   Three icons added:
   - FSDT GSX Control Panel
   - FSDT GSX Manual
   - FSDT Installation Guide
      
13. Installation XPOI
   Start of setup_xpoi.exe
   -> installation folder was fixed to my former selection (see above): C:\Games\FSDT\Addon Manager
   -> "Install in prepar3d V4.4+" was activated already
   Installer installs VC++ Redist too
   Then he calls the Live Update and loads some files.
   Icon FSDT Live Update was created again
   
14. Running FSDT Universal Installer
   Now the Universal Installer shows GSX, GSX Level 2 and XPOI as "Installed" with a green hook on it.
   Clicked on "Update all", it seems to check the installtion, but no further downloads.

15. First start of P3D V4.5 HF3
   Addon Manager starts, shows all three products as "Trial Mode"
   Trying to register them shows message that the Couatl Scripting Engine couldn't be started.
   Stopped P3D and (as always) wait for process termination (Windows Task Manager: processes)
   
16. Running FSDT Live Update again
   It downloads some files
   
17. Second start of P3D V4.5 HF3
   A "Couatl Debug Window" came up, in Windows Task Manager, I saw "Couatl Scripting Engine for MSFS/P3D"
   Again in P3D the Addon Manager : all three products are active (instead of "trial mode")
   XPOI seems to work, I see icons of the towns but without text
   GSX seems to work, the "Parking Brake to request ground services" voice comes again.
   Stopped P3D and (as always) wait for process termination (Windows Task Manager: processes)
   
18. Third start of P3D V4.5 HF3
   Rebooted Windows, then started P3D
   Didn't notice a "Couatl Debug Window"
   Everything seems to work again.
Title: Re: Geonames servers out of service ?
Post by: jimre6 on March 11, 2023, 03:35:02 am
Whatever you did, virtuali... it worked !!
Re-ran FSDT's Couatl Updaters, yet again, producing it's resultant sizable download... booted up FSX, and Voila...    Houston, we haaave lift-off !!
Been a long haul, this one, from my 1st email to your support@vertualisoftware.com c. 4/11/2022, but as I'd commented in my last post; eventually we'd get there...
So pleased for you too,  Achmedfsx...   you demonstrated having the patience of Job throughout, and I'd found your posts very comprehensive and worthwhile...  You'd very understandably, almost chucked it all in...  but so glad you got your XPOI's functionality back too...  you certainly deserved it !!
Thanks again vertuali for whatever you altered in the latest Live Updater !!
XPOI adds so much to one's Sim flight experience...  I sure missed it !!
Title: Re: Geonames servers out of service ?
Post by: achmedfsx on March 12, 2023, 03:07:59 pm
I have to add a further point, as for my former starts of P3D, I clicked its icon directly.
For my complete setup with some external plugins (TrackIR, Active Sky, Pilot2Atc a.s.o.),
I use a script that has to be started as Administrator - and so the geonames problem was back today.

I'm not sure whether it was Kaspersky or not, but after I defined the "couatl scripting engine" program as trusted,
geonames access worked in this environment too.

19. Fourth Start P3D V4.5: Start by script as "Administrator", message "geonames server not reachable" again
   "gearwheel" -> "Threats and Exclusions" -> Trusted Applications
   -> Added C:\Games\FSDT\Addon Manager\couatl\Couatl.exe
   -> All selections except "Interaction with ..." activated
   -> back to "Threats and Exclusions" and "save"
Title: Re: Geonames servers out of service ?
Post by: virtuali on March 13, 2023, 12:31:43 pm
There wasn't any need to do all that lengthy process, the issue was a very simple one: our new Live Update didn't update XPOI because of a bug in it and nothing you could do before the fix could solve that, what solved it was an updated updater we released last week.

Of course, if the antivirus/firewall is blocking the software from accessing the internet, you'll have all sort of issues, particularly with XPOI, that needs a constant working connection.

Title: Re: Geonames servers out of service ?
Post by: achmedfsx on March 14, 2023, 05:27:13 pm
No problem, see it as a checklist for a complete removal/re-installation with hints about security software.
Originally, I wrote it down for me, but thought it may be useful for others too.