[akka-user] High-level Server-Side API Minimal Example not working

2016-07-26 Thread Ajinkya Shukla
The minimal example give at the following http://doc.akka.io/docs/akka/2.4.8/scala/http/routing-dsl/index.html does not work. It gives an error on line no 19. Error:(19, 31) not found: value ContentTypes complete(HttpEntity(ContentTypes.`text/html(UTF-8)`, "Say hello to akka-http"))

[akka-user] Type mismatch, expected: ToResponseMarshallable, actual: WebServer.Item

2016-07-26 Thread Ajinkya Shukla
The following example at http://doc.akka.io/docs/akka/2.4/scala/http/common/json-support.html gives an error at line no. 43 and 44. Error:(43, 41) type mismatch; found : WebServer.Item required: akka.http.scaladsl.marshalling.ToResponseMarshallable case Some(item) => complete(ite

Re: [akka-user] Re: Make HTTPS request using akka-http to jenkins server

2016-07-21 Thread Ajinkya Shukla
xt. > > -- > Konrad `ktoso` Malawski > Akka <http://akka.io> @ Lightbend <http://lightbend.com> > > On 20 July 2016 at 14:13:39, Ajinkya Shukla (ajinkya...@gmail.com > ) wrote: > > I get the following exception in DEBUG mode. > > disconnected after javax.net

[akka-user] Re: Make HTTPS request using akka-http to jenkins server

2016-07-20 Thread Ajinkya Shukla
I get the following exception in DEBUG mode. disconnected after javax.net.ssl.SSLHandshakeException: General SSLEngine problem On Wednesday, July 20, 2016 at 8:01:04 AM UTC-4, Ajinkya Shukla wrote: > > How can i make the following HTTPS request using akka-http to a jenkins > server?

[akka-user] Make HTTPS request using akka-http to jenkins server

2016-07-20 Thread Ajinkya Shukla
How can i make the following HTTPS request using akka-http to a jenkins server? curl -v -k --user "$USERNAME:$API_TOKEN" https://HOSTNAME.com/api/json The curl produces the following HTTPS request: Connected to HOST.com * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 * Server c