opla-v2 icon indicating copy to clipboard operation
opla-v2 copied to clipboard

Middlewares sync issues

Open jeffladiray opened this issue 5 years ago • 1 comments

Middlewares handling seems to be pretty flacky.

Middlewares loading from DB seems to be ok since restarting pods/server seems to repair everything, but middlewares cache update related code doesn't work.

This can cause null/empty WS call, webchat publish desync, ...

To reproduce :

  • Create a new chatbot
  • Add webchat and json-ws plugin
  • Set json-ws with invalid parameters
  • Send a few chatbot test to check that WS doesn't work
  • Edit json-ws to fix parameters
  • Re-send a few messages - They will not trigger the WS

jeffladiray avatar Mar 26 '19 11:03 jeffladiray

Remove middlewares cache ?

mikbry avatar Mar 26 '19 15:03 mikbry