# Help needed with spdy

**URL:** <https://www.ruby-forum.com/t/help-needed-with-spdy/221675>\
**Category:** NGINX\
**Created:** [July 25, 2012, 2:18pm UTC](https://www.ruby-forum.com/t/help-needed-with-spdy/221675 "2012-07-25T14:18:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [July 25, 2012, 2:18pm UTC](https://www.ruby-forum.com/t/help-needed-with-spdy/221675/1 "2012-07-25T14:18:52Z")

</div>

Hi,

I’m usually compiling nginx from source (currently using 1.3.3). As  
I’ve read that spdy success story yesterday I thought I’d try that  
myself. So I got 1.3.3 again patched it using spdy.patch-47.txt,  
downloaded OpenSSL 1.0.1c and configured nginx using  
‘–with-http\_ssl\_module  
–with-openssl=/usr/src/nginx/source/openssl-1.0.1c  
–with-sha1=/usr/src/nginx/source/openssl-1.0.1c  
–with-md5=/usr/src/nginx/source/openssl-1.0.1c’ besides my other  
defaults (full nginx -V & uname -a as well as my config which I’m  
running for that host here:  
[nginx -V · GitHub](https://gist.github.com/5f7ff6c8e347371042e7)).

The site which I’m running (with ‘ssl’ and ‘spdy’ within the listen  
directive) on this host currently is a redmine installation where  
nginx delivers all static assets and passes anything else to thin.  
Another vHost (running phpmyadmin there) on that server is spdy  
enabled too - but listening on both. HTTP and HTTPS. Any access for  
testing there is running through https anyway.

However neither Chrome (v22 with spdy enabled) nor Firefox (v14, spdy  
enabled too) indicate that spdy is used on any of those hosts. Any  
ideas what’s going be wrong here?

Regards,  
Chris

---

<div class="post-metadata">

**Author:** ![SSChristian\_BSSnnin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/6f9a4e/32.png) [@SSChristian\_BSSnnin](https://www.ruby-forum.com/u/SSChristian_BSSnnin)\
**Post date:** [July 25, 2012, 2:54pm UTC](https://www.ruby-forum.com/t/help-needed-with-spdy/221675/2 "2012-07-25T14:54:31Z")

</div>

On Wednesday 25 July 2012 16:18:01 Christian B. wrote:

> defaults (full nginx -V & uname -a as well as my config which I’m  
> However neither Chrome (v22 with spdy enabled) nor Firefox (v14, spdy  
> enabled too) indicate that spdy is used on any of those hosts. Any  
> ideas what’s going be wrong here?

Could you provide a debug log?

> **[A debugging log](http://nginx.org/en/docs/debugging_log.html)**

wbr, Valentin V. Bartenev

---

<div class="post-metadata">

**Author:** ![SSChristian\_BSSnnin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/6f9a4e/32.png) [@SSChristian\_BSSnnin](https://www.ruby-forum.com/u/SSChristian_BSSnnin)\
**Post date:** [July 25, 2012, 3:22pm UTC](https://www.ruby-forum.com/t/help-needed-with-spdy/221675/3 "2012-07-25T15:22:35Z")

</div>

Yes, here you are: [debug log · GitHub](https://gist.github.com/db1281399f571ec1de2b). That  
was created using the debug\_connection directive on another - less  
production critical - Host I can “play” with. 100% the same setup  
(like os, compiler, openssl, nginx, configure-options & stuff). nginx  
Config is the same (exept some paths where the application itself  
lives). This host is showing the same problem.

Regards,  
Christian

2012/7/25 Valentin V. Bartenev [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![SSChristian\_BSSnnin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/6f9a4e/32.png) [@SSChristian\_BSSnnin](https://www.ruby-forum.com/u/SSChristian_BSSnnin)\
**Post date:** [July 25, 2012, 7:21pm UTC](https://www.ruby-forum.com/t/help-needed-with-spdy/221675/4 "2012-07-25T19:21:02Z")

</div>

On Wednesday 25 July 2012 17:22:00 Christian B. wrote:

> Yes, here you are: [https://gist.github.com/db1281399f571ec1de2b](https://gist.github.com/db1281399f571ec1de2b). That  
> was created using the debug\_connection directive on another - less  
> production critical - Host I can “play” with. 100% the same setup  
> (like os, compiler, openssl, nginx, configure-options & stuff). nginx  
> Config is the same (exept some paths where the application itself  
> lives). This host is showing the same problem.

Thanks! Could you try the new patch?

[http://nginx.org/patches/spdy/patch.spdy-48.txt](http://nginx.org/patches/spdy/patch.spdy-48.txt)

wbr, Valentin V. Bartenev

---

<div class="post-metadata">

**Author:** ![SSChristian\_BSSnnin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/6f9a4e/32.png) [@SSChristian\_BSSnnin](https://www.ruby-forum.com/u/SSChristian_BSSnnin)\
**Post date:** [July 25, 2012, 10:43pm UTC](https://www.ruby-forum.com/t/help-needed-with-spdy/221675/5 "2012-07-25T22:43:47Z")

</div>

On Thursday 26 July 2012 00:03:38 Christian Boenning wrote:

> That’s working now across both browsers for both Virtual Hosts on that  
> Server. I’ll push that patch to my production Servers soon and will  
> monitor closely how it performs.
> 
> Thank you, Valentin!

Thank you for the report. This was a little bug with the “spdy”  
parameter  
of the “listen” directive. It might not work in some certain virtual  
host  
configurations.

wbr, Valentin V. Bartenev

---

<div class="post-metadata">

**Author:** ![SSChristian\_BSSnnin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/6f9a4e/32.png) [@SSChristian\_BSSnnin](https://www.ruby-forum.com/u/SSChristian_BSSnnin)\
**Post date:** [July 25, 2012, 10:04pm UTC](https://www.ruby-forum.com/t/help-needed-with-spdy/221675/6 "2012-07-25T22:04:02Z")

</div>

That’s working now across both browsers for both Virtual Hosts on that  
Server. I’ll push that patch to my production Servers soon and will  
monitor closely how it performs.

Thank you, Valentin!

Best,  
Chris

Am 25.07.2012 um 19:20 schrieb Valentin V. Bartenev:
