GlobalError: An error occurred while checking server license key

Issue: I have created a key using https://keymaster.fivem.net/
I used the IP for the network interface which my server will be using (172.16.4.111)
I have setup my server config as follows: https://pastebin.com/x9qVEqG8
When i launch my server the bootup console appears as follows:

[root@ fx-server-data]# bash /home/fivem/fx-server/run.sh +exec server.cfg
Initializing Mono
Initializing Mono completed
Hello!
Resolved live-internal.fivem.net:30110 to 62.210.162.18:30110
Found new resource fivem in /home/fivem/fx-server-data/resources//fivem
Found new resource fivem-awesome1501 in /home/fivem/fx-server-data/resources//fivem-awesome1501
Found new resource fivem-map-skater in /home/fivem/fx-server-data/resources//fivem-map-skater
Found new resource fivem-map-hipster in /home/fivem/fx-server-data/resources//fivem-map-hipster
Found new resource ragdoll in /home/fivem/fx-server-data/resources//ragdoll
Found new resource runcode in /home/fivem/fx-server-data/resources//runcode
Found new resource sessionmanager in /home/fivem/fx-server-data/resources//[system]/sessionmanager
Found new resource ■■■■■■■ in /home/fivem/fx-server-data/resources//[system]/■■■■■■■
Found new resource baseevents in /home/fivem/fx-server-data/resources//[system]/baseevents
Found new resource chat in /home/fivem/fx-server-data/resources//[system]/chat
Found new resource spawnmanager in /home/fivem/fx-server-data/resources//[system]/spawnmanager
Found new resource hardcap in /home/fivem/fx-server-data/resources//[system]/hardcap
Found new resource scoreboard in /home/fivem/fx-server-data/resources//[system]/scoreboard
Found new resource gameInit in /home/fivem/fx-server-data/resources//[test]/gameInit
Found new resource betaguns in /home/fivem/fx-server-data/resources//[test]/betaguns
Found new resource keks in /home/fivem/fx-server-data/resources//[test]/keks
Found new resource race-test in /home/fivem/fx-server-data/resources//[gamemodes]/race-test
Found new resource race in /home/fivem/fx-server-data/resources//[gamemodes]/race
Found new resource mapmanager in /home/fivem/fx-server-data/resources//[managers]/mapmanager
Found new resource obituary in /home/fivem/fx-server-data/resources//[gameplay]/obituary
Found new resource channelfeed in /home/fivem/fx-server-data/resources//[gameplay]/channelfeed
Found new resource irc in /home/fivem/fx-server-data/resources//[gameplay]/irc
Found new resource obituary-deaths in /home/fivem/fx-server-data/resources//[gameplay]/obituary-deaths
Found new resource playernames in /home/fivem/fx-server-data/resources//[gameplay]/playernames
Started resource sessionmanager
Started resource mapmanager
Started resource chat
Started resource spawnmanager
Started gametype Freeroam
Started resource fivem
Started resource hardcap
Started resource ■■■■■■■
Started resource ragdoll
Authenticating server license key...
GlobalError: An error occurred while checking server license key.
An error occurred while checking server license key.Stacktrace:

Server version: https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/584-30649a49030f8d2ebd016b634ed3239316b38f0a/
OS Version: CentOS Linux release 7.4.1708 (Core)

I have tried creating a key under the public IP which my server will appear (185.177.22.111), i have tried using the default endpoint IP

What am I doing wrong?

Try this version to see if that one works:
https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/507-1006eacd1951849fd9c9e25a3b813132389d794b/
not sure if it still applies but recent updates have been causing issues for some people.

It worked :smiley:

Will i have any issues with people not being able to connect to outdated servers?

2 Likes

While you’re here, is there any good documentation on convars and concommands, what they do and what their parameters are?

Just an aces tutorial so far afaik, but have a look in #server-development:server-tutorials #development:tutorials and #documentation or on wiki.fivem.net to see if that’s what you’re looking for.

Also about outdated servers: players should be able to join just fine.

I’ve seen that Wiki and it has some useful stuff but everything seems rather incomplete and undocumented, is there nothing similar to the garrysmod wiki (http://wiki.garrysmod.com/page/Main_Page) where all the available functions are shown with examples?

3 Likes

Not with examples, as that’d be way too much to document, and it’s just a copy of native db anyway (just cfx api set natives added).

There’s not really any fivem functions like garrys mod has.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.