Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th July 2012, 09:55
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,259
Thanks: 76
Thanked 23 Times in 19 Posts
Default Using mod_spdy With Apache2 On Debian Squeeze probs

Followed this tutorial: http://www.howtoforge.com/using-mod_...debian-squeeze

Google Chrome doesn'T show any traces of using mod_spdy with my test site: chrome://net-internals/#spdy

Here it is if you want to try: https://cloud.premaman.co.za

Found a few things in my error logs:

Quote:
[Mon Jul 09 09:17:57 2012] [warn] [client 109.228.24.218] [15462:15462:WARNING:mod_spdy.cc(482)] NPN didn't happen during SSL handshake. You're probably using a version of mod_ssl that doesn't support NPN. Without NPN support, the server cannot use SPDY. See http://code.google.com/p/mod-spdy/wiki/GettingStarted for more information on installing a version of mod_spdy with NPN support.
[Mon Jul 09 09:34:28 2012] [warn] [client 196.215.78.72] [stream 31] [20284:20582:WARNING:spdy_to_http_filter.cc(168)] Unsupported read mode (2) on stream 31
I followed that link and found this:

Quote:
KnownIssues
Known compatibility issues, and workarounds. Updated Apr 18, 2012 by mdste...@google.com
Since mod_spdy uses a thread pool to process multiplexed requests concurrently, it is not compatible with non-thread-safe Apache modules such as mod_php. If you use mod_php or another non-thread-safe generator, you can use it with mod_spdy by running it with mod_fcgid. We have successfully run an Apache server with SPDY, PHP and WordPress by using mod_fcgid instead of mod_php.
mod_spdy is currently not compatible with mod_ssl's SSLRequireSSL directive; see issue 31. There is no known workaround at this time except to simply not use the SSLRequireSSL directive.
Some users whose sites redirect http urls to https have experienced redirect loops after installing mod_spdy. If this happens, please see issue 34 for a workaround that may help.
I am using Debian 6.0 set up according to the ISPCFG3 how to for the perfect server and this test site is using mod_fcgid

Any hints? Do I really need to build mod_ssl with NPN support?
Reply With Quote
Sponsored Links
  #2  
Old 10th July 2012, 17:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

It's working for me when I go to your site.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 11th July 2012, 00:08
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,259
Thanks: 76
Thanked 23 Times in 19 Posts
Default

That is really weird, I just tried again and you are right. I haven't changed anything since posting here.

Ok, well, lets leave it at that but does this look like its bad or can I just ignore it? Rings any bells with you?


Quote:
[Tue Jul 10 11:24:48 2012] [warn] [client 196.215.78.72] [stream 23] [6228:7199:WARNING:http_to_spdy_filter.cc(113)] HttpToSpdyFilter is not the last filter in the chain: http_to_spdy
[Tue Jul 10 14:19:40 2012] [error] [client 41.4.86.229] [21050:21050:ERROR:mod_spdy.cc(470)] Speculative read failed with status 104: Connection reset by peer
[Tue Jul 10 16:29:05 2012] [error] [client 93.186.22.251] [22055:22055:ERROR:mod_spdy.cc(470)] Speculative read failed with status 20014: Internal error
[Tue Jul 10 17:08:04 2012] [warn] [client 85.176.138.196] [stream 95] [32656:310:WARNING:spdy_to_http_filter.cc(168)] Unsupported read mode (2) on stream 95
Can I also add a slightly related question:

If I have a site where I only need HTTPS for maybe 3 URLs (i.e. a shopping cart, checkout, etc.) is it best to keep only those pages secured or rather go with the whole site for HTTPS?
Speed-wise is a non-https page or a https-page with mod_spdy and the proper browser faster for the end user?
Reply With Quote
  #4  
Old 11th July 2012, 18:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Quote:
Originally Posted by Ovidiu View Post
Speed-wise is a non-https page or a https-page with mod_spdy and the proper browser faster for the end user?
I haven't tested this. But in general a https page (without SPDY) takes a bit longer than a http page because of the SSL handshake, but after the handshake is done, subsequent pages are almost equally fast.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
debian, mod_spdy

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation just stops, and dies. cosmicsafari Installation/Configuration 3 19th July 2011 10:24
ispconfig3 debian squeeze index.html from apache2 CD_PlaYeR Server Operation 5 2nd May 2011 00:31
[debian 5 + ispconfig 3] Unable to send mail tanakskool HOWTO-Related Questions 6 4th November 2009 18:20
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 17:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.