Nuget.Server v3.4.2 - Error 406 (Not Acceptable)

Spudat, Sven 0 Reputation points
2023-07-24T16:19:22.9066667+00:00

Hi,

We are running a local feed for nuget packages. I created this following these instructions:
https://learn.microsoft.com/en-us/nuget/hosting-packages/nuget-server

Normally I can push packages fine, but for some reason these packages give me a 406 (Not Acceptable):
https://www.nuget.org/packages/Elastic.Apm

https://www.nuget.org/packages/Elastic.Apm.AspNetFullFramework

I am not sure (as there is no further error or log) how to proceed from there, as I dont know whether the issues are with the packages or our server.

Can anyone help?

Thanks

Sven Spudat

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,744 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 27,091 Reputation points Microsoft Vendor
    2023-07-25T08:17:21.7366667+00:00

    Hi @Spudat, Sven, 

    Welcome to Microsoft Q&A! 

    I could reproduce the issue on the latest version of VS2022. I also tested it with different versions of NuGet.Server package. 

    I suppose the issue may be related to these specific packages. I recommend you contact the package’s owner or report it on dedicated NuGet.Server forum. 

    Thanks for your understanding! 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments