opengsq-python icon indicating copy to clipboard operation
opengsq-python copied to clipboard

Source.RemoteConsole not working with ASA

Open carter654 opened this issue 2 years ago • 3 comments

I am unable to to send commands to my ASA server and get a TimeoutError

        with Source.RemoteConsole(host, int(port) as rcon:
            await rcon.authenticate(password)
            response = await rcon.send_command(args)

carter654 avatar Jan 23 '24 00:01 carter654

TimeoutError means there is a connection issue between you and your server, make sure the ip and rcon port are correct.

BattlefieldDuck avatar Jan 23 '24 00:01 BattlefieldDuck

using the same Ip and password but with conqp rcon tool it works fine and using Source.RemoteConsole with a minecraft server it worked as expected. It is just with ASA that it does not connect.

carter654 avatar Jan 23 '24 00:01 carter654

I don't have an ASA server, so I have no idea. Notice that if you run the game server on the local device always use local IP.

BattlefieldDuck avatar Jan 23 '24 01:01 BattlefieldDuck