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

Premature Cosmetica Server Connection Shutdown #138

Open
Korulein opened this issue Mar 13, 2024 · 0 comments
Open

Premature Cosmetica Server Connection Shutdown #138

Korulein opened this issue Mar 13, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Korulein
Copy link

Korulein commented Mar 13, 2024

Describe the bug
Cosmetica failure to connect to servers.

To Reproduce
Steps to reproduce the behaviour:
Upon opening up the Cosmetica GUI, your skin appears as default. Proceeding to try and add any form of cosmetic either fails to load the relevant menu or when selecting a title your title does not update.

Expected behaviour
The expected behaviour is that the GUI would load up as it normally does, displaying your skin and displaying the selection of cosmetics when asked to.

Screenshots
image
image

Setup (please complete the following information):

  • OS: Windows 10 x64 [Clientside] :: Rocky Linux 9.3 [Serverside]
  • 1.20.1 - Fabric
  • Cosmetica 1.20-1.2.7

Additional context

The server is a heavily modded, custom modpack. Prior to the latest update cosmetica had been working without issue, the added mods include:

Origins
Origins Extra
Origins ++
Chest Tracker
Botania
Horse Stats Vanilla
Merenc
Anvil Fix

In the clientside logs, the following error is thrown:

[14:13:49] [Render thread/WARN]: In state "LOADED" but dataSelection is null. Switching to state "LOADING"!
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: java.io.UncheckedIOException: org.apache.http.ConnectionClosedException: Premature end of chunk coded message body: closing chunk expected
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at cc.cosmetica.api.ServerResponse.(ServerResponse.java:50)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at cc.cosmetica.impl.CosmeticaWebAPI.getCosmeticsPage(CosmeticaWebAPI.java:248)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at cc.cosmetica.impl.CosmeticaWebAPI.getRecentCosmetics(CosmeticaWebAPI.java:258)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at cc.cosmetica.cosmetica.screens.BrowseCosmeticsScreen.lambda$addWidgets$1(BrowseCosmeticsScreen.java:100)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at cc.cosmetica.cosmetica.screens.widget.FetchingCosmetics.lambda$new$0(FetchingCosmetics.java:36)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at java.base/java.lang.Thread.run(Thread.java:833)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: Caused by: org.apache.http.ConnectionClosedException: Premature end of chunk coded message body: closing chunk expected
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at org.apache.http.impl.io.ChunkedInputStream.getChunkSize(ChunkedInputStream.java:263)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at org.apache.http.impl.io.ChunkedInputStream.nextChunk(ChunkedInputStream.java:222)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:183)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:135)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at java.base/java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:242)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at java.base/java.util.zip.GZIPInputStream.read(GZIPInputStream.java:117)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at org.apache.http.client.entity.LazyDecompressingInputStream.read(LazyDecompressingInputStream.java:70)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:270)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:313)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at java.base/java.io.InputStreamReader.read(InputStreamReader.java:177)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at java.base/java.io.Reader.read(Reader.java:250)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at org.apache.http.util.EntityUtils.toString(EntityUtils.java:227)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at org.apache.http.util.EntityUtils.toString(EntityUtils.java:270)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at cc.cosmetica.util.Response.getAsJson(Response.java:95)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: at cc.cosmetica.impl.CosmeticaWebAPI.getCosmeticsPage(CosmeticaWebAPI.java:235)
[14:13:49] [Fetching Cosmetics Thread #1/INFO]: [STDERR]: ... 4 more

@Korulein Korulein changed the title Premature server connection shutdown Premature Cosmetica Server Connection Shutdown Mar 13, 2024
@valoeghese valoeghese added the bug Something isn't working label May 19, 2024
@valoeghese valoeghese self-assigned this May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants