Unable to authenticate using correct credentials
khoek opened this issue · 5 comments
Reported by Rwin1234#11.
Could someone please test if using this sample config file:
user: test
pass: test
port: 25564
I have a suspicion that the plugin is failing to parse the config file. Could you try logging in using “username” and “password”? There also might be a message in the server log about invalid things.
It does NOT work with general login credentials or test/test.
But with "username"/"password" it does work :
09:23 AM [INFO] [RemoteBukkit] Connection #46 from 172.19.3.200:57570 was accepted.
09:23 AM [INFO] [RemoteBukkit] Connection #46 from 172.19.3.200:57570 was successfully established.
So something is wrong with parsing the config.yml
[edit] made post more clear
@Rwin1234 So we're all good?
Ehh... no... it ONLY works with the literal "username"/"password" combination. NOT with any other login credentials. So the parsing is definitly wrong. Not usable from an open port to the internet ...
By the way I also got this output when running the program with other credentials, but strangely enough not always, only if you repeat starting the program a couple of times:
>Exception in thread "main" java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at me.escortkeel.remotebukkit.console.Main.main(Main.java:121)
On the server console it says:
2013-04-08 16:05:35 [INFO] [RemoteBukkit] Connection #56 from 172.19.3.200:59483 was accepted.
2013-04-08 16:05:35 [INFO] [RemoteBukkit] Connection #56 from 172.19.3.200:59483 attempted to authen
ticate using incorrect credentials.
After you wait some time then the program output again says:
RemoteBukkit closing connection because:
Incorrect credentials.
@Rwin1234 I'll have the lastest version built and uploaded by the end of the day. ;)