• CoD4xAdmin
  • Recent
  • Popular
  • Groups
  • Users
  • Register
  • Login
Cirkus Serveri Forum
  • CoD4xAdmin
  • Recent
  • Popular
  • Groups
  • Users
  • Register
  • Login

Error: Init failure. Server returned code 400 and message Error: Empty rcon value

Scheduled Pinned Locked Moved
Support
4
31
2.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    JFF-Vince
    last edited by 27 Sept 2019, 20:56

    I have configured things as instructed but am faced with this error and not sure what steps to take to troubleshoot.

    Right now I have server appearing in the page but not showing number of players, etc... RCON seems to be retrieving data when I use RCON console from web page, but not sure that JULIA is connecting right...

    Any thoughts 🙂 ?

    Vince

    1 Reply Last reply Reply Quote 0
    • N
      NeHo Administrators
      last edited by NeHo 27 Sept 2019, 22:02

      Please check if you did this steps

      https://forum.cirkus-serveri.com/topic/62/how-to-set-up-plugin-julia-and-activate-it

      For other parts please check this instructions related to julia

      https://forum.cirkus-serveri.com/category/10/plugin-julia

      I keep hitting the 'Escape' key - but I'm still here. ...

      J 1 Reply Last reply 28 Sept 2019, 12:38 Reply Quote 0
      • J
        JFF-Vince @NeHo
        last edited by 28 Sept 2019, 12:38

        @NeHo Thanks !!, was missing the steam setting part. So now I am a little bit further, I am getting players and screenshots. Not sure it is as fast as it should be. On the main page server shows last scanned 4 hours ago. I'm sure it's in my settings just need to take some time and tweak...

        1 Reply Last reply Reply Quote 0
        • J
          JFF-Vince
          last edited by 28 Sept 2019, 13:29

          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

          1 Reply Last reply Reply Quote 0
          • N
            NeHo Administrators
            last edited by 29 Sept 2019, 00:25

            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

            I keep hitting the 'Escape' key - but I'm still here. ...

            1 Reply Last reply Reply Quote 0
            • B
              Beni
              last edited by 10 Apr 2021, 12:10

              Neho please Contact me i have problem again with my panel please help me...
              https://webadmin.unlucky-gaming.co/

              1 Reply Last reply Reply Quote 0
              • N
                NeHo Administrators
                last edited by 10 Apr 2021, 21:05

                Seems like css is also broken when I visit your website, make sure your config json is correct

                I keep hitting the 'Escape' key - but I'm still here. ...

                1 Reply Last reply Reply Quote 0
                • B
                  Beni
                  last edited by 10 Apr 2021, 21:49

                  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.

                  1 Reply Last reply Reply Quote 0
                  • B
                    Beni
                    last edited by 10 Apr 2021, 21:53

                    This problem shows me at plesk.

                    https://prnt.sc/1197n80
                    https://prnt.sc/1197ngz

                    1 Reply Last reply Reply Quote 0
                    • N
                      NeHo Administrators
                      last edited by 10 Apr 2021, 21:57

                      Do you have the public directory with all the css js files?

                      I keep hitting the 'Escape' key - but I'm still here. ...

                      1 Reply Last reply Reply Quote 0
                      • B
                        Beni
                        last edited by 10 Apr 2021, 21:58

                        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

                        1 Reply Last reply Reply Quote 0
                        • B
                          Beni
                          last edited by 10 Apr 2021, 22:00

                          https://prnt.sc/1197qzg

                          1 Reply Last reply Reply Quote 0
                          • B
                            Beni
                            last edited by 10 Apr 2021, 22:04

                            there were also a lot of things but I have deleted everything
                            if I can remember it was also public https://prnt.sc/1197t2x

                            1 Reply Last reply Reply Quote 0
                            • N
                              NeHo Administrators
                              last edited by 11 Apr 2021, 01:38

                              Have you updated all the lines in app/config/config.json to https://webadmin.unlucky-gaming.co/

                              I keep hitting the 'Escape' key - but I'm still here. ...

                              1 Reply Last reply Reply Quote 0
                              • B
                                Beni
                                last edited by 11 Apr 2021, 11:36

                                https://prnt.sc/119l4m9
                                https://prnt.sc/119l5fj

                                1 Reply Last reply Reply Quote 0
                                • B
                                  Beni
                                  last edited by 11 Apr 2021, 11:39

                                  The password from Database is same like from config.json

                                  https://prnt.sc/119l6vx

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    Beni
                                    last edited by 11 Apr 2021, 11:39

                                    I make know database in plesk
                                    https://prnt.sc/119l7po

                                    1 Reply Last reply Reply Quote 0
                                    • N
                                      NeHo Administrators
                                      last edited by 11 Apr 2021, 17:23

                                      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

                                      I keep hitting the 'Escape' key - but I'm still here. ...

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        Beni
                                        last edited by 12 Apr 2021, 20:42

                                        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.

                                        1 Reply Last reply Reply Quote 0
                                        • N
                                          NeHo Administrators
                                          last edited by 12 Apr 2021, 23:48

                                          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

                                          I keep hitting the 'Escape' key - but I'm still here. ...

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post

                                          0

                                          Online

                                          191

                                          Users

                                          268

                                          Topics

                                          1.2k

                                          Posts
                                          Powered & Designed by NeHo