You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand the error, it means that the data lines are longer than they should. But is there a way to inspect what is coming in? My controller doesn't even get executed, the error happens before
This error is not related to the request size limits, but rather the form size limits. And as you say it's likely more of a formatting issue.
Fiddler or Wireshark are good tools for capturing what bytes were written to the wire. Kestrel also has a feature called connection logging for viewing the raw bytes.
Closing this as we haven't heard from you. Please feel free to comment if you're able to get the information we're looking for and we can reopen the issue if we're able to identify the problem.
From @thomasd3 on October 25, 2018 20:11
When uploading data files with RestSharp to a .Net Core 2.1 REST interface, I get this error on some files:
When I do the same operation with Insomnia, I do not get any error, only with RestSharp.
I have read here https://stackoverflow.com/questions/44642701/microsoft-aspnetcore-webutilities-line-length-limit-100-exceeded that there is a problem with the line ending formats, but this is the only article about it.
The controller signature is very simple:
and the code to send is:
If I understand the error, it means that the data lines are longer than they should. But is there a way to inspect what is coming in? My controller doesn't even get executed, the error happens before
Copied from original issue: aspnet/KestrelHttpServer#3057
The text was updated successfully, but these errors were encountered: