fix(Core/Authserver): list the possible causes of an empty realm list (#26887)
Co-authored-by: Ludwig Kormann <ludwig.kormann@in-circuit.de> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -143,7 +143,11 @@ int main(int argc, char** argv)
|
|||||||
|
|
||||||
if (sRealmList->GetRealms().empty())
|
if (sRealmList->GetRealms().empty())
|
||||||
{
|
{
|
||||||
LOG_ERROR("server.authserver", "No valid realms specified.");
|
LOG_ERROR("server.authserver", "No valid realms specified. Possible reasons:");
|
||||||
|
LOG_ERROR("server.authserver", "- the realmlist table of the auth database is empty");
|
||||||
|
LOG_ERROR("server.authserver", "- every realm has flag 3 (REALM_FLAG_VERSION_MISMATCH | REALM_FLAG_OFFLINE), which the realm list "
|
||||||
|
"query excludes. Reset it with: UPDATE realmlist SET flag = 0 WHERE id = <realm id>;");
|
||||||
|
LOG_ERROR("server.authserver", "- no realm address could be resolved, see the resolver errors logged above");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user