Skip to content

Common errors

azalty edited this page Jul 31, 2021 · 6 revisions

My Steam web requests are failing!

Make sure you have set a correct SteamAPI key for the cvar nda_steamapi_key. You can get one here: https://steamcommunity.com/dev/apikey

If you already set up a correct SteamAPI key:

  • You might be rate limited by Steam, because you made a lot of requests in a short amount of time.
    -> This can occur if you have multiple big servers. You should get a different SteamAPI key, or try to enable the Database system, with an high refresh delay as well as an high deletion delay.
  • Something weird is going on, and I have no idea why, might be a bug. I probably won't be able to help :(
    As it might be a bug, you should report it here

Warning: NEVER SHARE YOUR STEAMAPI KEY!

My VPN web requests are failing!

Make sure you're not blocking requests to blackbox.ipinfo.app. The website might be down too.

All my players are being denied!

Please read What's a check? as well as What if I don't want any check?
Check your config, else, report this here

I am getting an error with 'The database doesn't work: Database failure:'

Your database details in configs/databases.cfg are wrong, or we couldn't connect to it for some reason.
If you don't plan on sharing this database between servers, or don't need to access it from elsewhere, you should use an SQLite one instead. It'll be faster (and you don't need to setup it!).

I am getting a 'Query failure' error

There was an error while trying to send a request to the database. Check your logs, sadly I'm not a DB specialist, it might be a simple connection problem or this plugin's fault. If you believe it's the plugin's fault, please create an issue.

This plugin lags my server!!!11!1!

Unless your server runs on a potato, its impact should be near zero. But as always, if you have hundreds of plugins, your server will get slower, for sure.
We do asynchronous SQL queries, which prevents the server from freezing, especially if you use a distant SQL database, such as a MySQL one.
If you DO believe it's because of this plugin, and you've done testing to prove this point, please create an issue, as security and performance are my main concerns.
This plugin is, at least for me, optimized.

Plugin approves me even though I set a minimum playtime requirement and I have private playtime!

The Steam API uses an Api Key linked to a steam account.
If this key is bound to your steam account, it will always find your playtime details, since it is your own account!
It will also find your friends' playtime details if they set it to friends only.
-> the key you use will have the same permissions as the account that created it