sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Dotnet run producing unfriendly outputs

Open M-Curtis opened this issue 9 years ago • 2 comments

Steps to reproduce

Make a ASP net core project with ssl, kestrel and individual user accounts

Expected behavior

Prints decimal number for line number

Actual behavior

Printing hexadecimal? line numbers.

info: Microsoft.AspNetCore.Server.Kestrel[17]
      Connection id "0HL24847RN8VG" bad request data: "Invalid request line: <0x16><0x03><0x01><0x00><0xC6><0x01><0x00><0x00><0xC2><0x03><0x03><0xCE>#<0xC6><0x1E>+<0x9A>@<0x81><0xC9><0xEF><0x00>q<0xCC>%:<0x19>5m*<0xBB>[..."
Microsoft.AspNetCore.Server.Kestrel.BadHttpRequestException: Invalid request line: <0x16><0x03><0x01><0x00><0xC6><0x01><0x00><0x00><0xC2><0x03><0x03><0xCE>#<0xC6><0x1E>+<0x9A>@<0x81><0xC9><0xEF><0x00>q<0xCC>%:<0x19>5m*<0xBB>[...

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.0-preview4-004233)

Product Information:
 Version:            1.0.0-preview4-004233
 Commit SHA-1 hash:  8cec61c6f7

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.14393
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\1.0.0-preview4-004233

M-Curtis avatar Jan 24 '17 10:01 M-Curtis

@M-Curtis I don't think this has anything to do with dotnet run per se as it seems to be Kestrel that is printing the output. I think that aspnet/kestrelhttpserver would be a much better repo for this issue.

thesmithee avatar Jan 24 '17 15:01 thesmithee

Thanks moving issue there now.

M-Curtis avatar Jan 24 '17 15:01 M-Curtis