Comments (5)
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.
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.
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.
As @Boscop mentioned in #5 it works now, I will close this issue if it'll pass 24h test.
from wamp-rs.
It's fixed with latest ws-rs
.
from wamp-rs.
Related Issues (12)
- What's the status? HOT 6
- Router crashes when clients connect to nonexistent realm HOT 2
- Support for Serialization/Deserialization HOT 1
- Typos HOT 1
- Server stops responding after a while HOT 12
- Authentication methods
- Callback type of `Client::register` and `Client::subscribe` produces lifetime issues in closures HOT 1
- Panic when the websocket connection fails (no result produced)
- wss support (security connection) HOT 3
- Is having random IDs an issue?
- Future of this crate HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wamp-rs.