Jump to content

Captain Dingbat

FIXED: Fatal error! ShooterGameServer.exe!FDatabaseRedisShared::GetOrCreateSubscriberConnection()

Recommended Posts

I'm making this post, with the error in the title so that when it is searched it comes up in Google, because as of right now, every single new person who makes a new server  with Atlas Grid Editor will get this error until AGE is updated to write the ServerGrid.ServerOnly.json properly. If possible, it would be great if this post could be pinned because, again, every server admin will have this problem and go searching for the fix. I spent 3 weeks getting my server running and this was one of the problems.

IF you're starting your new server for the first time and getting an error that starts like this:
 

Quote

Fatal error!
VERSION: 000.0
ShooterGameServer.exe!FDatabaseRedisShared::GetOrCreateSubscriberConnection() (0x00007ff7ca8c5bfe) + 0 bytes [d:\atlassvn\projects\shootergame\source\shootergame\private\databaseshared_redis.cpp:231]
ShooterGameServer.exe!UDatabase_TradeDirectory_Redis::Init() (0x00007ff7ca91c135).......

It's because there is some code missing from your ServerGrid.ServerOnly.json file. It will be missing the "TradeDB" information. You need to add this code to the other database infos:
    {
      "Name": "TradeDB",
      "URL": "127.0.0.1",
      "Port": 6379,
      "Password": "foobared"
    }

 

The entire file should read like this: (Edit with your own info if needed, but default is most common)
 

Quote

{
  "LocalS3URL": "",
  "LocalS3AccessKeyId": "",
  "LocalS3SecretKey": "",
  "LocalS3BucketName": "",
  "LocalS3Region": "",
  "TribeLogConfig": {
    "MaxRedisEntries": 1000,
    "BackupMode": "off",
    "MaxFileHistory": 10,
    "HttpBackupURL": "",
    "HttpAPIKey": "",
    "S3URL": "",
    "S3AccessKeyId": "",
    "S3SecretKey": "",
    "S3BucketName": "",
    "S3KeyPrefix": ""
  },
  "SharedLogConfig": {
    "FetchRateSec": 60,
    "SnapshotCleanupSec": 900,
    "SnapshotRateSec": 1800,
    "SnapshotExpirationHours": 48,
    "BackupMode": "off",
    "MaxFileHistory": 10,
    "HttpBackupURL": "",
    "HttpAPIKey": "",
    "S3URL": "",
    "S3AccessKeyId": "",
    "S3SecretKey": "",
    "S3BucketName": "",
    "S3KeyPrefix": ""
  },
  "TravelDataConfig": {
    "BackupMode": "off",
    "MaxFileHistory": 10,
    "HttpBackupURL": "",
    "HttpAPIKey": "",
    "S3URL": "",
    "S3AccessKeyId": "",
    "S3SecretKey": "",
    "S3BucketName": "",
    "S3KeyPrefix": ""
  },
  "DatabaseConnections": [
    {
      "Name": "Default",
      "URL": "127.0.0.1",
      "Port": 6379,
      "Password": "foobared"
    },
    {
      "Name": "TribeDB",
      "URL": "127.0.0.1",
      "Port": 6379,
      "Password": "foobared"
    },
    {
      "Name": "TravelDataDB",
      "URL": "127.0.0.1",
      "Port": 6379,
      "Password": "foobared"
    },
    {
      "Name": "TerritoryDB",
      "URL": "127.0.0.1",
      "Port": 6379,
      "Password": "foobared"
    },
    {
      "Name": "LogDB",
      "URL": "127.0.0.1",
      "Port": 6379,
      "Password": "foobared"
    },
    {
      "Name": "TradeDB",
      "URL": "127.0.0.1",
      "Port": 6379,
      "Password": "foobared"
    }
  ]
}

See how the TradeDB database is added at the end? I hope this helps reduce frustration of new server owners! 

Edited by Captain Dingbat
clarifying

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...