crossbario / crossbar

Crossbar.io - WAMP application router
https://crossbar.io/
Other
2.05k stars 274 forks source link

Redux: event for publication [xxxx] not in event store #1655

Open space88man opened 4 years ago

space88man commented 4 years ago

This was addressed in #1459 but seems to be happening again.

crossbar           19.10.1      

Terminal 1

pwd 
.../examples/router

crossbar start
2019-11-07T14:21:59+0800 [Router     588434] Router.attach(session=7239369389230607)
2019-11-07T14:21:59+0800 [Router     588434] Router.attach(session=7239369389230607): attached session 7239369389230607 to router realm "crossbardemo"
2019-11-07T14:22:29+0800 [Router     588434] Router.attach(session=1546769912349787)
2019-11-07T14:22:29+0800 [Router     588434] Router.attach(session=1546769912349787): attached session 1546769912349787 to router realm "crossbardemo"
2019-11-07T14:22:29+0800 [Router     588434] INTERNAL WARNING: event for publication 2831555435717571 not in event store
2019-11-07T14:22:29+0800 [Router     588434] INTERNAL WARNING: subscription 1423201923216121 for publication 2831555435717571 not in event store
2019-11-07T14:22:30+0800 [Router     588434] INTERNAL WARNING: event for publication 251277794425128 not in event store
2019-11-07T14:22:30+0800 [Router     588434] INTERNAL WARNING: subscription 1423201923216121 for publication 251277794425128 not in event store
2019-11-07T14:22:31+0800 [Router     588434] INTERNAL WARNING: event for publication 3766300156259552 not in event store
2019-11-07T14:22:31+0800 [Router     588434] INTERNAL WARNING: subscription 1423201923216121 for publication 3766300156259552 not in event store
2019-11-07T14:22:32+0800 [Router     588434] INTERNAL WARNING: event for publication 5702139265660949 not in event store
2019-11-07T14:22:32+0800 [Router     588434] INTERNAL WARNING: subscription 1423201923216121 for publication 5702139265660949 not in event store
2019-11-07T14:22:33+0800 [Router     588434] INTERNAL WARNING: event for publication 6215145011917062 not in event store
2019-11-07T14:22:33+0800 [Router     588434] INTERNAL WARNING: subscription 1423201923216121 for publication 6215145011917062 not in event store

Terminal 2

python ./examples/twisted/wamp/overview/backend.py

Terminal 3

python3 ./examples/twisted/wamp/overview/frontend.py 
karel-un commented 4 years ago

Same here, it started to appear when I registered to listen to wamp.session.on_join and wamp.session.on_leave from container. Each of this two PUB/SUBs logs following two INTERNAL WARNINGS:

2020-04-01T22:42:43+0200 [Router      25329] Router.attach(session=8399959762618306)
2020-04-01T22:42:43+0200 [Router      25329] Router.attach(session=8399959762618306): attached session 8399959762618306 to router realm "popdrealm"
2020-04-01T22:42:43+0200 [Router      25329] INTERNAL WARNING: event for publication 7878739580194658 not in event store
2020-04-01T22:42:43+0200 [Router      25329] INTERNAL WARNING: subscription 2088102011410503 for publication 7878739580194658 not in event store
2020-04-01T22:42:43+0200 [Router      25329] WAMP session statistics DISABLED
2020-04-01T22:42:43+0200 [Container   25345] published to 'onjoin' with session details: {'session': 8399959762618306, 'authid': 'popd', 'authrole': 'popd', 'authmethod': 'ticket', 'authextra': {'x_cb_node_id': None, 'x_cb_peer': 'tcp4:127.0.0.1:44870', 'x_cb_pid': 25329}, 'authprovider': 'static', 'transport': {'type': 'websocket', 'protocol': 'wamp.2.cbor.batched', 'peer': 'tcp4:127.0.0.1:44870', 'http_headers_received': {'user-agent': 'AutobahnPython/20.4.1', 'host': '127.0.0.1:8081', 'upgrade': 'WebSocket', 'connection': 'Upgrade', 'pragma': 'no-cache', 'cache-control': 'no-cache', 'sec-websocket-key': 'LZQX3IFRIe0BHR+GkoLxzA==', 'sec-websocket-protocol': 'wamp.2.cbor.batched,wamp.2.cbor,wamp.2.msgpack.batched,wamp.2.msgpack,wamp.2.ubjson.batched,wamp.2.ubjson,wamp.2.json.batched,wamp.2.json', 'sec-websocket-version': '13'}, 'http_headers_sent': {}, 'websocket_extensions_in_use': [], 'cbtid': None, 'channel_id': '82088073e96cdc8904b2be841fe99a65acfd57dd8f0ec15e8b59f87641235946'}}
2020-04-01T22:42:43+0200 [Router      25329] Router.detach(session=8399959762618306)
2020-04-01T22:42:43+0200 [Router      25329] Router.detach(session=8399959762618306): detached sessions [8399959762618306] from router realm "popdrealm"
2020-04-01T22:42:43+0200 [Router      25329] INTERNAL WARNING: event for publication 6175678003085732 not in event store
2020-04-01T22:42:43+0200 [Router      25329] INTERNAL WARNING: subscription 837428365674425 for publication 6175678003085732 not in event store

Crossbar version:

 Crossbar.io        : 20.2.1
   txaio            : 20.4.1
   Autobahn         : 20.2.2
     UTF8 Validator : autobahn
     XOR Masker     : autobahn
     JSON Codec     : stdlib
     MsgPack Codec  : msgpack-0.5.6
     CBOR Codec     : cbor-1.0.0
     UBJSON Codec   : ubjson-0.11.0
     FlatBuffers    : flatbuffers-?.?.?
   Twisted          : 19.10.0-EPollReactor
   LMDB             : 0.98/lmdb-0.9.22
   Python           : 3.6.10/CPython
 Frozen executable  : no
 Operating system   : Linux-5.5.11-gentoo-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-gentoo-2.6
 Host machine       : x86_64
 Release key        : RWRNmnwUaF+fsGoUNR59gHdfKU0HLUTZSQmXzrcMODXwOpq17UWV4G2G