Open Ale1x opened 2 years ago
Hi,
It can depends your Java version, can you use it with Java 8 and tell me after trying. If you get same error with Java 8 let me know it.
Thanks.
It is working with Java 8. but newest minecraft versions requires Java 16+, can you maybe update websender? Thank you
I sent new release, please check it.
Hi, still the same error.
Exception in thread "Thread-5" java.lang.IllegalArgumentException: Illegal base64 character 20 [22:41:43 ERROR]: at java.base/java.util.Base64$Decoder.decode0(Base64.java:847) [22:41:43 ERROR]: at java.base/java.util.Base64$Decoder.decode(Base64.java:566) [22:41:43 ERROR]: at java.base/java.util.Base64$Decoder.decode(Base64.java:589) [22:41:43 ERROR]: at tc.yigit.shared.UtilSocket.DecodeBASE64(UtilSocket.java:60) [22:41:43 ERROR]: at tc.yigit.shared.UtilSocket.readString(UtilSocket.java:56) [22:41:43 ERROR]: at tc.yigit.shared.SocketServer.run(SocketServer.java:60
Hi,
Can you update your WebSenderAPI.php file with new release. Did you do any change at php file?
When sending a command, i receive this error -
Exception in thread "Thread-8" java.lang.IllegalArgumentException: com.google.common.io.BaseEncoding$DecodingException: Unrecognized character: 0x20 [14:18:10] [Thread-8/WARN]: at com.google.common.io.BaseEncoding.decode(BaseEncoding.java:219) [14:18:10] [Thread-8/WARN]: at tc.yigit.shared.UtilSocket.DecodeBASE64(UtilSocket.java:62) [14:18:10] [Thread-8/WARN]: at tc.yigit.shared.UtilSocket.readString(UtilSocket.java:58) [14:18:10] [Thread-8/WARN]: at tc.yigit.shared.SocketServer.run(SocketServer.java:60) [14:18:10] [Thread-8/WARN]: Caused by: com.google.common.io.BaseEncoding$DecodingException: Unrecognized character: 0x20 [14:18:10] [Thread-8/WARN]: at com.google.common.io.BaseEncoding$Alphabet.decode(BaseEncoding.java:491) [14:18:10] [Thread-8/WARN]: at com.google.common.io.BaseEncoding$Base64Encoding.decodeTo(BaseEncoding.java:974) [14:18:10] [Thread-8/WARN]: at com.google.common.io.BaseEncoding.decodeChecked(BaseEncoding.java:234) [14:18:10] [Thread-8/WARN]: at com.google.common.io.BaseEncoding.decode(BaseEncoding.java:217) [14:18:10] [Thread-8/WARN]: ... 3 more
Including Web Sender PHP file
`<?php
class WebsenderAPI{
}
?>`