waiting for rcon to come up rust что делать
Waiting for rcon to come up rust что делать
And server console is spamming:
Waiting for RCON to come up.
Waiting for RCON to come up.
My startup script has same parameters as default one, but I don’t want to use default script, because I need to edit parameters automatically using cron jobs for automatic server wipes.
The text was updated successfully, but these errors were encountered:
Eclip7e commented Jun 27, 2020
But its exactly same as default one!
parkervcp commented Jun 27, 2020
did you also allocate enough ram to the server? it requires something like 6 gigs.
Eclip7e commented Jun 27, 2020
Yes 20gb. Ok you maybe misunderstood situation, server works fine with your custom startup command, but when i edit it like I wrote in first post to run my script which is the same as your default startup command it happens what i described.
I want to use my own script to be able to edit it using cron jobs, therefore I do what I do 🙂
parkervcp commented Jun 27, 2020
So your script should be wrapped by the wrapper.js and that is what is waiting for the rcon to come up. It sounds like your changes are making it so the server isn’t actually starting, or you aren’t using the variables correctly.
Eclip7e commented Jun 27, 2020
server is starting
parkervcp commented Jun 27, 2020
Did your set the rcon port variable to match what’s in your script?
Eclip7e commented Jun 27, 2020
If you use it the problem still persists: Waiting for RCON to come up.
parkervcp commented Jun 27, 2020
Can you open your file in sftp and get the permissions on the file please.
Eclip7e commented Jun 27, 2020
644, changed them to 777 and problem still persists
Eclip7e commented Jun 27, 2020
Also I’d like to point out that websocket is starting correctly:
WebSocket RCon Started on 28026
parkervcp commented Jun 28, 2020
So the fact that you moved the command to a shell script and that broke it I am going to say my actual egg is perfectly fine and your modifications broke it.
You say you want to use a cron job to edit things but I have no idea what you want it to edit. Most of that you could probably do with the API honestly.
Eclip7e commented Jun 28, 2020
Ok so I want to delete selected files + edit world seed value in order to wipe server into a new map. World seed value is parameter from startup command.
This is when I use default Startup Command:
Notice Command Line in both cases they are the same! but in the custom script case I cannot connect to web rcon (no its not because in one case there is «1» and in other «true» both are equivalent).
Wulf That looks like a message coming from your host, not the server. I’d suggest contacting them. That looks like a message coming from your host, not the server. I’d suggest contacting them.
this is coming from the rust server itself, i dont think it is coming from oxide/umod
Wulf I can’t find that message in the game, so it’s likely coming from the control panel you are using (Pterodactyl) as the rest appear to be custom messages as well from it along with a few from SteamCMD. From the sound of it, the panel is waiting for RCON to come up so that it can provide console/log output in the panel.
If you prefer to stick with Pterodactyl then their support system would be a better place to ask your questions about it.
that happened after oxide updated
Waiting for rcon to come up rust что делать
Wulf That looks like a message coming from your host, not the server. I’d suggest contacting them. That looks like a message coming from your host, not the server. I’d suggest contacting them.
this is coming from the rust server itself, i dont think it is coming from oxide/umod
Wulf I can’t find that message in the game, so it’s likely coming from the control panel you are using (Pterodactyl) as the rest appear to be custom messages as well from it along with a few from SteamCMD. From the sound of it, the panel is waiting for RCON to come up so that it can provide console/log output in the panel.
If you prefer to stick with Pterodactyl then their support system would be a better place to ask your questions about it.
that happened after oxide updated
Expected Behavior: For it to connect to RCON, but it doesn’t. Don’t know what else to tell you, sorry.
Steps to Reproduce: Install the Rust server and click Start. That’s all I did, and it keeps popping up the RCON message.
The text was updated successfully, but these errors were encountered:
It has 11 GB of* ram, sorry for taking so long to answer
parkervcp commented Jul 21, 2020
I can also be other settings causing it to fail to start.
syntaxxl commented Jul 21, 2020
Do you mind if I send you some screenshots so you can help me out?
I’m just trying to play with friends.
parkervcp commented Aug 3, 2020
If you can get a capture of the shell output when it starts.
Attempting RCON connection for Rust (Game) in Python
Here is the full error.
Like I said, I have very minimal knowledge of how websockets work, so I’ll take any advice I can get.
2 Answers 2
I have spent the past 90 minutes of my life looking for the solution to this. I have been to the darkest corners of the internet possible, and I finally figured it out. You need to send JSON encoded into a string, and you’re sorted. Each
It’s worth noting that you will receive a JSON response with an Identifier key that matches what you sent to the server. This is useful for setting up callbacks and making sure that the loop handling the Websocket’s responses calls the correct function for each command sent. If you only need to send one command every few minutes or so, though, you can pretty much ignore this feature.
Edit: There’s a library that can do this now:
pip install webrcon
Disclaimer: I created it
You can do something like this:
I myself has spent about good 3hrs Working library to interact on demand commands to rust webrcon. Very easy to read code if you want to use it for your own code. But if not you can always download the library 😀
Still working on the docs. But if you look at the python code, its pretty easy to follow.
Not the answer you’re looking for? Browse other questions tagged python websocket or ask your own question.
Related
Hot Network Questions
Subscribe to RSS
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.11.12.40742
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.
Rust egg issue. #585
Comments
Eclip7e commented Jun 27, 2020
Panel Version: 0.7.17
Daemon Version: (version number) newest
Service: Rust
Modified: (yes/no) (did you add or change things, this includes startup configs/install scripts/variables)
And server console is spamming:
Waiting for RCON to come up.
Waiting for RCON to come up.
My startup script has same parameters as default one, but I don’t want to use default script, because I need to edit parameters automatically using cron jobs for automatic server wipes.
The text was updated successfully, but these errors were encountered:
parkervcp commented Jun 27, 2020
If you customized it I cannot guarantee it will work. Especially as the rust game is wrapped by a nodejs wrapper do handle the rcon
Eclip7e commented Jun 27, 2020
But its exactly same as default one!
parkervcp commented Jun 27, 2020
did you also allocate enough ram to the server? it requires something like 6 gigs.
Eclip7e commented Jun 27, 2020
Yes 20gb. Ok you maybe misunderstood situation, server works fine with your custom startup command, but when i edit it like I wrote in first post to run my script which is the same as your default startup command it happens what i described.
I want to use my own script to be able to edit it using cron jobs, therefore I do what I do 🙂
parkervcp commented Jun 27, 2020
So your script should be wrapped by the wrapper.js and that is what is waiting for the rcon to come up. It sounds like your changes are making it so the server isn’t actually starting, or you aren’t using the variables correctly.
Eclip7e commented Jun 27, 2020
server is starting
parkervcp commented Jun 27, 2020
Did your set the rcon port variable to match what’s in your script?
Eclip7e commented Jun 27, 2020
ofc. When I use default startup command its lower part of screen, when i use my script which i posted above its upper part, so there is difference, but im adhering to syntax from documentation https://developer.valvesoftware.com/wiki/Rust_Dedicated_Server#Command_line_parameters
Eclip7e commented Jun 27, 2020 •
You can also check startscript from official RUST server (managed by developers)
https://www.rustafied.com/how-to-host-a-rust-server-in-linux
If you use it the problem still persists: Waiting for RCON to come up.
parkervcp commented Jun 27, 2020
Can you open your file in sftp and get the permissions on the file please.
Eclip7e commented Jun 27, 2020
644, changed them to 777 and problem still persists
Eclip7e commented Jun 27, 2020
Also I’d like to point out that websocket is starting correctly:
WebSocket RCon Started on 28026
parkervcp commented Jun 28, 2020
So the fact that you moved the command to a shell script and that broke it I am going to say my actual egg is perfectly fine and your modifications broke it.
You say you want to use a cron job to edit things but I have no idea what you want it to edit. Most of that you could probably do with the API honestly.
Eclip7e commented Jun 28, 2020
Ok so I want to delete selected files + edit world seed value in order to wipe server into a new map. World seed value is parameter from startup command.
Eclip7e commented Jun 28, 2020 •
This is when I use default Startup Command:
Notice Command Line in both cases they are the same! but in the custom script case I cannot connect to web rcon (no its not because in one case there is «1» and in other «true» both are equivalent).
Waiting for rcon to come up rust что делать
And server console is spamming:
Waiting for RCON to come up.
Waiting for RCON to come up.
My startup script has same parameters as default one, but I don’t want to use default script, because I need to edit parameters automatically using cron jobs for automatic server wipes.
The text was updated successfully, but these errors were encountered:
Eclip7e commented Jun 27, 2020
But its exactly same as default one!
parkervcp commented Jun 27, 2020
did you also allocate enough ram to the server? it requires something like 6 gigs.
Eclip7e commented Jun 27, 2020
Yes 20gb. Ok you maybe misunderstood situation, server works fine with your custom startup command, but when i edit it like I wrote in first post to run my script which is the same as your default startup command it happens what i described.
I want to use my own script to be able to edit it using cron jobs, therefore I do what I do 🙂
parkervcp commented Jun 27, 2020
So your script should be wrapped by the wrapper.js and that is what is waiting for the rcon to come up. It sounds like your changes are making it so the server isn’t actually starting, or you aren’t using the variables correctly.
Eclip7e commented Jun 27, 2020
server is starting
parkervcp commented Jun 27, 2020
Did your set the rcon port variable to match what’s in your script?
Eclip7e commented Jun 27, 2020
If you use it the problem still persists: Waiting for RCON to come up.
parkervcp commented Jun 27, 2020
Can you open your file in sftp and get the permissions on the file please.
Eclip7e commented Jun 27, 2020
644, changed them to 777 and problem still persists
Eclip7e commented Jun 27, 2020
Also I’d like to point out that websocket is starting correctly:
WebSocket RCon Started on 28026
parkervcp commented Jun 28, 2020
So the fact that you moved the command to a shell script and that broke it I am going to say my actual egg is perfectly fine and your modifications broke it.
You say you want to use a cron job to edit things but I have no idea what you want it to edit. Most of that you could probably do with the API honestly.
Eclip7e commented Jun 28, 2020
Ok so I want to delete selected files + edit world seed value in order to wipe server into a new map. World seed value is parameter from startup command.
This is when I use default Startup Command:
Notice Command Line in both cases they are the same! but in the custom script case I cannot connect to web rcon (no its not because in one case there is «1» and in other «true» both are equivalent).
Wulf That looks like a message coming from your host, not the server. I’d suggest contacting them. That looks like a message coming from your host, not the server. I’d suggest contacting them.
this is coming from the rust server itself, i dont think it is coming from oxide/umod
Wulf I can’t find that message in the game, so it’s likely coming from the control panel you are using (Pterodactyl) as the rest appear to be custom messages as well from it along with a few from SteamCMD. From the sound of it, the panel is waiting for RCON to come up so that it can provide console/log output in the panel.
If you prefer to stick with Pterodactyl then their support system would be a better place to ask your questions about it.
that happened after oxide updated
Waiting for rcon to come up rust что делать
Wulf That looks like a message coming from your host, not the server. I’d suggest contacting them. That looks like a message coming from your host, not the server. I’d suggest contacting them.
this is coming from the rust server itself, i dont think it is coming from oxide/umod
Wulf I can’t find that message in the game, so it’s likely coming from the control panel you are using (Pterodactyl) as the rest appear to be custom messages as well from it along with a few from SteamCMD. From the sound of it, the panel is waiting for RCON to come up so that it can provide console/log output in the panel.
If you prefer to stick with Pterodactyl then their support system would be a better place to ask your questions about it.
that happened after oxide updated
Expected Behavior: For it to connect to RCON, but it doesn’t. Don’t know what else to tell you, sorry.
Steps to Reproduce: Install the Rust server and click Start. That’s all I did, and it keeps popping up the RCON message.
The text was updated successfully, but these errors were encountered:
It has 11 GB of* ram, sorry for taking so long to answer
parkervcp commented Jul 21, 2020
I can also be other settings causing it to fail to start.
syntaxxl commented Jul 21, 2020
Do you mind if I send you some screenshots so you can help me out?
I’m just trying to play with friends.
parkervcp commented Aug 3, 2020
If you can get a capture of the shell output when it starts.
Fixed RCON «not connected», not working
Evano
This post is mainly for validation from one of the Oxide devs. I’ve been having rcon issues with my host using Rusty or any other rcon tool and they insist it’s Oxide’s end. I’ve told them I’ve tested it on other Oxide servers NOT hosted through them and it works fine. Here is the response I’ve gotten.
We were testing this yesterday and with oxide installed rcon wont work.
But with oxide uninstalled rcon works perfectly fine.
Tested this on 4 different servers and all came back with the same results.
If you have any other inquiries, don’t hesitate to contact us.
With Kind Regards,
Kennedy Y
Support Technician
I honestly think this is a load of crap, could anyone verify this?
In advanced, thanks.
Wulf Community Admin
Oxide doesn’t control or touch RCON, so not sure what else to say. I have no issues with RCON with Oxide installed either.
Evano
That’s all I needed thanks, I’ll link them this post. I can’t wait to switch to my dedicated box, this is getting stupid. They keep blaming me for my plugins, saying my server is crashing when I have no crash logs. They take no responsibility for any of their issues, i’m losing my mind over this crap.
Wulf Community Admin
Also out of curiosity, are you running Rust:IO? Some say they had issues when using it, but I run it 24/7 as well.
Evano
Yeah, I run it with no issues. I clone my server locally same Oxide build / Rust protocol and I have no issues. It’s only when those files are located @FPSPlayers that I experience this, which leads to them. And despite this post I’ve linked them they are still saying I’m wrong.
Wulf Community Admin
I’ve been doing a bit more testing with your remote server, which likely has the same TCAdmin setup that FPSPlayers has. With vanilla Rust and Oxide, I can connect, but with Oxide installed it shows as «Not connected» and doesn’t show any replies or information, even though it is connected. While I doubt this is directly related to Oxide, I’ll have to look and see why it may be doing this.
Evano
Yay!
Last time I checked, I was able to connect to mine though. Let me re-confirm this.
[DOUBLEPOST=1441497017][/DOUBLEPOST]I just did some testing, so It has to be TCAdmin?
Wulf Community Admin
Not that I can tell, it may be a hook issue with Oxide, just not sure why. I’ve managed to get it to work somewhat, but I’m investigating to see what may be causing it. I’ve been getting mixed results though, so it’s proving difficult to figure out.
[DOUBLEPOST=1441500240][/DOUBLEPOST]So a little update. With and without Oxide on my remote server, RCON only successfully connects fully once, then it «connects», but shows «not connected» after that. I’m not sure what’s going on, but I’m not aware of any changes related to this with Rust, and Oxide doesn’t appear to be affecting it. The results can be so mixed though, that it can be hard to pin down the culprit.
FPSchris
The tool itself is not reporting back any information from the server such as players, chat, etc. However, with Oxide installed and even though the green box on the tool says not connected I am still able to send a test chat message to servers. I am able to check the status, kick, ban, and perform many other tasks but again. no information is being reported back to the tool itself. However, in our TCAdmin environment you can see the actions being performed by clicking on our Web Console.
I am not sure if this helps you at all Wulf. I will attempt to contact the developer of Rusty as well to get their input on the matter. Thank you for continuing to look into the issue.
Wulf Community Admin
The tool itself is not reporting back any information from the server such as players, chat, etc. However, with Oxide installed and even though the green box on the tool says not connected I am still able to send a test chat message to servers. I am able to check the status, kick, ban, and perform many other tasks but again. no information is being reported back to the tool itself. However, in our TCAdmin environment you can see the actions being performed by clicking on our Web Console.
I am not sure if this helps you at all Wulf. I will attempt to contact the developer of Rusty as well to get their input on the matter. Thank you for continuing to look into the issue.
That’s pretty much what we encountered too. @Mughisi and I have been trying to figure it out for the past few hours. We’ll have to take another look when our brains are refreshed. I was able to change the initial connection with a couple of our console hooks disabled though. If you’d like, try the attached DLL below.
The general «not connected» issue though after the first connection disappears when you hit «Refresh» on the Rusty client, though I’m not sure why it happens it the first place, but it isn’t related to Oxide.