Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] How to use HTTP2Client

I got the client working by excluding all ciphers that are blacklisted
in org.eclipse.jetty.http2.HTTP2Cipher in the SslContextFactory. It
seems that the protocol negotation between Jetty's Http2Client and
Http2Server doesn't really work otherwise.

On Mon, Apr 6, 2015, at 17:29, jetty-client@xxxxxxxxxxxxxx wrote:
> The example code sets the included protocols for the client as: TLSv1.2,
> TLSv1.1, TLSv1. Which are all blacklisted by Jetty's own HTTP server.
> What protocol should I use to make this work on a Jetty Http2 server
> using ALPN?
> 
> On Mon, Apr 6, 2015, at 17:06, jetty-client@xxxxxxxxxxxxxx wrote:
> > I am trying to use the HTTP2Client from 9.3.0.M2 but without success so
> > far. When I use the example provided in:
> > https://github.com/eclipse/jetty.project/blob/jetty-http2/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/Client.java
> > I get a TimeOutException on line 55. If I switch to my own Jetty based
> > HTTP/2 server, or if I try to connect to google.com over HTTP2, the code
> > runs. But none of the callbacks get called, so I don't see any data.
> > 
> > Should that code run as-is, or am I missing something?
> > 
> > Thanks!
> > _______________________________________________
> > jetty-users mailing list
> > jetty-users@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or unsubscribe
> > from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/jetty-users
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top