opengsq / opengsq-python

Python library designed for querying game servers. It supports 24 different query protocols and has been downloaded over 34,000 times.
https://python.opengsq.com/
MIT License
25 stars 4 forks source link

Source.RemoteConsole not working with ASA #7

Open BigRus24 opened 8 months ago

BigRus24 commented 8 months ago

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)
BattlefieldDuck commented 8 months ago

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

BigRus24 commented 8 months ago

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.

BattlefieldDuck commented 8 months ago

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.