dotnet / dotnet/sourcelink

Stepping into code brings up "The request returned an unexpected mime type (text/html)" with Gitea

Open
#1,086 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.4k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

Hi,

while in Visual Studio using the debug feature "step into" on a piece of code, it's supposed to look for the program that includes the parent class on my hard drive, and if it doesn't find it there, it's supposed to look for it using source link.
In the source search information, I see that it is in fact searching my computer, but once it gets to trying to find it via source link, I receive the following log entries:

Looking for source using Source Link ([URL to the file on the git server])...
Source Link errors:
ERROR: The request returned an unexpected mime type (text/html).
The file was not found with Source Link.

When checking the url, it is correct, though I have to first log in to see the actual .cs file that is being searched. From what I can tell, I believe the source link gets to that same log-in screen but then either can't find the credentials to log in, or something along those lines.

Any help is appreciated!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.