{"action":"created","issue":{"url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1946","repository_url":"https://api.github.com/repos/dropwizard/dropwizard","labels_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1946/labels{/name}","comments_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1946/comments","events_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1946/events","html_url":"https://github.com/dropwizard/dropwizard/issues/1946","id":211587445,"number":1946,"title":"HTTP/2 Support in dropwizard","user":{"login":"ramsrib","id":1449806,"avatar_url":"https://avatars2.githubusercontent.com/u/1449806?v=3","gravatar_id":"","url":"https://api.github.com/users/ramsrib","html_url":"https://github.com/ramsrib","followers_url":"https://api.github.com/users/ramsrib/followers","following_url":"https://api.github.com/users/ramsrib/following{/other_user}","gists_url":"https://api.github.com/users/ramsrib/gists{/gist_id}","starred_url":"https://api.github.com/users/ramsrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramsrib/subscriptions","organizations_url":"https://api.github.com/users/ramsrib/orgs","repos_url":"https://api.github.com/users/ramsrib/repos","events_url":"https://api.github.com/users/ramsrib/events{/privacy}","received_events_url":"https://api.github.com/users/ramsrib/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-03T03:41:53Z","updated_at":"2017-03-03T03:57:31Z","closed_at":null,"body":"How to enable HTTP/2 support in dropwizard? I couldn't find any documentation or reference for to http2 connector.\r\n\r\nBy default, it's using HTTP/1.1 only.\r\n\r\n```\r\nINFO  [2017-03-03 03:33:49,374] org.eclipse.jetty.server.AbstractConnector: Started application@69c33ea2{SSL,[ssl, http/1.1]}{0.0.0.0:8443}\r\nINFO  [2017-03-03 03:33:49,374] org.eclipse.jetty.server.AbstractConnector: Started admin@59e0d521{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}\r\n```\r\n\r\n\r\nNote: I'm using 1.1.0-rc1 version of dropwizard.\r\n"},"comment":{"url":"https://api.github.com/repos/dropwizard/dropwizard/issues/comments/283859016","html_url":"https://github.com/dropwizard/dropwizard/issues/1946#issuecomment-283859016","issue_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1946","id":283859016,"user":{"login":"ramsrib","id":1449806,"avatar_url":"https://avatars2.githubusercontent.com/u/1449806?v=3","gravatar_id":"","url":"https://api.github.com/users/ramsrib","html_url":"https://github.com/ramsrib","followers_url":"https://api.github.com/users/ramsrib/followers","following_url":"https://api.github.com/users/ramsrib/following{/other_user}","gists_url":"https://api.github.com/users/ramsrib/gists{/gist_id}","starred_url":"https://api.github.com/users/ramsrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramsrib/subscriptions","organizations_url":"https://api.github.com/users/ramsrib/orgs","repos_url":"https://api.github.com/users/ramsrib/repos","events_url":"https://api.github.com/users/ramsrib/events{/privacy}","received_events_url":"https://api.github.com/users/ramsrib/received_events","type":"User","site_admin":false},"created_at":"2017-03-03T03:57:31Z","updated_at":"2017-03-03T03:57:31Z","body":"Found an answer, \r\n\r\nAdded the **dropwizard-http2** as maven dependency and added the following configuration to the yaml file.\r\n```\r\n- type: h2\r\n  port: 8445\r\n  keyStorePath: example.keystore\r\n  keyStorePassword: example\r\n\r\n```\r\n\r\nAfter doing the above stuffs,  my server is not starting and failing with the below error:\r\n\r\n```\r\nINFO  [2017-03-03 03:50:31,286] io.dropwizard.server.DefaultServerFactory: Registering jersey handler with root path prefix: /\r\nINFO  [2017-03-03 03:50:31,286] io.dropwizard.server.DefaultServerFactory: Registering admin handler with root path prefix: /admin\r\nINFO  [2017-03-03 03:50:31,294] io.dropwizard.server.ServerFactory: Starting Application\r\n**org/eclipse/jetty/alpn/ALPN$ServerProvider**\r\n```\r\n\r\nIt seems like I've to manually add **alpha-boot** to the dependencies and i did that and now it's failing with this error:\r\n\r\n`org.eclipse.jetty.alpn.ALPN must be on JVM boot classpath`\r\n\r\n\r\n"}}
{"actor":{"display_login":"ramsrib"}}