Git Product home page Git Product logo

Comments (6)

boca avatar boca commented on July 21, 2024 2

I was using the v0.3.0 host package but my client was 0.2.0. After updating the client it worked.
Thanks a lot Aaron.

from petabridge.cmd-issues.

Aaronontheweb avatar Aaronontheweb commented on July 21, 2024 1

@boca we just released Petabridge.Cmd v0.3.0 last night,, which supports Akka.NET 1.3.1 and no longer uses Hyperion for serialization. We've migrated over to Google Protobuf instead.

We'll be publishing a blog post today or tomorrow, but for time being you can read the release notes here: https://cmd.petabridge.com/RELEASE_NOTES.html#v030-september-13-2017

from petabridge.cmd-issues.

Aaronontheweb avatar Aaronontheweb commented on July 21, 2024 1

@boca ah got it, yep that would do it. We broke wire compatibility between the pbm client and the Petabridge.Cmd.Host in order to migrate to Protobuf3 from Hyperion... Which we did in order to ensure that we only needed one pbm binary in order to communicate with both .NET and .NET Core applications (since the namespaces for primitive types like int and string are different in .NET core and .NET 4.*)

from petabridge.cmd-issues.

Ralf1108 avatar Ralf1108 commented on July 21, 2024

Investigating the Petabridge.Cmd assemblies gave following results:

  • They are compiled old Akka (1.1.3.31)
  • Petabridge.Cmd.Common is compiled against "Hyperion 0.9.2.2)
  • Exception occurs in ctor of "Petabridge.Cmd.Serialization.CommandSerializer" because it instantiates Hyperion SerializerOptions with missing last argument, at least in IL code the last argument was not compiled in)

So all in all... recompilation with latest Hyperion packages should fix the issue again :-)

Btw: Never thought about that optional arguments creates this amount of troubles... but for backward compatibility they can break stuff. Overloading ctor is more backward compatible.

from petabridge.cmd-issues.

Aaronontheweb avatar Aaronontheweb commented on July 21, 2024

@Ralf1108 we are dumping Hyperion in its entirety for the 0.3.0 milestone. Necessary for #13 to be implemented. See the milestone link for timeframe.

from petabridge.cmd-issues.

boca avatar boca commented on July 21, 2024

I might be having a related issue. I have updated to Hyperion 0.96 and Akka.Serialization.Hyperion.1.3.1-beta52. When I try to connect the client throws a
serialization error: Object reference not set to an instance of an object.
the host only shows
2017-09-14 12:56:44 [Information] Received petabridge.cmd connection from client ["127.0.0.1:4261"]
2017-09-14 12:56:44 [Information] "petabridge.cmd client disconnected. Shutting down..."
2017-09-14 12:56:44 [Information] "Terminating petabridge.cmd connection to client."
image

from petabridge.cmd-issues.

Related Issues (20)

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.