Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.20.2] Vanilla clients can't connect #6

Closed
tesseract-two opened this issue Nov 29, 2023 · 2 comments
Closed

[1.20.2] Vanilla clients can't connect #6

tesseract-two opened this issue Nov 29, 2023 · 2 comments

Comments

@tesseract-two
Copy link

Attempting to connect to a server with OCAIP with a vanilla client fails with this error message:
Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(6) + length(1) exceeds writerIndex(6): PooledUnsafeDirectByteBuf(ridx: 6, widx: 6, cap: 6)

Client:
Vanilla Minecraft 1.20.2, launched from Prism Launcher

Server:
Minecraft 1.20.2
Fabric Loader 0.14.25
OCAIP 1.3.3

OCAIP config:

; Registration password
password=two
; Require OCAIP login
requireOCAIP=false
; Registration sha1pow zero count (complexity, higher value is more time)
sha1pow.zero=
; Registration sha1pow count
sha1pow.count=
@SFort SFort closed this as completed in 9e5ec25 Nov 29, 2023
@SFort
Copy link
Owner

SFort commented Nov 29, 2023

Note that i haven't tested (because i really don't wanna renew MS tokens) but i'm nearly certain that was the bug, thanks for the report

@tesseract-two
Copy link
Author

It's working perfectly now, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants