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

Symbol Server URL 404 (v0.4.0-preview2) #790

Open
LeeWhite187 opened this issue Nov 4, 2023 · 1 comment
Open

Symbol Server URL 404 (v0.4.0-preview2) #790

LeeWhite187 opened this issue Nov 4, 2023 · 1 comment

Comments

@LeeWhite187
Copy link

Describe the bug

Running a successful Baget nuget server (v0.4.0-preview2).
I can publish nupkg files to it, browse them, and download them successfully.
So, the nupkg functionality works fine.

However:
I am unable to download snupkg files, that were uploaded.
Nor, am I able to browse them.
When uploading: 'nuget push' doesn't report an error when publishing snupkg files to it.
But, I cannot download symbol files from the baget server.
And, I have the symbol server listed for debug:
image

To Reproduce

Steps to reproduce the behavior:
With a running instance of v0.4.0-preview2:
I upload a compiled nupkg and snupkg from one of my VS projects:
dotnet nuget push -s http://nugetserver:8079/v3/index.json './Publish/testproject.v1.0.1.nupkg'
dotnet nuget push -s http://nugetserver:8079/v3/index.json './Publish/testproject.v1.0.1.snupkg'
I attempt to browse to the symbol page: http://nugetserver:8079/api/download/symbols
This fails with 404.
I attempt to consume the symbols in a VS project, using the URL: http://nugetserver:8079/api/download/symbols
No symbols are loaded, as indicated by the Debug/Windows/Modules window:
image

Expected behavior

Expected behavior is that the (uploaded) symbols can be downloaded by VS during debug.
From what I've read of issues about the symbol server, the symbol server endpoint is browsable.

Screenshots

Screenshots are embedded, above.

Additional context

I've also downloaded the VS project for Baget, and ran it in the IDE.
It also returns a 404 when attempting to browse the symbol server endpoint: http://localhost:5000/api/download/symbols

@seriouz
Copy link

seriouz commented Dec 5, 2023

What is /api/download/symbols? Did you mean something like that: /api/download/symbols/ba/bagetter.web.pdb/06396877d6594b2b8ce1b26deda90f0dffffffff/bagetter.web.pdb) ( /api/download/symbols/{prefix}/{file}/{key}/{file2})?
This is a symbol-path called by Visual Studio.

@LeeWhite187 If you need more help please ask under https://github.com/bagetter/BaGetter

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

2 participants