question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Description

Hello, I’m trying to use this with a NuGet feed on Github Packages, when I update the nuget.config to one that works on a another .NET project I get a 404 error:

Unable to retrieve package list from https://nuget.pkg.github.com/[Redacted]/index.jsonSearch()?$filter=IsLatestVersion&$orderby=DownloadCount desc&$skip=0&$top=15&searchTerm=‘’&targetFramework=‘’&includePrerelease=false System.Net.WebException: The remote server returned an error: (404) Not Found. at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00058] in <ef151b6abb5d474cb2c1cb8906a8b5a4>:0 at System.Net.HttpWebRequest.GetResponse () [0x0000e] in <ef151b6abb5d474cb2c1cb8906a8b5a4>:0 at NugetForUnity.NugetHelper.RequestUrl (System.String url, System.String userName, System.String password, System.Nullable`1[T] timeOut) [0x000b9] in <ebb7710be32040ba9a0cb144ce2a8967>:0 at NugetForUnity.NugetPackageSource.GetPackagesFromUrl (System.String url, System.String username, System.String password) [0x0006c] in <ebb7710be32040ba9a0cb144ce2a8967>:0 at NugetForUnity.NugetPackageSource.Search (System.String searchTerm, System.Boolean includeAllVersions, System.Boolean includePrerelease, System.Int32 numberToGet, System.Int32 numberToSkip) [0x000ce] in <ebb7710be32040ba9a0cb144ce2a8967>:0 UnityEngine.Debug:LogErrorFormat (string,object[]) NugetForUnity.NugetPackageSource:Search (string,bool,bool,int,int) NugetForUnity.NugetHelper:Search (string,bool,bool,int,int) NugetForUnity.NugetWindow:UpdateOnlinePackages () NugetForUnity.NugetWindow:Refresh (bool) NugetForUnity.NugetWindow:DrawOnlineHeader () NugetForUnity.NugetWindow:DrawOnline () NugetForUnity.NugetWindow:OnGUI () UnityEngine.GUIUtility:ProcessEvent (int,intptr)

Same issue with index.json/Search()

Going straight to index.json it says “version”: “3.0.0-beta.1” at the top. Are Github Packages exclusively v3 and therefore unable to work with this?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
disambiguationukcommented, Mar 25, 2021

It’s normally the api/v2/ endpoint that you generate in your NuGet.config for nuget.org right? I’ll see if I can do some more digging but Github Packages doesn’t seem to be well documented. I’ll post what I find regardless.

0reactions
jwittnercommented, Apr 21, 2021

Closed this as the original uri was using unsupported V3 routes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Your packages, at home with their code
With GitHub Packages, you can safely publish and consume packages within your organization or with the entire world. Get started See pricing ...
Read more >
Introduction to GitHub Packages
GitHub Packages is a platform for hosting and managing packages, including containers and other dependencies. GitHub Packages combines your source code and ...
Read more >
GitHub Packages documentation
Learn to safely publish and consume packages, store your packages alongside your code, and share your packages privately with your team or publicly...
Read more >
Working with a GitHub Packages registry
Learn how to use a supported GitHub Packages registry.
Read more >
Introduction to GitHub Packages - GitHub AE Docs
GitHub Packages is a platform for hosting and managing packages, including containers and other dependencies. GitHub Packages combines your source code and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found