Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty 9 & SPDY

Just noticed that I pasted the wrong line. Your connector log should look like this and mention that it uses SSL-npn:

2013-04-29 12:21:41.285:INFO:oejs.ServerConnector:main: Started ServerConnector@3f0821d0{SSL-npn}{0.0.0.0:8443}

Am 4/26/13 12:32 PM, schrieb Thomas Becker:
Ciao Michele,

please try the spdy indicator plugins instead of using fiddler.

That'll be this one for firefox:
https://addons.mozilla.org/de/firefox/addon/spdy-indicator/

And this one for chrome:
https://chrome.google.com/webstore/detail/spdy-indicator/mpbpobfflnpcgagjijhmgnchggcjblin?hl=en-US


You can try those with our website: https://www.webtide.com

If they indicate that your webapp is not being served via spdy, then
please paste your configuration files (start.ini, jetty-spdy.xml,
jetty-ssl.xml) and the output of your server at startup. I'm especially
interested in the connector logs.

The connector logs should look like this:

2013-04-26
12:31:10.416:DBUG:oejssh.HttpChannelOverSPDY:qtp1894386730-13:
Completing task HttpChannelOverSPDY@22509e16{r=1,a=COMPLETED}

You can also try accessing: "chrome://net-internals/#spdy" with chrome
to check if you're connected via SPDY.

Also make sure that your browser supports npn/spdy. All recent versions
of chrome/firefox do.

Cheers,
Thomas

Am 4/25/13 6:45 PM, schrieb Michele Rossi:
hi,
I am trying to configure Jetty 9 with SPDY and I am currently
experiencing some difficulties.

I have been trying to follow the docs at
http://www.eclipse.org/jetty/documentation/current/spdy-configuring.html
but
they might be slightly out of date for Jetty 9.

In the start.ini I have un-commented jetty-ssl.xml and jetty-spdy.xml.

I can see in the logs that the SSL-npn starts successfully on my secure
port.

- When a browser connects to the non ssl HTTP port the protocol isn't
upgraded to SPDY.
I assume this is expected but I am not 100% sure.

- If I connect Chrome to the secure port I can see with Fiddler that the
connection does not get upgraded to SPDY either.

- I have tried to use a perf testing app for Chrome which can force SPDY
traffic and that worked so it probably confirms that I have a NPN / SPDY
connector working


The user guide says that the SSL connector should be configured with
TLSv1 as older versions of the protocol do not support Next Protocol
Negotiation.
If you try to configure "IncludeProtocols" in Jetty 9 the server does
not start.

I could start looking at the code but if anyone here has a quick answer
it would save me a lot of time.

Many thanks for your help.
Michele


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users





Back to the top