{"action":"opened","issue":{"url":"https://api.github.com/repos/spring-projects/spring-security/issues/4239","repository_url":"https://api.github.com/repos/spring-projects/spring-security","labels_url":"https://api.github.com/repos/spring-projects/spring-security/issues/4239/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-security/issues/4239/comments","events_url":"https://api.github.com/repos/spring-projects/spring-security/issues/4239/events","html_url":"https://github.com/spring-projects/spring-security/issues/4239","id":212679864,"number":4239,"title":"getOutputStream() has already been called for this response","user":{"login":"davidjirovec","id":1950225,"avatar_url":"https://avatars3.githubusercontent.com/u/1950225?v=3","gravatar_id":"","url":"https://api.github.com/users/davidjirovec","html_url":"https://github.com/davidjirovec","followers_url":"https://api.github.com/users/davidjirovec/followers","following_url":"https://api.github.com/users/davidjirovec/following{/other_user}","gists_url":"https://api.github.com/users/davidjirovec/gists{/gist_id}","starred_url":"https://api.github.com/users/davidjirovec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidjirovec/subscriptions","organizations_url":"https://api.github.com/users/davidjirovec/orgs","repos_url":"https://api.github.com/users/davidjirovec/repos","events_url":"https://api.github.com/users/davidjirovec/events{/privacy}","received_events_url":"https://api.github.com/users/davidjirovec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-08T09:22:28Z","updated_at":"2017-03-08T09:22:28Z","closed_at":null,"body":"When I use Logbook auto configuration with Spring Security with Spring Boot app packaged as war and deployed to Tomcat and try to access non existent url, I get\r\n\r\n```\r\nWhitelabel Error Page\r\n\r\nThis application has no explicit mapping for /error, so you are seeing this as a fallback.\r\n\r\nTue Mar 07 18:14:22 CET 2017\r\nThere was an unexpected error (type=Internal Server Error, status=500).\r\ngetOutputStream() has already been called for this response\r\n```\r\n\r\nI have prepared minimal example to reproduce it [here](https://github.com/davidjirovec/Logbook-Spring-Security-Problem)\r\n\r\nwithout Logbook it works as expected - basic auth is required\r\nwithout Spring Security it works as expected - not found error message is shown\r\nwhen packaged as jar with embedded Tomcat it works perfectly\r\n\r\nThe problem is not present only when accessing non existent url - if there would be any controllers in my example, you would not be able to access them neither."}}
{"actor":{"display_login":"davidjirovec"}}