I have done some research on this subject and found the following. The error
only occurs for me when making HTTPS request. If I make an HTTP request I
never experience this issue. Additionally I've found that setting a
content-type header alleviates the problem. Specifically setting the
Are you running multiple virtual host? I'm not sure if this has anything to
do with the bug but I've temporarily disabled all virtual host so that I'm
only using a single virtual host and have yet been able to replicate the
bug. Then again, this bug only seems to present itself once apache has
Hi,
I disabled mod_rewrite and mod_deflate and haven't seen the problem since.
I have mod_ssl enabled and use https for the application.
That's the same error I was getting in my logs. I have to do some more
testing, but if you want a lead, those two modules are it.
Mike
On Fri, Sep 3, 2010
Hi guys,
I've been having the exact same problem. I'm also using Apache 2, Ubuntu
10.04 and a GoDaddy SSL certificate. Every now and then I get a Bad Request.
The error log shows
Hostname mysite.com provided via SNI, but no hostname provided in HTTP
request
If I restart Apache it doesn't
I’ve seen this same issue. I thought the issue might be related to mod_rewrite.
To your knowledge, are you using mod_rewrite to redirect urls?
If not then SSL must be the root cause as I’m using both.
I’ve been chasing this bug for nearly 6 months now.
Lance
Hi Lance,
Yes, I have mod_rewrite enabled, but my application doesn't require it.
I'll disable it and see if that helps.
When I configure the app to use http, instead of https, the issue goes away,
even through mod_ssl is still enabled. This makes me think mod_ssl is part
of the issue.
I'm