I am trying to just run a basic rcon to my server with this code
try {
GameServer server = new SourceServer("MyExternalIp", 11111);
server.rconAuth("servPass01");
String output = server.rconExec("status");
System.out.println();
}catch(Exception e){
e.printStackTrace();
}
Note MyExternalIp was removed, and port was changed to a random number.
I know everything is set up correctly because I can use ARKon perfectly fine... But as soon as I try to use this java code I get a timeout exception.
Jan 16, 2016 1:20:37 PM com.github.koraktor.steamcondenser.steam.sockets.RCONSocket getReply
INFO: Received packet of type "class com.github.koraktor.steamcondenser.steam.packets.rcon.RCONAuthResponse".
java.util.concurrent.TimeoutException
at com.github.koraktor.steamcondenser.steam.sockets.SteamSocket.receivePacket(SteamSocket.java:112)
at com.github.koraktor.steamcondenser.steam.sockets.RCONSocket.getReply(RCONSocket.java:99)
at com.github.koraktor.steamcondenser.steam.servers.SourceServer.rconAuth(SourceServer.java:152)
at Test.main(Test.java:11)
My ports opened should not be a problem because again ARKon works perfect without any issues using the same exact ip/port/pass. But the ports that are opened are the RCon port (11111 in this example) The server port and query port. I am also using this branch steam-condenser-java-1.3.9
Am I doing something incorrect? This seems way too simple for me to mess up....
I am trying to just run a basic rcon to my server with this code
try {
GameServer server = new SourceServer("MyExternalIp", 11111);
server.rconAuth("servPass01");
String output = server.rconExec("status");
System.out.println();
}catch(Exception e){
e.printStackTrace();
}
Note MyExternalIp was removed, and port was changed to a random number.
I know everything is set up correctly because I can use ARKon perfectly fine... But as soon as I try to use this java code I get a timeout exception.
Jan 16, 2016 1:20:37 PM com.github.koraktor.steamcondenser.steam.sockets.RCONSocket getReply
INFO: Received packet of type "class com.github.koraktor.steamcondenser.steam.packets.rcon.RCONAuthResponse".
java.util.concurrent.TimeoutException
at com.github.koraktor.steamcondenser.steam.sockets.SteamSocket.receivePacket(SteamSocket.java:112)
at com.github.koraktor.steamcondenser.steam.sockets.RCONSocket.getReply(RCONSocket.java:99)
at com.github.koraktor.steamcondenser.steam.servers.SourceServer.rconAuth(SourceServer.java:152)
at Test.main(Test.java:11)
My ports opened should not be a problem because again ARKon works perfect without any issues using the same exact ip/port/pass. But the ports that are opened are the RCon port (11111 in this example) The server port and query port. I am also using this branch steam-condenser-java-1.3.9
Am I doing something incorrect? This seems way too simple for me to mess up....