Skip to content

Hangar plugins fail downloading #139

@pranaovs

Description

@pranaovs

Some API Error? I don't know. I tried to fix it but couldn't wrap my head around due to my inexperience with rust.

Error: Resolving Hangar {
    id: "ViaVersion/ViaVersion",
    version: "latest",
}

Caused by:
    0: Fetching project version
    1: error decoding response body
    2: invalid type: sequence, expected a string at line 1 column 2373

Same result when i replace id with "ViaVersion" instead of "ViaVersion/ViaVersion" or version to "latest" or "5.7.0", or any combination of the above. Same error for any hangar plugin. Trying MCMAN_DEBUG=true env var gives me no extra logs.

It works properly with other plugin sources. I tried the quilt example provided in the repo.

Using latest git version commit 0e3bef5.

Minimal `server.toml`

name = "Minecraft Server"
mc_version = "1.21.11"

[jar]
type = "paper"

[variables]
SERVER_PORT = "25565"
difficulty = "normal"

[[mods]]
type = "hangar"
id = "ViaVersion/ViaVersion"
version = "latest"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions