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

Share | 
 

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

View previous topic View next topic Go down 
AuthorMessage
sander110419
Newbie
Newbie
avatar

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

PostSubject: 99% done with launching the test server, need help with secret key   Mon 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
avatar

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

PostSubject: Re: 99% done with launching the test server, need help with secret key   Mon 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
avatar

Posts : 215
Join date : 2012-12-06

PostSubject: Re: 99% done with launching the test server, need help with secret key   Mon 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


Posts : 424
Join date : 2011-08-03

PostSubject: Re: 99% done with launching the test server, need help with secret key   Tue 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




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

Back to top Go down
 
99% done with launching the test server, need help with secret key
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» FDG rF2 Test server up
» 9.0 on public test server
» .^f2F-.Swemmei Recruting in server 1
» Lag playing in Taiwan server from Shanghai
» Proxy Server Taiwan: How To.

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