Error response from keygen server: Not allowed - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3) +--- Forum: Xonotic - Server Administration (https://forums.xonotic.org/forumdisplay.php?fid=16) +--- Thread: Error response from keygen server: Not allowed (/showthread.php?tid=3954) |
Error response from keygen server: Not allowed - end user - 02-18-2013 Well out of the blue I get this error when starting a server Quote:Error response from keygen server: Not allowed.I didn't change anything up to this point and the first main server was running fine. When I stopped it just to see if I would get that error like from the test server, sure enough I got it. I tried deleting evrything and unziping and making the appropriate changes but I still get this error "Error response from keygen server: Not allowed" RE: Error response from keygen server: Not allowed - Mr. Bougo - 02-18-2013 The keygen will only generate one key per IP address per week, could that be it? If you're using -sessionid to run multiple instances of the dedicated server, the server keys are unique for each sessionid used, so make sure you don't constantly change that. RE: Error response from keygen server: Not allowed - end user - 02-18-2013 (02-18-2013, 01:42 AM)Mr. Bougo Wrote: The keygen will only generate one key per IP address per week, could that be it? If you're using -sessionid to run multiple instances of the dedicated server, the server keys are unique for each sessionid used, so make sure you don't constantly change that. Thats probably the issue as I was going to change the testing server to production one and changed the session id. Right after that though the first instance of the server also got the error, ths one I didn't use -sessionid for it, just ran the server_linux.sh script. Any suggestions? I don't have to wait for a week do I, lol? RE: Error response from keygen server: Not allowed - Mr. Bougo - 02-18-2013 The keys are stored in ~/.xonotic/ (for example ~/.xonotic/key_0.d0si for an instance without a session id). Are you sure they weren't (re)moved and that they are actually accessible? If you don't have a key to use or another IP address to use to generate a key, then yes, you'll have to wait for a week to get a new one. I don't know what specifically causes the error to appear though. I don't know if it's an actual refusal from the keygen server to generate a key, or if it can also be a consequence of the key server not being reachable. Check the server startup log, if all is well you'll see "Loaded private ID key_0.d0si for key_0.d0pk" or something similar. RE: Error response from keygen server: Not allowed - end user - 02-18-2013 The keys were there. I tried removing them like suggested in another thread but no go. I'll f around some more at work today, need something to do. (02-18-2013, 01:59 PM)Mr. Bougo Wrote: The keys are stored in ~/.xonotic/ (for example ~/.xonotic/key_0.d0si for an instance without a session id). Are you sure they weren't (re)moved and that they are actually accessible? RE: Error response from keygen server: Not allowed - Mr. Bougo - 02-18-2013 Eh, why would you remove them? Now you will have to wait a week, that's for sure. You should have looked for that line that I mention in my last paragraph. RE: Error response from keygen server: Not allowed - end user - 02-18-2013 (02-18-2013, 02:30 PM)Mr. Bougo Wrote: Eh, why would you remove them? Now you will have to wait a week, that's for sure. You should have looked for that line that I mention in my last paragraph. This was before I made this thread when the other threads suggestions didn't solve the issue. RE: Error response from keygen server: Not allowed - Mr. Bougo - 02-18-2013 Oh okay. Come back next week then! And the week after for your second server! RE: Error response from keygen server: Not allowed - end user - 02-18-2013 (02-18-2013, 04:33 PM)Mr. Bougo Wrote: Oh okay. Come back next week then! And the week after for your second server! I forgot to change the port number of the second server in a new cfg file and right after I started it, it selected port 26001 I got that error message. Well shit the first instance of the server is running so I don't want to stop it and be stuck for another week with no game action. RE: Error response from keygen server: Not allowed - Mr. Bougo - 02-19-2013 Eh, a keyless server works just fine. The only problem is that it can't send stats to XonStat. RE: Error response from keygen server: Not allowed - end user - 02-19-2013 (02-19-2013, 12:55 AM)Mr. Bougo Wrote: Eh, a keyless server works just fine. The only problem is that it can't send stats to XonStat. Ok couple more things. On the first server both instances of the server get the key error. On my new server I got the error for the second instance but the first instance using the default server.cfg file can be stopped and restarted with no problems and no key error. Whats the best way to fix this in the future? Can I run each sever as a different user on a second port? RE: Error response from keygen server: Not allowed - Mr. Bougo - 02-19-2013 I don't know. Can you please check for the key loading line that I mentioned in post #4? Tell me what instances have this line and what instances have the keygen server error. Running each instance as a different user will make no difference, except that managing them will give you headaches. RE: Error response from keygen server: Not allowed - end user - 02-19-2013 (02-19-2013, 02:17 PM)Mr. Bougo Wrote: I don't know. Can you please check for the key loading line that I mentioned in post #4? Tell me what instances have this line and what instances have the keygen server error. Here's my startup log PHP Code: Game is Xonotic using base gamedir data RE: Error response from keygen server: Not allowed - Mr. Bougo - 02-19-2013 Oh okay, so you have a key but it's not signed. No idea why. I really don't know what's supposed to happen. I would have to check the source code for that, but I don't know when I'll have time for that. RE: Error response from keygen server: Not allowed - end user - 02-19-2013 (02-19-2013, 05:17 PM)Mr. Bougo Wrote: Oh okay, so you have a key but it's not signed. No idea why. So I would imagine then not too many people run multiple instances of the game on the same server? On my first server it was running fine for quite a bit even with me messing around with the test instance of the server and sometime running a different sessionid. Then one day when I restarted the test server I got that message and when I restarted the main game server it also got the same message. However on my new server for whatever reason right after starting a second instance of the game server with a different sessionid but with the same port (forgot to change it) the error popped up BUT on this server I can stop/restart the main game server no problem but not the second instance as I get the keys error. RE: Error response from keygen server: Not allowed - end user - 02-19-2013 Ok so on the new server I added a new ip and changed //net_address 0.0.0.0 to the new IP. After running another instance of the server with a new session id I still go the same error. It did state in the logs that it was using the new IP. RE: Error response from keygen server: Not allowed - Mr. Bougo - 02-20-2013 As I said, running multiple instances should not matter, and in fact many people do it without a problem (as all the servers submit stats successfully). If you have a problem related to instances, then that's a bug worth investigating. I don't understand why your key would suddenly lose its signature, that makes no sense. Are you absolutely certain that the error was not there from the beginning? I'll summarize the only possibilities that I imagine would make sense in a well-configured bug-free setup:
If you're saying that your server was previously in case 3 and is now in case 4, then something very strange is happening that really shouldn't happen. RE: Error response from keygen server: Not allowed - end user - 03-02-2013 Ok I'm not sure what's going on but I keep getting the Error response from keygen server: Not allowed. error. Ok so I added a second ip to the server and set it in second server-***.cfg file. Adjusted the server_linux_***.sh file and set the new IP inside the server-***.cfg file. Logged in on the second IP just incase. When I ran the new srver_linux_***.sh file I got the error again Should I have ran the second server under a different user? Code: /Xonotic$ ./server_linux_vehicles.sh -sessionid vehicle RE: Error response from keygen server: Not allowed - Mr. Bougo - 03-02-2013 As I said above, users do not matter. A different session id is all you should need. I had a look at the keygen server sources, and it seems you get "Not allowed" when the IP is blacklisted in one of three ways:
Or, if you think you can follow the instructions, you could get the key manually signed from your home IP for example, at this address: http://ca.xonotic.org/ RE: Error response from keygen server: Not allowed - end user - 05-20-2013 Eh for someone reason I got the key gen error today when I tired to run a second instance of the server. For the original one I used ./all run dedicated -sessionid vehicles +serverconfig vehicle-server.cfg < this one didn't get the error and is set to port 26000 For the second instance I used ./all run dedicated -sessionid ft +serverconfig ft-server.cfg < this one got the error and I used port 26010 Now one thing I did notice is that even though the first server is listed in the xonotic game server list the second instance is not and it wont let me connect manually by ip. Any suggestion on that? RE: Error response from keygen server: Not allowed - Mr. Bougo - 05-21-2013 Did you forward port 26010 UDP? Is sv_public set higher than -2? As for the keygen error, there's nothing more I can say than what has been said earlier. If you think the keygen server is bugged, please file a bug report. RE: Error response from keygen server: Not allowed - end user - 06-13-2013 Ok so ran into another issue. I noticed that if i change git branches, compile and run the server with the same sessionid i get the keygen error. Is this normal when changing branches? If so is there a way to merge the server stats from the previous server to the new one like with player stats? RE: Error response from keygen server: Not allowed - Mr. Bougo - 06-13-2013 (06-13-2013, 10:48 AM)end user Wrote: Ok so ran into another issue. That doesn't seem normal to me. Your server has its files in ~/.xonotic, right, not in the clone? You should keep a backup of your server keys anyway. If you notice keygen errors, restore the keys from backup. If you want to merge the server in the stats, post in the relevant thread, same thing as player IDs. RE: Error response from keygen server: Not allowed - end user - 06-13-2013 (06-13-2013, 03:13 PM)Mr. Bougo Wrote:(06-13-2013, 10:48 AM)end user Wrote: Ok so ran into another issue. Hi Yes I noticed this first when I went from autobuild to git. I used the same session id and port number but when I started the server I got the keygen error. Though maybe i messed up so did a test, created a new account, install git this time, ran it to get the server going, stopped it and got the autobuild. Used the same sessionid and port and sure enough I got the key error. Now yesterday I updated one of Mario's branches to a new one and same thing. I used the same line to start the server ./all run dedicated -sessionid ft +serverconfig ft-server.cfg I guess next time I'll just backup the keys and then go from there. |