Closed butaford closed 4 years ago
password contains only: A-Z,a-z,0-9 I changed the password to 1234567890. The result is the same
UPD. New Commit 92a468e doesn't work at all UPD2. Fully functional commit: a94dd5f
Hi, same here for Avorion server, even worse. It does not work any longer, even with use of config file. Latest working commit is https://github.com/n0la/rcon/commit/a94dd5f9fcff7ac9a3312c279f91d0df20050883 All newer commits result in "Invalid auth reply, valid password?". Regards Martin
I fixed an issue in the authentication, and tested it against the Insurgency stand alone server (source based FPS). Could you verify it against Counter Strike?
No change for avorion after switching back to master and pulling:
With debug:
Are you a 100% sure the password is correct? And that your shell didn't escape/replace some characters in that password?
Your Avorion server does not send a AUTH_RESPONSE
, which means that the password is not correct. If the password were correct, there would be two lines starting with >>
.
Thank you very much for your fast responses! Yes, I am sure. No need to hide the password as there is no rcon access possible from outside:
I also made a short password. Without changes.
I found the bug. Please try again. And sorry for the inconvenience.
Well, Login does work now. But .... :-) No response for the command :-) Just stays at this state.
And sorry for the inconvenience.
All is well. For this, we are all here. :) Unfortunately, the answer never comes... Hanged
Yes, some servers simply don't reply to commands, and instead print the output of the commands to their own console and leave it at that. This is of course kinda weird, since you actually would want to grep through the output of some commands. I think this is some sort of server var that needs changing for that to work.
But I also made an -n
(or --nowait
) flag now, which makes RCON simply ignore any answers to commands it sent to the server. Please note, that this way you will never know whether the server actually executed the command or not.
No, this assumption is wrong. At least for Avorion. See this screenshot showing that there is a return value for the status command (with old version before refactoring): https://user-images.githubusercontent.com/4319959/77452305-1894aa80-6df6-11ea-9540-83fc5fbf3c55.png
Indeed it did. It seems the refactoring broke way too much. Anyhow, it now seems to work fine with my insurgency server, although I have no Avorion game server to test it against.
So should we stick with the old version or are you willing to put more debugging into it? If so, I could clone my avorion server and give you rcon access to the test installation.
Commit 3718e63 is working CS:S. Thanks
@martin8883 Could you test the latest commit with Avorion?
It´s working now with current version. Thank you very much!!! So I will delete my Avorion clone I created yesterday :D
Did not realise you already did one mor commit yesterday.
Sorry, maybe I need to create a separate ticket. When connecting to CSS:
./rcon -1 -H 172.17.1.66 -p 27015 -P RCONPASS status
an error occurs:Invalid auth reply, valid password?
When using the configuration file:./rcon -c /path/to/config/example/rconrc -s csspub status
server answers correctly, no errorssorry bad eng
Originally posted by @butaford in https://github.com/n0la/rcon/issues/16#issuecomment-599530287