Giter Site home page Giter Site logo

Comments (5)

crackcomm avatar crackcomm commented on August 24, 2024

It even gave me:

INFO:pubsubclient: Connecting
TRACE:wamp::client: Beginning Connection
TRACE:wamp::client: Got sender
DEBUG:wamp::client: Result of connection: Ok(())

While the same client was connected in another terminal.

I also tested with two clients connected and one disconnected while other is still connected.

from wamp-rs.

dyule avatar dyule commented on August 24, 2024

Hi @crackcomm. Are you using the crates.io version of wamp-rs? If so, there's an underlying mio issue that seems to cause problems on windows. Using the github version of this crate may fix your issue.

from wamp-rs.

crackcomm avatar crackcomm commented on August 24, 2024

I cloned wamp-rs from github.

I set ws=trace and this is what I've got:

DEBUG:wamp::client: Processing message from server (state: Connected)
DEBUG:wamp::client: Recieved a message from the server: Event(correct event here)
TRACE:ws::frame: Position in buffer 1003
TRACE:ws::io: Scheduling connection to 123.123.123.123:443 as Ready {Readable}
TRACE:ws::io: Active connections 1
TRACE:ws::io: Waiting for event
ERROR:ws::io: Websocket shutting down for interrupt.
TRACE:ws::io: Processing 0 events
TRACE:ws::io: Active connections 1
DEBUG:wamp::client: Result of connection: Ok(())

from wamp-rs.

crackcomm avatar crackcomm commented on August 24, 2024

As @Boscop mentioned in #5 it works now, I will close this issue if it'll pass 24h test.

from wamp-rs.

crackcomm avatar crackcomm commented on August 24, 2024

It's fixed with latest ws-rs.

from wamp-rs.

Related Issues (12)

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.