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

Issue whie getting librdkafka from Nuget.org via V3 API #4801

Open
1 of 7 tasks
OndrejKares opened this issue Aug 1, 2024 · 1 comment
Open
1 of 7 tasks

Issue whie getting librdkafka from Nuget.org via V3 API #4801

OndrejKares opened this issue Aug 1, 2024 · 1 comment

Comments

@OndrejKares
Copy link

OndrejKares commented Aug 1, 2024

Description

Getting an error while getting librdkafka through V3 API from nuget.org

2024-08-01 11:19:25,686 [http-nio-8081-exec-11229] [ERROR] (o.a.a.n.r.NuGetV3VirtualAndRemoteCommon:243) - Failed to download resource in repo: central-nuget-remote, at url: https://api.nuget.org/v3/registration5-gz-semver2/librdkafka.redist/page/1.2.0-RC1b/1.9.0-RC10.json. HTTP STATUS CODE: 404
2024-08-01 11:19:25,686 [http-nio-8081-exec-11229] [ERROR] (o.a.a.n.r.NuGetV3VirtualAndRemoteCommon:458) - Failed to parse registration page for package: librdkafka.redist
2024-08-01 11:19:26,108 [http-nio-8081-exec-11213] [ERROR] (o.a.a.n.r.NuGetV3VirtualAndRemoteCommon:243) - Failed to download resource in repo: central-nuget-remote, at url: https://api.nuget.org/v3/registration5-gz-semver2/librdkafka.redist/page/1.9.0-RC12/2.5.0.json. HTTP STATUS CODE: 404
2024-08-01 11:19:26,108 [http-nio-8081-exec-11213] [ERROR] (o.a.a.n.r.NuGetV3VirtualAndRemoteCommon:458) - Failed to parse registration page for package: librdkafka.redist

How to reproduce

I'm using Artifacotry with local nuget repository central-nuget-remote which is linked to nuget.org.
I can get this json:

{
    "count": 3,
    "items": [
        {
            "count": 64,
            "lower": "0.9.3-pre-20",
            "upper": "1.1.0",
            "@id": "https://artifactory.local:443/artifactory/api/nuget/v3/central-nuget-remote/registration-semver2/librdkafka.redist/page/0.9.3-pre-20/1.1.0.json"
        },
        {
            "count": 64,
            "lower": "1.2.0-RC1b",
            "upper": "1.9.0-RC10",
            "@id": "https://artifactory.local:443/artifactory/api/nuget/v3/central-nuget-remote/registration-semver2/librdkafka.redist/page/1.2.0-RC1b/1.9.0-RC10.json"
        },
        {
            "count": 42,
            "lower": "1.9.0-RC12",
            "upper": "2.5.0",
            "@id": "https://artifactory.local:443/artifactory/api/nuget/v3/central-nuget-remote/registration-semver2/librdkafka.redist/page/1.9.0-RC12/2.5.0.json"
        }
    ],
    "@id": "https://artifactory.local:443/artifactory/api/nuget/v3/central-nuget-remote/registration-semver2/librdkafka.redist/index.json"
}

I'm able to download
https://artifactory.local:443/artifactory/api/nuget/v3/central-nuget-remote/registration-semver2/librdkafka.redist/page/0.9.3-pre-20/1.1.0.json
However I get an ERROR for other two:

https://api.nuget.org/v3/registration5-gz-semver2/librdkafka.redist/page/1.2.0-RC1b/1.9.0-RC10.json
https://api.nuget.org/v3/registration5-gz-semver2/librdkafka.redist/page/1.9.0-RC12/2.5.0.json

<Error>
<Code>BlobNotFound</Code>
<Message>The specified blob does not exist. RequestId:c9216b7b-601e-003b-6c05-e4f853000000 Time:2024-08-01T11:25:23.6459651Z</Message>
</Error>

Can you check Nuget repository setup?

Checklist

IMPORTANT: We will close issues where the checklist has not been completed.

Please provide the following information:

  • librdkafka version (release number or git tag): all
  • Apache Kafka version: not related
  • librdkafka client configuration: not related
  • Operating system: not related
  • Provide logs (with debug=.. as necessary) from librdkafka
  • Provide broker log excerpts
  • Critical issue
@OndrejKares
Copy link
Author

I tried to use Nuget API V2 and it worked, so there is a workaround.

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

1 participant