-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hey,
I've been trying to connect to the SG Garena server with my Garena credentials that DO work in the Garena client and Garena SG LoL Forums, but still I always receive:
Exception in thread "main" net.boreeas.riotapi.com.riotgames.platform.account.management.InvalidCredentialsException
at net.boreeas.riotapi.loginqueue.LoginQueue.getAuthToken(LoginQueue.java:58)
at net.boreeas.riotapi.loginqueue.QueueTimer.run(QueueTimer.java:89)
My credentials are 100% correct, checked multiple times. Connecting to XMPP with those credentials works too, must be a riotapi problem.
My Java code:
sgClient = new AlertClient(Shard.SG, ChatServer.SEA, "username, eg. Mayesters",
"password");
try {
sgClient.connect();
} catch (NoServerSpecifiedException | InterruptedException e) {
log(stackTraceToString(e), LogLevel.ERROR);
}
(Custom Methods etc., just posted them to be complete)
Do Garena credentials need to be altered in some way?
Sincerely,
Mayesters