Skip to content

Silent exception on folder URLs #2

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

Open
andresmoschini opened this issue Nov 25, 2015 · 0 comments
Open

Silent exception on folder URLs #2

andresmoschini opened this issue Nov 25, 2015 · 0 comments

Comments

@andresmoschini
Copy link
Member

Stack trace:

2015-11-25 10:28:20,724 INFO Microsoft.AspNet.Loader.IIS - Received request: GET /docs/resources HTTP/1.1; Headers: { Connection: keep-alive; Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8; Accept-Encoding: gzip, deflate; Accept-Language: en-US,en;q=0.8,es-AR;q=0.5,es;q=0.3; Cookie: _ga=GA1.2.1625078559.1448391063; Host: restapi.fromdoppler.com; Referer: https://restapi.fromdoppler.com/docs/; User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:42.0) Gecko/20100101 Firefox/42.0; }
2015-11-25 10:28:20,724 INFO Microsoft.AspNet.Builder.RouterMiddleware - Request did not match any routes.
2015-11-25 10:28:20,724 INFO Microsoft.AspNet.Loader.IIS - Sending Response: HTTP/1.1 200 ; Headers: { Server: Microsoft-IIS/7.5; Content-Type: text/html; Last-Modified: Tue, 24 Nov 2015 18:31:17 GMT; Cache-Control: public, max-age=0; Content-Length: 7988; }
2015-11-25 10:28:20,724 ERROR Microsoft.AspNet.Loader.IIS - An error occurred while handling the request.
System.InvalidOperationException: The response has already been sent and cannot be modified.
   at Microsoft.AspNet.Loader.IIS.Infrastructure.HeliosHttpContext.Microsoft.AspNet.Loader.IIS.IHttpResponse.set_StatusCode(UInt16 value)
   at Microsoft.AspNet.Loader.IIS.FeatureModel.FeatureContext.Microsoft.AspNet.Http.Features.IHttpResponseFeature.set_StatusCode(Int32 value)
   at Microsoft.AspNet.Http.Internal.DefaultHttpResponse.set_StatusCode(Int32 value)
   at MakingSense.AspNet.HypermediaApi.ExceptionHandling.ProblemResult.<ExecuteResultAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at MakingSense.AspNet.HypermediaApi.ExceptionHandling.ApiErrorHandlerMiddleware.<ExecuteProblemResultAsync>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at MakingSense.AspNet.HypermediaApi.ExceptionHandling.ApiErrorHandlerMiddleware.<Invoke>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNet.Hosting.Internal.RequestServicesContainerMiddleware.<Invoke>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNet.Hosting.Internal.HostingEngine.<>c__DisplayClass29_0.<<Start>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNet.Loader.IIS.RuntimeHttpApplication.<ProcessRequestAsyncImpl>d__13.MoveNext()
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

1 participant