Comments (2)
thanks for reporting! this sounds like a bug in crossbar ..
from crossbar.
I can confirm this bug still occurs after upgrading to the latest master. What's happening is that the callee sends an ERROR in response to the INTERRUPT, which Crossbar forwards back to the caller despite leaving the session.
Here's a trace that includes both caller and callee (with HELLO/GOODBYE options stripped for brevity).
Caller: 2023-04-20T04:33:29.461Z ["TX","HELLO",[1,"cppwamp.test",{}]]
Caller: 2023-04-20T04:33:29.462Z ["RX","WELCOME",[2,7644867858740542,{}]]
Callee: 2023-04-20T04:33:29.463Z ["TX","HELLO",[1,"cppwamp.test",{}]]
Callee: 2023-04-20T04:33:29.464Z ["RX","WELCOME",[2,7522971938995879,{}]]
Callee: 2023-04-20T04:33:29.464Z ["TX","REGISTER",[64,1,{},"com.myapp.foo"]]
Callee: 2023-04-20T04:33:29.465Z ["RX","REGISTERED",[65,1,1936973253605048]]
Caller: 2023-04-20T04:33:29.465Z ["TX","CALL",[48,1,{"receive_progress":true},"com.myapp.foo",["invitation"],{}]]
Callee: 2023-04-20T04:33:29.465Z ["RX","INVOCATION",[68,22,1936973253605048,{"caller":7644867858740542,"caller_authid":"F9LJ-LWWF-G6K5-KH6C-3EEP-XNQF","caller_authrole":"anonymous","receive_progress":true},["invitation"]]]
Callee: 2023-04-20T04:33:29.465Z ["TX","YIELD",[70,22,{"progress":true},["rsvp"],{}]]
Caller: 2023-04-20T04:33:29.465Z ["RX","RESULT",[50,1,{"callee":7522971938995879,"callee_authid":"PQ6S-PLSV-XCNP-5PWK-QLJA-5QF5","callee_authrole":"anonymous","progress":true},["rsvp"]]]
Callee: 2023-04-20T04:33:29.490Z ["TX","YIELD",[70,22,{"progress":true},[9],{}]]
Caller: 2023-04-20T04:33:29.491Z ["RX","RESULT",[50,1,{"callee":7522971938995879,"callee_authid":"PQ6S-PLSV-XCNP-5PWK-QLJA-5QF5","callee_authrole":"anonymous","progress":true},[9]]]
Callee: 2023-04-20T04:33:29.515Z ["TX","YIELD",[70,22,{"progress":true},[3],{}]]
Caller: 2023-04-20T04:33:29.516Z ["RX","RESULT",[50,1,{"callee":7522971938995879,"callee_authid":"PQ6S-PLSV-XCNP-5PWK-QLJA-5QF5","callee_authrole":"anonymous","progress":true},[3]]]
Callee: 2023-04-20T04:33:29.541Z ["TX","YIELD",[70,22,{"progress":true},[7],{}]]
Caller: 2023-04-20T04:33:29.541Z ["RX","RESULT",[50,1,{"callee":7522971938995879,"callee_authid":"PQ6S-PLSV-XCNP-5PWK-QLJA-5QF5","callee_authrole":"anonymous","progress":true},[7]]]
Callee: 2023-04-20T04:33:29.566Z ["TX","YIELD",[70,22,{"progress":true},[5],{}]]
Caller: 2023-04-20T04:33:29.566Z ["RX","RESULT",[50,1,{"callee":7522971938995879,"callee_authid":"PQ6S-PLSV-XCNP-5PWK-QLJA-5QF5","callee_authrole":"anonymous","progress":true},[5]]]
Caller: 2023-04-20T04:33:29.566Z ["TX","GOODBYE",[6,{},"wamp.close.close_realm"]]
Caller: 2023-04-20T04:33:29.567Z ["RX","GOODBYE",[6,{},"wamp.close.normal"]]
Callee: 2023-04-20T04:33:29.567Z ["RX","INTERRUPT",[69,22,{"mode":"killnowait"}]]
Callee: 2023-04-20T04:33:29.567Z ["TX","ERROR",[8,68,22,{},"wamp.error.canceled",[],{}]]
Caller: 2023-04-20T04:33:29.567Z ["TX","HELLO",[1,"cppwamp.test",{}]]
Caller: 2023-04-20T04:33:29.567Z ["RX","ERROR",[8,48,1,{},"wamp.error.canceled"]]
Caller: 2023-04-20T04:33:29.567Z ["RX","WELCOME",[2,2117473671002045,{}]]
from crossbar.
Related Issues (20)
- Dependency Errors When Installing Crossbar With Pip HOT 6
- Incorrect request ID in ERROR message when callee disconnects in-flight
- Harmonize "cancelled" for "canceled" in code and comments
- Internal Error Attempting Rlink Forwarding HOT 1
- AttributeError: module 'crossbar' has no attribute '__version__' HOT 1
- SECURITY: Potential supply chain compromise HOT 2
- Subscriptions And Registration Not Being Forwarded Over RLink On Reconnect Or Late Join HOT 1
- INVOCATION request ID is not session scope
- `wamp.session.kill_by_authrole` does not follow spec
- Add Automated Tests For Crossbar Routers Connected With RLink
- Null session ID in registration/subscription meta events when callee/subscriber leaves HOT 2
- https://crossbar.io/ down HOT 14
- Crossbar container image is too large
- HTTP REST bridge should use Autobahn's binary enabled JSON serializer HOT 11
- Move CI fully to hosted GH runners again
- Slow memory leak in dealer.py
- Add post-quantum crypto (X25519Kyber768) to WAMP authentication (and generally) HOT 1
- Is there any duplication of code in this file ? HOT 1
- callee session killed when caller session lost in flight HOT 7
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 crossbar.