Hi!
I don't get what I'm doing wrong here.
This is in general my ClientSocket Bean:
@Bean
public LocalTeamspeakClientSocket localTeamspeakClientSocket() throws IOException, TimeoutException, CommandException, InterruptedException, GeneralSecurityException {
LocalTeamspeakClientSocket localTeamspeakClientSocket = new LocalTeamspeakClientSocket();
localTeamspeakClientSocket.setIdentity(LocalIdentity.generateNew(10));
localTeamspeakClientSocket.setNickname("Audiobot");
localTeamspeakClientSocket.addListener(new Ts3AudioBotListener());
return localTeamspeakClientSocket;
}
And this is the way I connect to the server:
` localTeamspeakClientSocket.connect(
new InetSocketAddress(
InetAddress.getByName(appConfig.getServerurl()),
appConfig.getServerport() // UDP client port, Teamspeak3 client uses 9987
),
appConfig.getServerpassword(),
50000L
);`
The password is correct if I debug and look at the password.
But the response from the Server is:
[DEBUG] [COMMAND] error id=1028 msg=invalid\sserver\spassword
I don't get what I'm doing wrong here. Do you have any idea?
Thanks for your help in advance and best regards
Hi!
I don't get what I'm doing wrong here.
This is in general my ClientSocket Bean:
And this is the way I connect to the server:
The password is correct if I debug and look at the password.
But the response from the Server is:
[DEBUG] [COMMAND] error id=1028 msg=invalid\sserver\spassword
I don't get what I'm doing wrong here. Do you have any idea?
Thanks for your help in advance and best regards