Official Community Forums
 
HomeHome  SearchSearch  RegisterRegister  Log in  The Wiki  Website  github Project  

Share
 

 99% done with launching the test server, need help with secret key

Go down 
AuthorMessage
sander110419
Newbie
Newbie
sander110419

Posts : 1
Join date : 2013-01-07
Location : Belgium

99% done with launching the test server, need help with secret key Empty
PostSubject: 99% done with launching the test server, need help with secret key   99% done with launching the test server, need help with secret key EmptyMon 7 Jan - 3:56

hi everyone Smile

We have put together a team of 12 people to work on a mmorpg, but I can't seem to get the server online...
I keep getting errors in the logs about the secret key.
I tried many different ways to make it work (tried all the generated keys and such)
But the logs keep showing me different errors on different lines.

Can you guys show me an example of a working master_server.py file?
ofcourse you may change a few chars, but i need to see where exactly to put which key.

Also, could you tell me which key I need to take? there is the private key, encoded private, domain key, ... (and if i need to include the "=" at the end)

thanks!
Back to top Go down
oldschool
Experienced Newbie
Experienced Newbie
oldschool

Posts : 26
Join date : 2012-12-27
Location : Canada

99% done with launching the test server, need help with secret key Empty
PostSubject: Re: 99% done with launching the test server, need help with secret key   99% done with launching the test server, need help with secret key EmptyMon 7 Jan - 8:11

I honestly cannot be of much help here, as I have been running without the master.

I have started it and it appears to run, tho it never does send the completion message.
I have been trying to get the client to connect to it, but alas, other configuration at the client has stopped me so far.

I have been spending time on other things instead since I have the server up and can connect without the master.

But just incase you have not found it yet, I wanted to drop this link:
wiki master server info

Hope that helps!
Back to top Go down
rotello
Super Contributor
Super Contributor
rotello

Posts : 215
Join date : 2012-12-06

99% done with launching the test server, need help with secret key Empty
PostSubject: Re: 99% done with launching the test server, need help with secret key   99% done with launching the test server, need help with secret key EmptyMon 7 Jan - 10:02

Hello there,

We did have a problem with the master key generator before, and we tried this code:

Change master_server.py to look exactly like this:

Code:

from multiverse.server.engine import *
from multiverse.server.util import *

ms = MasterServer.getMasterServer()
#ms.setTCPPort(9005)
#ms.setRDPPort(9010)

# Uncomment if you want to set a log level for this process
# that is different from the server's default log level
#Log.setLogLevel(1)
privKey = """===PUT MASTER SERVER PRIVATE ENCRYPTED KEY HERE==="""

SecureTokenManager.getInstance().initMaster(Base64.decode(privKey))

Run the generator script again and see if that helps.

Best of luck with your mmorpg project Smile
Back to top Go down
Delurin
Head of Platform Development
avatar

Posts : 424
Join date : 2011-08-03

99% done with launching the test server, need help with secret key Empty
PostSubject: Re: 99% done with launching the test server, need help with secret key   99% done with launching the test server, need help with secret key EmptyTue 8 Jan - 3:41

in the master_server.py you need to put the encoded private key in full but without end lines in quotes.

in login_manager.py in config/common you need to put the encoded public key again in full without end line and in quotes
Back to top Go down
Sponsored content




99% done with launching the test server, need help with secret key Empty
PostSubject: Re: 99% done with launching the test server, need help with secret key   99% done with launching the test server, need help with secret key Empty

Back to top Go down
 
99% done with launching the test server, need help with secret key
Back to top 
Page 1 of 1
 Similar topics
-
» Hot Toys Mech test Tony Stark. NEW!!!!
» No server response
» Houdini Test
» i3 test tournament..... 10 min per engine...all 50 games pgn
» Igorrit 0.086v9 test

Permissions in this forum:You cannot reply to topics in this forum
 :: Development :: Server Scripting and Development-
Jump to: