Giter Site home page Giter Site logo

remotely-demo's People

Contributors

timperrett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

remotely-demo's Issues

StackOverflowError for OtherClient?

I was trying to poke around and run some of the example code and ran into the following error:

scala> demo.Server.main(Array("127.0.0.1"))
[server] NEGOTIATION - got ssl parameters: None with /127.0.0.1:8080
[server] NEGOTIATION - about to bind with /127.0.0.1:8080
[server] NEGOTIATION - bound with /127.0.0.1:8080

scala> demo.Client.main(Array("127.0.0.1"))
[server] NEGOTIATION - channel connected with /127.0.0.1:55731
[server] NEGOTIATION - sending capabilities with /127.0.0.1:55731
[server] NEGOTIATION - sent capabilities with /127.0.0.1:55731
[server] NEGOTIATION - creating queue with /127.0.0.1:55731
[server] NEGOTIATION - closing queue with /127.0.0.1:55731
[server] ----------------
[server] header: Map()
[server] trace: 1fb398b3-fa2a-4389-9782-e1b526a53ae5
[server] request: getMovie(m1)
[server] result: \/-(Movie(m1,American Sniper,List(a1, a2)))
[server] duration: 1268 microseconds
Result from the server is: Movie(m1,American Sniper,List(a1, a2))

scala> demo.OtherClient.main(Array("127.0.0.1"))
java.lang.StackOverflowError
    at scalaz.Kleisli.<init>(Kleisli.scala:8)
    at scalaz.KleisliFunctions$class.kleisli(Kleisli.scala:173)
    at scalaz.Kleisli$.kleisli(Kleisli.scala:193)
    at scalaz.KleisliFunctions$class.ask(Kleisli.scala:188)
    at scalaz.Kleisli$.ask(Kleisli.scala:193)
    at demo.OtherClient$.remoteToK(main.scala:48)
    at demo.OtherClient$.remoteToK(main.scala:48)
    at demo.OtherClient$.remoteToK(main.scala:48)
    at demo.OtherClient$.remoteToK(main.scala:48)
    at demo.OtherClient$.remoteToK(main.scala:48)
    at demo.OtherClient$.remoteToK(main.scala:48)
        ...
    at demo.OtherClient$.remoteToK(main.scala:48)

I don't quite have enough context to know why this is happening, so I thought I'd put it up here in case I'm missing something simple.

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.