BugFix:URL or HTTP headers are too long (IP=127.0.0.1)

來源:互聯網
上載者:User

標籤:錯誤提示   div   .com   res   cep   header   bug   二次   sina   

錯誤提示:

URL or HTTP headers are too long (IP=127.0.0.1)    com.caucho.server.dispatch.BadRequestException: URL or HTTP headers are  too long (IP=127.0.0.1)  Resin/4.0.27 Server: ‘app-0‘  

官方解釋:http://bugs.caucho.com/view.php?id=4999

 

第三方解釋:http://blog.sina.com.cn/s/blog_8a8fd38501014v39.html

總結:這個問題的直接原因是這次訪問的URL過長,實際修正可能和瀏覽器環境,伺服器版本,應用伺服器版本等因素有關。這個錯誤在我本地測試環境下出現,出現原因是官方解釋的第二次請求,在生產伺服器上沒有出現。

比較可能的原因是Cookie太長,除了本站Cookie以外,用到的某些第三方的東西會毫無節制地加Cookie做使用者行為跟蹤,這個問題一般出現在JEE容器上,所以建議開啟瀏覽器當前域Cookie,刪掉一些就Ok了。

BugFix:URL or HTTP headers are too long (IP=127.0.0.1)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.