Wrong Flag on all Teamspeak Servers!

Hello i had yesterday an Russian Federation Flag like for 3 Months. Today i have an Ukrain Flag and i dont use an VPN-Programm. Can somebody help me?

1 Like

Short version

You must ensure that IP2Location knows the location for your IP and the server owner must update his server to latest version or wait for the next update.


Long Version

We use an external service to resolve the country for users. This service needs a database, which is included in the server. Actually this is hardcoded and can not be updated from you. However you can use a custom Maxmind DB. Instructions on how to use one can be found at the end of the post.

We put the update of the country database into the server, when a new server was released.
So always use the latest server to ensure it’s the latest DB, before reporting here.


Here is the way to solve this problem for a future server release. If the latest server did not solve your problem.

  1. Visit 34.66.230.102 IP Geolocation | Council Bluffs, google.com, AS396982, VPN Not Detected [US]
  2. Enter your IP and check the result
  3. Send your update and location to update@ip2location.com in case your country differs on the page.

Please don’t contact IP2Location, when the page already shows the right country.

We grab and use their updates, when we release a new server version.
There is nothing more, that we or you can do here.


I Repeat.

  • Either the server is outdated and does not use the latest location database, meaning you must install the latest server.

  • Or use a custom Maxmind DB which may only be used by experienced users, as it is not part of the standard installation.

If you are already running the latest server version, you need to wait for the next release for the database to be updated.


Using alternate GeoIP databases

The server comes with a built-in geoip lookup to resolve user IP addresses to the country the IP address is assigned to (as seen by the country flags in the client), provided by IP2Location. TeamSpeak Server 3.13.0 also features optional support for specifying your own GeoIP database in the standard MMDB format. It is your responsibility to source and maintain this database. The server does not make any calls to third-party web services, and only works with ā€˜offline’ databases.

Note there is no way to use both databases - it’s either an external one OR the built-in IP2Location.

Requirements

Use of this feature requires libmaxminddb to be installed (this can be found in the package library of most Linux distributions). For Windows, you can find a maxminddb.dll in the ā€˜redist’ folder - please move or copy this into the parent folder.

It is not supported on FreeBSD or macOS.

Usage

To use this, first find yourself a database in MMDB format, and use the mmdbpath command line parameter to specify the path. Please make sure you store it somewhere the TeamSpeak server has access to. If it was found, the logs should say something like:

>./ts3server mmdbpath=geoip-lite.mmdb
...
2020-07-07 10:06:02.075369|INFO    |GeoIP         |   |mmdb database found and will be used for geoip lookups

If there is a problem, the server will warn you and ā€˜fall back’ to the built-in implementation, as you can see here:

>./ts3server mmdbpath=FAKEPATH
...
2020-07-07 10:06:57.759774|WARNING |GeoIP         |   |mmdb database open returned failure (check mmdbpath) : Error opening the specified MaxMind DB file
2020-07-07 10:06:57.759812|WARNING |GeoIP         |   |falling back to standard implementation

Both ā€˜lite’ and ā€˜full’ IP databases should work, with ā€˜full’ databases perhaps offering greater precision - but remember that GeoIP is never 100% accurate.

Configuration for TS6 Servers

Full document can be viewed here: teamspeak6-server/CONFIG.md at main Ā· teamspeak/teamspeak6-server Ā· GitHub

--maxmind-db-path

Path to the MaxMind GeoIP database.
Type: STRING
Environment Variable: TSSERVER_MAXMIND_DB_PATH

7 Likes

Hi guys,
i’ve installed some music bots on my root server which is located in Frankfurt, Germany. My problem is, that the client somehow shows client location South Africa, which doesn’t make sense.

How can i fix that?

Thanks in advance!

Okay, at ip2location it shows the right location and the teamspeak server version is 3.13.1, which is the newest.

Well yes, it’s the latest server version — which still doesn’t mean, that the ā€œIP2LOCATIONā€ database on the server is also the latest as well. It’s getting updated automatically on every server update release, but sadly not in live-time.

There is a way on 3.13.1 to manually switch or update the geolocation database — you may need to search into the forums for further informations.


Here's a little suggestion for @TeamSpeak

Please remove IP2Location from the coming server versions & weblist updates. Replace it to MaxMind or something else.

1 Like

Nope its not the newest. 3.13.2 is the newest

Updated the server to the newest version but problem still there :frowning:

Hello, my problem is that my country flag doesnt show up in any server, everyone else has a flag from where they from and for me its a white page.

I asked how they got their flag and most of my friends said they didnt do anything, it just shows up because of your ip, but for me it just doesnt work.

Screenshot_1

Screenshot_5

Looks more like your icon pack is broken when there is a broken icon shown.
Please try with default theme and icon pack.

2 Likes

I deleted/unninstaled everything ts related and when i tried again with no theme and still no flag, anything else i can do?

So you get no flag or the broken icon?
Your screenshot does not match your description.

If it is no flag then the server database does not have a country for your IP.

If the icon is broken then you have a broken icon pack or theme.

4 Likes

It just doesn’t show the flag, just a blank page (for me) and for others theres nothing there, not even the white page like in the screeshot.

I checked the https://www.ip2location.com/demo and shows everything just fine, i’m from Brazil and theres a lot of brazilians on the server, could it be related to my ip only?

I also removed any themes i had and reinstaled ts still not working.

Can you please make sure the server is running the latest version of software?

Looks like the problem is on my end, used vpn to check and had my flag show up normaly but when i go back to my ip it doesn’t show anything again.

Idk how to solve that sadly.

As @besttsserver9999 said make sure server is up to date.

3 Likes

From day to day my TS3 show me a wrong location. Im living in Germany and normally it should show the German Flag, but for some reason it show as example the Russian Flag. This happens nearly everyday and i dont know how to fix it since ip2location shows me the correct location while Teamspeak shows me the wrong.

Hi @xNekumi
Please have a look at this thread: Wrong Flag on all Teamspeak Servers!

Make sure server is up-to-date with the latest geolocation database.

Did you activate the setting to view them?
if not, go to
Tools > Options > Design
and check the ā€˜display country flag on clients’ box

If it’s a local connection you will not see it.
If you do not see it while connected to an external IP (nothing in your LAN/WAN) then the IP is not known in servers ip2location database.

Option 1 is to wait for next server update or Option 2 is to ask the host to use a Maxmind database (see server changelog).

3 Likes