Coder Social home page Coder Social logo

activator-lagom-java's Issues

Error behind a corporate proxy

Hi,

If I run the Hello World directly on internet, tests work fine but if I run its behind my corporate proxy, I have an error during the integration-test phase in the class StreamIt.

at com.lightbend.lagom.javadsl.api.transport.TransportException.fromCodeAndMessage(TransportException.java:49) ~[lagom-javadsl-api_2.11-1.2.0.jar:1.2.0]
at com.lightbend.lagom.javadsl.jackson.JacksonExceptionSerializer.deserialize(JacksonExceptionSerializer.java:105) ~[lagom-javadsl-jackson_2.11-1.2.0.jar:1.2.0]
at com.lightbend.lagom.internal.client.ClientServiceCallInvoker$$anonfun$com$lightbend$lagom$internal$client$ClientServiceCallInvoker$$makeStrictCall$1.apply(ServiceClientImplementor.scala:324) ~[lagom-javadsl-client_2.11-1.2.0.jar:1.2.0]
at com.lightbend.lagom.internal.client.ClientServiceCallInvoker$$anonfun$com$lightbend$lagom$internal$client$ClientServiceCallInvoker$$makeStrictCall$1.apply(ServiceClientImplementor.scala:311) ~[lagom-javadsl-client_2.11-1.2.0.jar:1.2.0]
at scala.util.Success$$anonfun$map$1.apply(Try.scala:237) ~[scala-library-2.11.8.jar:na]
at scala.util.Try$.apply(Try.scala:192) ~[scala-library-2.11.8.jar:na]
at scala.util.Success.map(Try.scala:237) ~[scala-library-2.11.8.jar:na]
at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:237) ~[scala-library-2.11.8.jar:na]
at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:237) ~[scala-library-2.11.8.jar:na]
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) ~[scala-library-2.11.8.jar:na]

In debug mode, it looks like the error occurs in the method call - await(helloService.hello("foo").invoke())

After a few tries, I guess the problem is with the gateway. The hello world needs a gateway with url http://localhost:9000 and my network configuration is set to go through a cntlm proxy to my corporate proxy with authentication. I think the pb is there.

What do you think ???

Consider removing copyright notices

Since these files are meant as a template/seed for new projects, please consider removing the Lightbend copyright notice in file comments.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.