Problem related to rcon console
-
This post is deleted! -
-
-
Hello guys and Neho,
my problem is, when using the rcon console over cod4xwebadmin it loads until the tab crashes with error ERR_EMPTY_RESPONSE. No data send. In pm2 status I can see, that it POST the request. In the rcon console outside of cod4xwebadmin I can see, that the command arrived: frcon from ... command: status. Where to search for the error, any suggestions?
Thanks for looking into the thread!
Kind of messed up the Thread, sorry
-
Hello,
Is your game server external or local? If it is local make sure you don't have the rcon password in your server.cfg file. Also check if the rcon is correct, test it out ingame.
-
The server is local and I made sure, that the rcon password is set only by cod4xwebadmin. I can see in rcon console: Rcon login from: XXX with rcon password. But as it seems, there is no password transmitted, because there is no password shown after password. It is saved in the command line in cod4xwebadmin and in the rcon password line in cod4xwebadmin. Where to look now? Maybe I should mention, that I switched the "main-server-files" in two files to suit my actual folder structure, but I dont think, it is related to this. Maybe it is, I dont know. It kind of seems, that cod4xwebadmin is not saving the password.
-
If I understand you, you have created a local server it's runing and you can join it, since you changed "main-server-files" maybe your server is broken, all main files are symlinked with "main-server-files"
main-server-files will not cause issues with rcon, it will cause issues when you create local servers in future. Where do you execute the rcon commands, have you added yourself as server admin, maybe you execute commands while you have no admin rights? Since you have changed manually files make sure that you have no rcon lines in your server cfg, comment them out or remove them.
-
So, I removed every "main-server-files/" from app/controllers/admin/cod4x.js and app/controllers/admin/server.js because I did not find any "main-server-files/" elsewhere. The reason is I didn´t want to alter the existing file structure on the server. There are no RCON lines neither in server.cfg nor in other .cfg´s. I have added myself as server admin in cod4xwebadmin. Rcon commands are working ingame using the password, that was set in cod4xwebadmin.
-
It is very strange. The automatic screenshots are working. Also the SS, K, TB, PB... on the domain:3000/server buttons are working. Also commands like ministatus and cmdlist are working, but status or systeminfo are not. I cannot find the problem related to the web rcon console...