Closed aarlt closed 2 years ago
I'm really impressed by this project and the protocol. It seem to be a perfect match for a project that I have in mind since many months.
hi there and welcome! thanks for the nice words, good to hear=)
I'm not sure what I could have done wrong here. But maybe I missed something here.
yeah, there are 2 ways of publishing: unacknowledged (means, nothing returned from router) or acknowledge (success return with publication ID and such is returned)
pls have a look here https://autobahn.readthedocs.io/en/latest/wamp/programming.html?highlight=acknowledge#publishing-events
if you need example code, here:
find ~/scm/crossbario/autobahn-python/examples/ -name "*.py" -exec grep -Hi "acknowledge" {} \;
find ~/scm/crossbario/crossbar-examples/ -name "*.py" -exec grep -Hi "acknowledge" {} \;
Thanks a lot! Everything works now as expected!
Hello! I recently discovered WAMP & crossbar. I'm really impressed by this project and the protocol. It seem to be a perfect match for a project that I have in mind since many months. So I started to do some very basic things to get a better understanding how all this could be used.
For simple first tests I created a dynamic authenticator that enable the usage of cryptosign. I basically just used https://github.com/crossbario/crossbar-examples/blob/master/authentication/cryptosign/dynamic/authenticator.py and at least from the authentication point of view everything seem to work as expected.
As a WAMP client I decided to use connectanum-dart. I wrote a very basic program
For my surprise the program got stuck inside the first
await session.publish
. Initially I thought that I did something wrong, because I don't have that much experience with dart yet. I also thought that I used the client library in a wrong way, so a created an issue https://github.com/konsultaner/connectanum-dart/issues/39.In this issue @konsultaner was asking me, whether the router is firing the needed
PUBLISHED
message. So I checked the corresponding logs.The strange thing is that the
PUBLISHED
message seem not to get generated during publish. I only see anEVENT
message that seem to be used to inform the subscribers, but the neededPUBLISHED
message is missing.Because the current state of my router only consists of a dynamic authenticator, I'm not sure what I could have done wrong here. But maybe I missed something here.
For my tests I used
crossbar.io v21.3.1
.Any ideas?