Error: Init failure. Server returned code 400 and message Error: Empty rcon value
-
So all seems to be up and running however the player list and main server page do not seem to be updating. I read some old forum stuff and there was mention of a refresh plugin ( suspect was prior version ). I also read the julia docs and that seems to be updating every 30 seconds with push from server plug in. I have reviewed the logs on the cod4 and see the plug in loaded, the rcon commands also match what is on the main page. Do you have any suggestions for troubleshooting the players not updating timely ?
Thanks,
Vince
-
Please check the console on the website part. There should be a POST every 30 seconds, thats actually julia on your game server sending information's to the website. Do not share here publicly the post console log since it holds your julia_identkey.
Make sure that the url what you have added is available on the internet. If you do it on local host or if it is blocked with firewall then it will not able to communicate.
You can PM me in chat here also if you need more help in setting everything up.
I am away tomorrow but I will answer you when I come home
-
Neho please Contact me i have problem again with my panel please help me...
https://webadmin.unlucky-gaming.co/ -
Seems like css is also broken when I visit your website, make sure your config json is correct
-
what do I have to watch what could be a problem.
I use plesk as you know and have added my website to unlucky-gaming.co since that is bug.Then I also deleted the database.
Could you please tell me what to watch out for.
-
This problem shows me at plesk.
-
Do you have the public directory with all the css js files?
-
that's all happened since I added my website unlucky-gaming.co to plesk and then cloned the database and then restarted the server
Yes i have public directory
https://prnt.sc/1197qht -
-
there were also a lot of things but I have deleted everything
if I can remember it was also public https://prnt.sc/1197t2x -
Have you updated all the lines in app/config/config.json to https://webadmin.unlucky-gaming.co/
-
-
The password from Database is same like from config.json
-
I make know database in plesk
https://prnt.sc/119l7po -
Plesk has a plugin for node js applications, you have to set there the root and else, I don't remember what I had to change but in order to run node applications you need to tweak plesk.
Check this https://www.youtube.com/watch?v=36I_YZZaMPs
-
Hello neho pls help
That’s what write me plesk
What I need now to do ?Hello,
The application fails with the following error, the module ../server couldn't be found:
==> /var/log/apache2/error.log <==
App 4797 output: module.js:550
App 4797 output: throw err;
App 4797 output: ^
App 4797 output:
App 4797 output: Error: Cannot find module '../server'
App 4797 output: at Function.Module._resolveFilename (module.js:548:15)
App 4797 output: at Function.Module._load (module.js:475:25)
App 4797 output: at Module.require (module.js:597:17)
App 4797 output: at Module.require (/usr/share/passenger/helper-scripts/node-loader.js:80:25)
App 4797 output: at require (internal/module.js:11:18)
App 4797 output: at Object.<anonymous> (/var/www/vhosts/unlucky-gaming.co/www:7:14)
App 4797 output: at Module._compile (module.js:653:30)
App 4797 output: at Object.Module._extensions..js (module.js:664:10)
App 4797 output: at Module.load (module.js:566:32)
App 4797 output: at tryModuleLoad (module.js:506:12)
[ E 2021-04-12 20:58:18.2114 31768/T2p age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /var/www/vhosts/unlucky-gaming.co/: The application process exited prematurely.
Error ID: 69014f85
Error details saved to: /tmp/passenger-error-HyXwQN.html[ E 2021-04-12 20:58:18.2225 31768/Tk age/Cor/Con/CheckoutSession.cpp:276 ]: [Client 7-2] Cannot checkout session because a spawning error occurred. The identifier of the error is 69014f85. Please see earlier logs for details about the error.
==> /var/www/vhosts/unlucky-gaming.co/logs/webadmin.unlucky-gaming.co/error_log <==
[Mon Apr 12 20:58:18.399112 2021] [core:error] [pid 31800] [client 195.214.233.10:47218] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://webadmin.unlucky-gaming.co/
[Mon Apr 12 20:58:18.399149 2021] [core:error] [pid 31800] [client 195.214.233.10:47218] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://webadmin.unlucky-gaming.co/The current configuration is invalid:
These are the files in the node project:
I've fixed the configuration as follows:
The log files are showing issues with your node application:
==> /var/log/apache2/error.log <==
[ E 2021-04-12 21:04:28.1583 8809/Tr age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /var/www/vhosts/unlucky-gaming.co/webadmin.unlucky-gaming.co: A timeout occurred while spawning an application process.
Error ID: 9bd06fba
Error details saved to: /tmp/passenger-error-ENHg9r.html
[ E 2021-04-12 21:04:28.1681 8809/T8 age/Cor/Con/CheckoutSession.cpp:276 ]: [Client 1-1] Cannot checkout session because a spawning error occurred. The identifier of the error is 9bd06fba. Please see earlier logs for details about the error.
App 12091 output: Trace: You required the Node Cluster module, which is incompatible with Passenger, a non-functional shim was returned and your app may still work. However, please remove the related code as soon as possible.
App 12091 output: at Module.require (/usr/share/passenger/helper-scripts/node-loader.js:63:12)
App 12091 output: at require (internal/module.js:11:18)
App 12091 output: at Object.<anonymous> (/var/www/vhosts/unlucky-gaming.co/webadmin.unlucky-gaming.co/node_modules/shortid/lib/util/cluster-worker-id.js:3:15)
App 12091 output: at Module._compile (module.js:653:30)
App 12091 output: at Object.Module._extensions..js (module.js:664:10)
App 12091 output: at Module.load (module.js:566:32)
App 12091 output: at tryModuleLoad (module.js:506:12)
App 12091 output: at Function.Module._load (module.js:498:3)
App 12091 output: at Module.require (module.js:597:17)
App 12091 output: at Module.require (/usr/share/passenger/helper-scripts/node-loader.js:80:25)
App 12091 output: at require (internal/module.js:11:18)
App 12091 output: at Object.<anonymous> (/var/www/vhosts/unlucky-gaming.co/webadmin.unlucky-gaming.co/node_modules/shortid/lib/index.js:11:23)
App 12091 output: at Module._compile (module.js:653:30)
App 12091 output: at Object.Module._extensions..js (module.js:664:10)
App 12091 output: at Module.load (module.js:566:32)
App 12091 output: at tryModuleLoad (module.js:506:12)
App 12091 output: at Function.Module._load (module.js:498:3)
App 12091 output: at Module.require (module.js:597:17)
App 12091 output: at Module.require (/usr/share/passenger/helper-scripts/node-loader.js:80:25)
App 12091 output: at require (internal/module.js:11:18)
App 12091 output: at Object.<anonymous> (/var/www/vhosts/unlucky-gaming.co/webadmin.unlucky-gaming.co/node_modules/shortid/index.js:2:18)
App 12091 output: at Module._compile (module.js:653:30)
App 12091 output: Your mongoDB Username, Password is wrong in file app/config/config.json . Could not connect to database! MongooseServerSelectionError: connection <monitor> to 127.0.0.1:3306 closed
App 12091 output: Unhandled rejection MongooseServerSelectionError: connection <monitor> to 127.0.0.1:3306 closed
App 12091 output: at NativeConnection.Connection.openUri (/var/www/vhosts/unlucky-gaming.co/webadmin.unlucky-gaming.co/node_modules/mongoose/lib/connection.js:845:32)
App 12091 output: at _mongoose._promiseOrCallback.cb (/var/www/vhosts/unlucky-gaming.co/webadmin.unlucky-gaming.co/node_modules/mongoose/lib/index.js:345:10)
App 12091 output: at Promise (/var/www/vhosts/unlucky-gaming.co/webadmin.unlucky-gaming.co/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5)
App 12091 output: at Promise._execute (/var/www/vhosts/unlucky-gaming.co/webadmin.unlucky-gaming.co/node_modules/bluebird/js/release/debuggability.js:384:9)
App 12091 output: at Promise._resolveFromExecutor (/var/www/vhosts/unlucky-gaming.co/webadmin.unlucky-gaming.co/node_modules/bluebird/js/release/promise.js:518:18)
App 12091 output: at new Promise (/var/www/vhosts/unlucky-gaming.co/webadmin.unlucky-gaming.co/node_modules/bluebird/js/release/promise.js:103:10)
App 12091 output: at promiseOrCallback (/var/www/vhosts/unlucky-gaming.co/webadmin.unlucky-gaming.co/node_modules/mongoose/lib/helpers/promiseOrCallback.js:30:10)
App 12091 output: at Mongoose._promiseOrCallback (/var/www/vhosts/unlucky-gaming.co/webadmin.unlucky-gaming.co/node_modules/mongoose/lib/index.js:1135:10)
App 12091 output: at Mongoose.connect (/var/www/vhosts/unlucky-gaming.co/webadmin.unlucky-gaming.co/node_modules/mongoose/lib/index.js:344:20)
App 12091 output: at Object.<anonymous> (/var/www/vhosts/unlucky-gaming.co/webadmin.unlucky-gaming.co/server.js:37:10)
App 12091 output: at Module._compile (module.js:653:30)
App 12091 output: at Object.Module._extensions..js (module.js:664:10)
App 12091 output: at Module.load (module.js:566:32)
App 12091 output: at tryModuleLoad (module.js:506:12)
App 12091 output: at Function.Module._load (module.js:498:3)
App 12091 output: at Module.require (module.js:597:17)
App 12091 output: at Module.require (/usr/share/passenger/helper-scripts/node-loader.js:80:25)
App 12091 output: at require (internal/module.js:11:18)
App 12091 output: at loadApplication (/usr/share/passenger/helper-scripts/node-loader.js:243:2)
App 12091 output: at setupEnvironment (/usr/share/passenger/helper-scripts/node-loader.js:214:2)
App 12091 output: at Object.<anonymous> (/usr/share/passenger/helper-scripts/node-loader.js:133:1)Note this investigation is a coding issue related to the application itself and it will need to be handled from your side.
-
Can you start the application with npm start from application root, there was another person who also used plesk and they told him the same, its always application issue.
So for start lets ignore plesk and start the application manually via putty, if in that case there is an error let me know so that I can start from there and help you out.
I can not give you support for plesk since I don't use it, but if you cant run the application manually I will help you out with that.
So start the application with npm start, if it runs visit your_ip:3000 and check if you can see the app runing
-
How i can start npm in root?
-
@beni navigate to application root
cd /var/www/vhosts/webadmin.unlucky-gaming.co
Start the application
npm start
-
In plesk i stop npm like u say, then i start the command npm start and now is this problem https://prnt.sc/11g5kov
in putty i get this one problem too https://prnt.sc/11g5quu