Random "failed to retrieve" error in streaming scenario

Hi team! Pro-tip: do 3 backticks to engage “code block” mode. You’re both just using “single line code” mode. And make sure you do it after an [ENTER], not a Shift+[ENTER] like I often do.

@Tuuliyo you can click the three dots in the top-right of your post and edit it.

I’m wondering: since this error only seems to occur once you’ve received a LOT of messages from the queue, are you free-ing the messages once you’re done with them? Is there any chance you’re running out of memory? I guess if it’s null pointer exceptions, that’s probably not what’s happening.