Grails:响应标头已满,未发送任何响应

时间:2012-10-29 12:59:57

标签: grails spring-security http-headers

| Error 2012-10-29 14:51:19,847 [http-bio-8443-exec-3] ERROR http11.Http11Processor  - Error processing request
Message: An attempt was made to write more data to the response headers than there was room available in the buffer. Increase maxHttpHeaderSize on the connector or write less data into the response headers.
   Line | Method
->> 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|   908 | run     in     ''
^   680 | run . . in java.lang.Thread
| Error 2012-10-29 14:51:19,850 [http-bio-8443-exec-3] ERROR http11.Http11Processor  - Error finishing response
Message: An attempt was made to write more data to the response headers than there was room available in the buffer. Increase maxHttpHeaderSize on the connector or write less data into the response headers.
   Line | Method
->> 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|   908 | run     in     ''
^   680 | run . . in java.lang.Thread

这在我的本地开发环境中非常随机地发生( grails run-app -https )。无论浏览器是什么。

我在Mac OSX上使用以下插件运行Grails 2.1.0:

aws-sdk             1.3.12           --  AWS SDK Grails Plugin
cookie-session      0.1.2            --  Cookie Session Plugin
hibernate           2.1.0            --  Hibernate for Grails
jquery              1.7.1            --  JQuery for Grails
jquery-ui           1.8.15           --  jQuery UI resources
mail                1.0              --  Provides Mail support to a running Grails application
newrelic            0.1              --  Newrelic Plugin
qrcode              0.3              --  QR Code plugin
quartz              1.0-RC2          --  Quartz plugin for Grails
resources           1.1.6            --  Resources
spring-security-core1.2.7.3          --  Spring Security Core Plugin
tomcat              2.1.0            --  Apache Tomcat plugin for Grails
webxml              1.4.1            --  WebXmlConfig

任何可能导致此问题的想法?

修改 注意到当浏览器转发到j_spring_security_check时,这似乎发生在登录(Spring安全登录表单)之后。使用Chrome& Firefox可以通过重置浏览器来阻止这种情况发生一段时间。 IE的行为与此类似,只是不断发出此错误(错误仅在grails控制台中显示)。

有些东西填满了标题。可能是 cookie-session 插件?

0 个答案:

没有答案