sunenielsen / tribaltrouble

GNU General Public License v2.0
175 stars 58 forks source link

Starting server/matchserver results in: java.io.IOException: /public_reg_key not found #1

Closed team-penguin closed 10 years ago

team-penguin commented 10 years ago

I'm having difficulties trying to determine what the matchserver is looking for. The oddlabs database is setup and the embedded user has been granted ALL. The entire error is this:

Sep 8, 2014 9:22:20 AM MatchmakingServer main FINER: THROW java.io.IOException: /public_reg_key not found at com.oddlabs.util.Utils.tryMakeURL(Utils.java:146) at com.oddlabs.registration.RegistrationKey.loadPublicKey(RegistrationKey.java:26) at com.oddlabs.matchserver.MatchmakingServer.(MatchmakingServer.java:63) at com.oddlabs.matchserver.MatchmakingServer.main(MatchmakingServer.java:143) Sep 8, 2014 9:22:20 AM MatchmakingServer postPanic FINER: THROW java.lang.NullPointerException at com.oddlabs.util.DBUtils.createDatabaseConnection(DBUtils.java:30) at com.oddlabs.util.DBUtils.createStatement(DBUtils.java:34) at com.oddlabs.util.DBUtils.postHermesMessage(DBUtils.java:38) at com.oddlabs.matchserver.MatchmakingServer.postPanic(MatchmakingServer.java:135) at com.oddlabs.matchserver.MatchmakingServer.main(MatchmakingServer.java:146)

eliasnaur commented 10 years ago

Hello,

"public_reg_key" refers to the public key used for verifying that the game installation registration key was signed with the corresponding private key. Since TT is now open source, your best bet is to bypass the code loading and using that key.

team-penguin commented 10 years ago

Removing the 1 line of code fixed it. Thanks for the assistance.