Closed Slatenhaus closed 6 months ago
I need some more information on this:
For how long was the server up and running when you performed the command?
Do you have RCONEnabled
set to True?
If so, where?
Where's your RCON password specified?
Did you change the RCON port? If so, where did you change it?
Server was up and running for several days for configuration with several restarts for troubleshooting. RCON was tested at various time intervals.
RCON is enabled and the port and password is specified in the proper location in GameUserSettings.ini.
[ServerSettings] RCONEnabled=True ServerAdminPassword=password RCONPort=27020
It looks like it's not creating the /usr/bin/asa-ctrl or /usr/lib64/ruby folders. They don't exist.
It looks like it's not creating the /usr/bin/asa-ctrl or /usr/lib64/ruby folders. They don't exist.
They seem to exist, otherwise you wouldn't be able to get this stack trace. Those directories can only be accessed from within the container.
ServerAdminPassword=password
Does your password have any special characters or spaces? Please try it with a simple password like "s3adudu1ad" and keep it in the range of 8-12 chars. Not sure what password requirements ASA has.
Thank you for the help. I didn't realize the ruby was contained in the container so I was searching the host, my bad. And my decades of complex password experience failed me. That was the cause of the problem; the password was too complex. A simple password is working just fine.
I suspected that, however I think asa-ctrl
should catch this case. I will leave this issue open to address it in a future release.
I'm unable to reproduce this issue. I tried it with really complex passwords (even whitespaces in between). All commands are executing successfully. In case you want to share with me the password you used (given that you only tried using it on that server and not for anything else), feel free to reach out to me using the mail on my GitHub profile.
I'm receiving this error when trying to pass RCON commands as shown in your documentation. I'm not sure what would be causing this.
root@arksrv:/var/lib/asa-server# docker exec asa-server-TheIsland asa-ctrl rcon --exec 'saveworld' /usr/share/asa-ctrl/rcon/rcon.rb:25:in
send_packet!': undefined method
bytesize' for an instance of Array (NoMethodError)