问题描述
我正在将Jetty-9.2.2与CometD-3.0.1一起使用.我在设置中看到以下警告.一天大约有4,5次.:
I am using jetty-9.2.2 with CometD-3.0.1. I am seeing below warning in my setup. It comes ~4,5 times in a day.:
2014-08-28 08:50:53.712:WARN:oejh.HttpParser:qtp607635164-15194: badMessage:
400 Illegal character for HttpChannelOverHttp@5946f125{r=1,a=IDLE,uri=-}
没有可以从警告消息中调试的详细信息.我已经记录了一个请求 https://bugs.eclipse.org/bugs/show_bug .cgi?id = 443049 来提供详细的警告.
There is no details that can be debugged from the warning message. I have already logged a request https://bugs.eclipse.org/bugs/show_bug.cgi?id=443049 to provide detailed warning.
同时我想知道导致此警告的原因是什么?我可以忽略这一点吗,还是因此而丢失了一些消息?
Meanwhile I want to know what is causing this warning? Can I ignore this or some messages are lost because of this?
推荐答案
我遇到了相同的错误,然后发现它是由我在URL中使用https而不是http引起的. (我的应用程序当时仅支持http.)将https更改为http后,就解决了.
I had the same error, then found out that it was caused by I'm using https in the url instead of http. (My application only supports http at that time.)After changing https to http, it was solved.
这篇关于Jetty-9警告:坏消息:400个非法字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!