{"action":"created","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1486","repository_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1486/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1486/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1486/events","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/1486","id":190708939,"number":1486,"title":"Zuul proxy returns empty response with code 200 when posting form with big files","user":{"login":"MarcinMilewski","id":9371988,"avatar_url":"https://avatars.githubusercontent.com/u/9371988?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcinMilewski","html_url":"https://github.com/MarcinMilewski","followers_url":"https://api.github.com/users/MarcinMilewski/followers","following_url":"https://api.github.com/users/MarcinMilewski/following{/other_user}","gists_url":"https://api.github.com/users/MarcinMilewski/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcinMilewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcinMilewski/subscriptions","organizations_url":"https://api.github.com/users/MarcinMilewski/orgs","repos_url":"https://api.github.com/users/MarcinMilewski/repos","events_url":"https://api.github.com/users/MarcinMilewski/events{/privacy}","received_events_url":"https://api.github.com/users/MarcinMilewski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-21T12:56:28Z","updated_at":"2016-11-21T13:15:43Z","closed_at":null,"body":"Hello. I cannot workaround this strange behaviour: when i posting multipart/form-data form with pretty big files (2 files x 7MB) from my frontend to gateway and that forward to my api service I always getting empty response with 200 code (even when my api service is down).\r\nEverything is working good when these files are smaller (for example 2 x 1MB or 1 x 7MB and second 1MB). There is no error or warns in log. \r\nI attached 2 logs files when performing this request with api service downed.\r\n\r\nThis is log file when form data has smaller size:\r\n`13:11:48.570 [PollingServerListUpdater-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'eurekaClient'\r\n\r\n13:11:48.570 [PollingServerListUpdater-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'eurekaClient'\r\n13:11:48.571 [PollingServerListUpdater-1] DEBUG c.n.l.DynamicServerListLoadBalancer - List of Servers for api-service obtained from Discovery client: []\r\n13:11:48.571 [PollingServerListUpdater-1] DEBUG c.n.l.DynamicServerListLoadBalancer - Filtered List of Servers for api-service obtained from Discovery client:\r\n []\r\n13:11:48.571 [PollingServerListUpdater-1] DEBUG c.n.loadbalancer.BaseLoadBalancer - LoadBalancer:  clearing server list (SET op)\r\n13:11:48.571 [PollingServerListUpdater-1] DEBUG c.n.l.DynamicServerListLoadBalancer - Setting server list for zones: {}\r\n13:11:48.571 [PollingServerListUpdater-1] DEBUG c.n.loadbalancer.BaseLoadBalancer - LoadBalancer:  forceQuickPing invoked\r\n13:11:48.571 [PollingServerListUpdater-1] DEBUG c.n.loadbalancer.BaseLoadBalancer - LoadBalancer:  PingTask executing [0] servers configured\r\n13:11:48.672 [SimpleHostRoutingFilter.connectionManagerTimer] DEBUG o.a.h.i.c.PoolingHttpClientConnectionManager - Closing expired connections\r\n13:11:51.443 [http-nio-8090-exec-8] DEBUG o.s.b.w.f.OrderedRequestContextFilter - Bound request context to thread: org.apache.catalina.connector.RequestFacade\r\n@3159334c\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/css/**']\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/audio/tests'; against '/css/**'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/js/**']\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/audio/tests'; against '/js/**'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/images/**']\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/audio/tests'; against '/images/**'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/webjars/**']\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/audio/tests'; against '/webjars/**'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/**/favicon.ico']\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/audio/tests'; against '/**/favicon.ico'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/error']\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/audio/tests'; against '/error'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - No matches found\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 1 of 11 in additional filter chain; firing Filter: \r\n'WebAsyncManagerIntegrationFilter'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 2 of 11 in additional filter chain; firing Filter: \r\n'SecurityContextPersistenceFilter'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 3 of 11 in additional filter chain; firing Filter: \r\n'HeaderWriterFilter'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 4 of 11 in additional filter chain; firing Filter: \r\n'LogoutFilter'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/logout', GET]\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Request 'POST /api/audio/tests' doesn't match 'GET /logout\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/logout', POST]\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/audio/tests'; against '/logout'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/logout', PUT]\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Request 'POST /api/audio/tests' doesn't match 'PUT /logout\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/logout', DELETE]\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Request 'POST /api/audio/tests' doesn't match 'DELETE /logout\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - No matches found\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 5 of 11 in additional filter chain; firing Filter: \r\n'OAuth2AuthenticationProcessingFilter'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.o.p.a.BearerTokenExtractor - Token not found in headers. Trying request parameters.\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.o.p.a.BearerTokenExtractor - Token not found in request parameters.  Not an OAuth2 request.\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.o.p.a.OAuth2AuthenticationProcessingFilter - No token in request, will continue chain.\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 6 of 11 in additional filter chain; firing Filter: 'RequestCacheAwareFilter'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 7 of 11 in additional filter chain; firing Filter: 'SecurityContextHolderAwareRequestFilter'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 8 of 11 in additional filter chain; firing Filter: 'AnonymousAuthenticationFilter'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.a.AnonymousAuthenticationFilter - Populated SecurityContextHolder with anonymous token: 'org.springframework.security.authentication.AnonymousAuthenticationToken@9055e4a6: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 9 of 11 in additional filter chain; firing Filter: 'SessionManagementFilter'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 10 of 11 in additional filter chain; firing Filter: 'ExceptionTranslationFilter'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 11 of 11 in additional filter chain; firing Filter: 'FilterSecurityInterceptor'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/audio/tests'; against '/api/**'\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.a.i.FilterSecurityInterceptor - Secure object: FilterInvocation: URL: /api/audio/tests; Attributes: [#oauth2.throwOnError(permitAll)]\r\n13:11:51.444 [http-nio-8090-exec-8] DEBUG o.s.s.w.a.i.FilterSecurityInterceptor - Previously Authenticated: org.springframework.security.authentication.AnonymousAuthenticationToken@9055e4a6: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS\r\n13:11:51.445 [http-nio-8090-exec-8] DEBUG o.s.s.access.vote.AffirmativeBased - Voter: org.springframework.security.web.access.expression.WebExpressionVoter@61ae9468, returned: 1\r\n13:11:51.445 [http-nio-8090-exec-8] DEBUG o.s.s.w.a.i.FilterSecurityInterceptor - Authorization successful\r\n13:11:51.445 [http-nio-8090-exec-8] DEBUG o.s.s.w.a.i.FilterSecurityInterceptor - RunAsManager did not change Authentication object\r\n13:11:51.445 [http-nio-8090-exec-8] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests reached end of additional filter chain; proceeding with original chain\r\n13:11:51.445 [http-nio-8090-exec-8] DEBUG o.s.web.servlet.DispatcherServlet - DispatcherServlet with name 'dispatcherServlet' processing POST request for [/api/audio/tests]\r\n13:11:51.446 [http-nio-8090-exec-8] DEBUG o.s.c.n.zuul.web.ZuulHandlerMapping - Matching patterns for request [/api/audio/tests] are [/api/**]\r\n13:11:51.446 [http-nio-8090-exec-8] DEBUG o.s.c.n.zuul.web.ZuulHandlerMapping - URI Template variables for request [/api/audio/tests] are {}\r\n13:11:51.446 [http-nio-8090-exec-8] DEBUG o.s.c.n.zuul.web.ZuulHandlerMapping - Mapping [/api/audio/tests] to HandlerExecutionChain with handler [org.springframework.cloud.netflix.zuul.web.ZuulController@569b71b7] and 1 interceptor\r\n13:11:51.446 [http-nio-8090-exec-8] DEBUG o.s.web.cors.DefaultCorsProcessor - Skip CORS processing: request is from same origin\r\n13:11:51.456 [http-nio-8090-exec-8] DEBUG c.n.z.http.HttpServletRequestWrapper - Path = null\r\n13:11:51.456 [http-nio-8090-exec-8] DEBUG c.n.z.http.HttpServletRequestWrapper - Transfer-Encoding = null\r\n13:11:51.457 [http-nio-8090-exec-8] DEBUG c.n.z.http.HttpServletRequestWrapper - Content-Encoding = null\r\n13:11:51.457 [http-nio-8090-exec-8] DEBUG c.n.z.http.HttpServletRequestWrapper - Content-Length header = 762263\r\n13:11:51.460 [http-nio-8090-exec-8] DEBUG c.n.z.http.HttpServletRequestWrapper - Length of contentData byte array = 762263\r\n13:11:51.460 [http-nio-8090-exec-8] DEBUG o.s.c.n.z.filters.SimpleRouteLocator - Finding route for path: /api/audio/tests\r\n13:11:51.460 [http-nio-8090-exec-8] DEBUG o.s.c.n.z.filters.SimpleRouteLocator - servletPath=/\r\n13:11:51.460 [http-nio-8090-exec-8] DEBUG o.s.c.n.z.filters.SimpleRouteLocator - zuulServletPath=/zuul\r\n13:11:51.460 [http-nio-8090-exec-8] DEBUG o.s.c.n.z.filters.SimpleRouteLocator - RequestUtils.isDispatcherServletRequest()=true\r\n13:11:51.466 [http-nio-8090-exec-8] DEBUG o.s.c.n.z.filters.SimpleRouteLocator - RequestUtils.isZuulServletRequest()=false\r\n13:11:51.466 [http-nio-8090-exec-8] DEBUG o.s.c.n.z.filters.SimpleRouteLocator - adjustedPath=/api/audio/tests\r\n13:11:51.467 [http-nio-8090-exec-8] DEBUG o.s.c.n.z.filters.SimpleRouteLocator - Matching pattern:/oauth/**\r\n13:11:51.467 [http-nio-8090-exec-8] DEBUG o.s.c.n.z.filters.SimpleRouteLocator - Matching pattern:/api/**\r\n13:11:51.467 [http-nio-8090-exec-8] DEBUG o.s.c.n.z.filters.SimpleRouteLocator - route matched=ZuulProperties.ZuulRoute(id=api-service, path=/api/**, serviceId=api-service, url=null, stripPrefix=true, retryable=null, sensitiveHeaders=[], customSensitiveHeaders=true)\r\n13:11:51.467 [http-nio-8090-exec-8] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'ribbonClientConfig'\r\n13:11:51.479 [http-nio-8090-exec-8] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'ribbonLoadBalancer'\r\n13:11:51.480 [http-nio-8090-exec-8] DEBUG c.n.l.ZoneAwareLoadBalancer - Zone aware logic disabled or there is only one zone\r\n13:11:51.480 [http-nio-8090-exec-8] DEBUG com.netflix.hystrix.AbstractCommand - Error executing HystrixCommand.run(). Proceeding to fallback logic ...\r\ncom.netflix.client.ClientException: Load balancer does not have available server for client: api-service\r\n        at com.netflix.loadbalancer.LoadBalancerContext.getServerFromLoadBalancer(LoadBalancerContext.java:468)\r\n`\r\n\r\nThis is the log file when form data has bigger size:\r\n13:10:18.565 [PollingServerListUpdater-0] DEBUG c.n.l.DynamicServerListLoadBalancer - List of Servers for api-service obtained from Discovery client: []\r\n\r\n13:10:18.565 [PollingServerListUpdater-0] DEBUG c.n.l.DynamicServerListLoadBalancer - Filtered List of Servers for api-service obtained from Discovery client: []\r\n13:10:18.565 [PollingServerListUpdater-0] DEBUG c.n.loadbalancer.BaseLoadBalancer - LoadBalancer:  clearing server list (SET op)\r\n13:10:18.565 [PollingServerListUpdater-0] DEBUG c.n.l.DynamicServerListLoadBalancer - Setting server list for zones: {}\r\n13:10:18.565 [PollingServerListUpdater-0] DEBUG c.n.loadbalancer.BaseLoadBalancer - LoadBalancer:  forceQuickPing invoked\r\n13:10:18.565 [PollingServerListUpdater-0] DEBUG c.n.loadbalancer.BaseLoadBalancer - LoadBalancer:  PingTask executing [0] servers configured\r\n13:10:18.666 [SimpleHostRoutingFilter.connectionManagerTimer] DEBUG o.a.h.i.c.PoolingHttpClientConnectionManager - Closing expired connections\r\n13:10:23.667 [SimpleHostRoutingFilter.connectionManagerTimer] DEBUG o.a.h.i.c.PoolingHttpClientConnectionManager - Closing expired connections\r\n13:10:28.667 [SimpleHostRoutingFilter.connectionManagerTimer] DEBUG o.a.h.i.c.PoolingHttpClientConnectionManager - Closing expired connections\r\n13:10:33.667 [SimpleHostRoutingFilter.connectionManagerTimer] DEBUG o.a.h.i.c.PoolingHttpClientConnectionManager - Closing expired connections\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.b.w.f.OrderedRequestContextFilter - Bound request context to thread: org.apache.catalina.connector.RequestFacade@3159334c\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/css/**']\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/audio/tests'; against '/css/**'\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/js/**']\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/audio/tests'; against '/js/**'\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/images/**']\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/audio/tests'; against '/images/**'\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/webjars/**']\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/audio/tests'; against '/webjars/**'\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/**/favicon.ico']\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/audio/tests'; against '/**/favicon.ico'\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/error']\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/audio/tests'; against '/error'\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - No matches found\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 1 of 11 in additional filter chain; firing Filter: \r\n'WebAsyncManagerIntegrationFilter'\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 2 of 11 in additional filter chain; firing Filter: \r\n'SecurityContextPersistenceFilter'\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 3 of 11 in additional filter chain; firing Filter: 'HeaderWriterFilter'\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 4 of 11 in additional filter chain; firing Filter: 'LogoutFilter'\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/logout', GET]\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Request 'POST /api/audio/tests' doesn't match 'GET /logout\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/logout', POST]\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/audio/tests'; against '/logout'\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/logout', PUT]\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Request 'POST /api/audio/tests' doesn't match 'PUT /logout\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/logout', DELETE]\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Request 'POST /api/audio/tests' doesn't match 'DELETE /logout\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.matcher.OrRequestMatcher - No matches found\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 5 of 11 in additional filter chain; firing Filter: 'OAuth2AuthenticationProcessingFilter'\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.o.p.a.BearerTokenExtractor - Token not found in headers. Trying request parameters.\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.o.p.a.BearerTokenExtractor - Token not found in request parameters.  Not an OAuth2 request.\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.o.p.a.OAuth2AuthenticationProcessingFilter - No token in request, will continue chain.\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 6 of 11 in additional filter chain; firing Filter: 'RequestCacheAwareFilter'\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 7 of 11 in additional filter chain; firing Filter: 'SecurityContextHolderAwareRequestFilter'\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 8 of 11 in additional filter chain; firing Filter: 'AnonymousAuthenticationFilter'\r\n13:10:34.683 [http-nio-8090-exec-6] DEBUG o.s.s.w.a.AnonymousAuthenticationFilter - Populated SecurityContextHolder with anonymous token: 'org.springframework.security.authentication.AnonymousAuthenticationToken@9055e4a6: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS'\r\n13:10:34.684 [http-nio-8090-exec-6] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 9 of 11 in additional filter chain; firing Filter: 'SessionManagementFilter'\r\n13:10:34.684 [http-nio-8090-exec-6] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 10 of 11 in additional filter chain; firing Filter: 'ExceptionTranslationFilter'\r\n13:10:34.684 [http-nio-8090-exec-6] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests at position 11 of 11 in additional filter chain; firing Filter: 'FilterSecurityInterceptor'\r\n13:10:34.684 [http-nio-8090-exec-6] DEBUG o.s.s.w.u.m.AntPathRequestMatcher - Checking match of request : '/api/audio/tests'; against '/api/**'\r\n13:10:34.684 [http-nio-8090-exec-6] DEBUG o.s.s.w.a.i.FilterSecurityInterceptor - Secure object: FilterInvocation: URL: /api/audio/tests; Attributes: [#oauth2.throwOnError(permitAll)]\r\n13:10:34.684 [http-nio-8090-exec-6] DEBUG o.s.s.w.a.i.FilterSecurityInterceptor - Previously Authenticated: org.springframework.security.authentication.AnonymousAuthenticationToken@9055e4a6: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS\r\n13:10:34.684 [http-nio-8090-exec-6] DEBUG o.s.s.access.vote.AffirmativeBased - Voter: org.springframework.security.web.access.expression.WebExpressionVoter@61ae9468, returned: 1\r\n13:10:34.684 [http-nio-8090-exec-6] DEBUG o.s.s.w.a.i.FilterSecurityInterceptor - Authorization successful\r\n13:10:34.684 [http-nio-8090-exec-6] DEBUG o.s.s.w.a.i.FilterSecurityInterceptor - RunAsManager did not change Authentication object\r\n13:10:34.684 [http-nio-8090-exec-6] DEBUG o.s.security.web.FilterChainProxy - /api/audio/tests reached end of additional filter chain; proceeding with original chain\r\n13:10:34.685 [http-nio-8090-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - DispatcherServlet with name 'dispatcherServlet' processing POST request for [/api/audio/tests]\r\n13:10:34.685 [http-nio-8090-exec-6] DEBUG o.s.c.n.zuul.web.ZuulHandlerMapping - Matching patterns for request [/api/audio/tests] are [/api/**]\r\n13:10:34.685 [http-nio-8090-exec-6] DEBUG o.s.c.n.zuul.web.ZuulHandlerMapping - URI Template variables for request [/api/audio/tests] are {}\r\n13:10:34.686 [http-nio-8090-exec-6] DEBUG o.s.c.n.zuul.web.ZuulHandlerMapping - Mapping [/api/audio/tests] to HandlerExecutionChain with handler [org.springframework.cloud.netflix.zuul.web.ZuulController@569b71b7] and 1 interceptor\r\n13:10:34.686 [http-nio-8090-exec-6] DEBUG o.s.web.cors.DefaultCorsProcessor - Skip CORS processing: request is from same origin\r\n13:10:35.193 [http-nio-8090-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Null ModelAndView returned to DispatcherServlet with name 'dispatcherServlet': assuming HandlerAdapter completed request handling\r\n13:10:35.197 [http-nio-8090-exec-6] DEBUG o.s.web.servlet.DispatcherServlet - Successfully completed request\r\n13:10:35.197 [http-nio-8090-exec-6] DEBUG o.s.s.w.a.ExceptionTranslationFilter - Chain processed normally\r\n13:10:35.197 [http-nio-8090-exec-6] DEBUG o.s.s.w.h.writers.HstsHeaderWriter - Not injecting HSTS header since it did not match the requestMatcher org.springframework.security.web.header.writers.HstsHeaderWriter$SecureRequestMatcher@13ce0bdb\r\n13:10:35.197 [http-nio-8090-exec-6] DEBUG o.s.s.w.c.SecurityContextPersistenceFilter - SecurityContextHolder now cleared, as request processing completed\r\n13:10:35.197 [http-nio-8090-exec-6] DEBUG o.s.b.w.f.OrderedRequestContextFilter - Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@3159334c\r\n13:10:38.668 [SimpleHostRoutingFilter.connectionManagerTimer] DEBUG o.a.h.i.c.PoolingHttpClientConnectionManager - Closing expired connections\r\n\r\n\r\nWhy there is no exception throw and this very strange behaviour?"},"comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/comments/261935262","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/1486#issuecomment-261935262","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1486","id":261935262,"user":{"login":"MarcinMilewski","id":9371988,"avatar_url":"https://avatars.githubusercontent.com/u/9371988?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcinMilewski","html_url":"https://github.com/MarcinMilewski","followers_url":"https://api.github.com/users/MarcinMilewski/followers","following_url":"https://api.github.com/users/MarcinMilewski/following{/other_user}","gists_url":"https://api.github.com/users/MarcinMilewski/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcinMilewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcinMilewski/subscriptions","organizations_url":"https://api.github.com/users/MarcinMilewski/orgs","repos_url":"https://api.github.com/users/MarcinMilewski/repos","events_url":"https://api.github.com/users/MarcinMilewski/events{/privacy}","received_events_url":"https://api.github.com/users/MarcinMilewski/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T13:15:43Z","updated_at":"2016-11-21T13:15:43Z","body":"Solved. Need to extend max file size in spring-boot configuration or max request size.\r\nStill I think it should throw exception related to this issue.\r\n```\r\n\r\nspring:\r\nhttp:\r\nmultipart:\r\nmax-file-size: 30MB\r\nmax-request-size: 90MB\r\n```"}}
{"actor":{"display_login":"MarcinMilewski"}}