Cannot get the messages when upgrade to 0.17.7

40 views
Skip to first unread message

cfanboy

unread,
Aug 3, 2021, 8:50:37 PM8/3/21
to Tinode General
When upgraded to 0.17.7,  the P2P cannot get the data.

Send:
{"sub":{"topic":"usrGTSJrOQ1rYw","get":{"what":"sub data","data":{"limit":20}},"id":"71618"}}

Error:
W2021/08/04 08:43:23 topic.go:590: topic[p2pGTSJrOQ1rYynZyRt-ofq0g] handleSubscription Get.Data failed: multi-key map passed in for ordered parameter sort sid=8QWQNh8d9O8

I used MongoDB adapter.

Gene

unread,
Aug 3, 2021, 9:54:12 PM8/3/21
to Tinode General
Please show steps to reproduce.

cfanboy

unread,
Aug 3, 2021, 10:16:46 PM8/3/21
to Tinode General
Now we are using 0.17.6 version, P2P conversation is fine. Today upgrade to 0.17.7, the same way to start P2P conversation, it shows error.
steps:
{hi}  -> {login} -> {sub me} -> {sub p2p topic with get data}
then error.

cfanboy

unread,
Aug 3, 2021, 11:29:47 PM8/3/21
to Tinode General
We started the 0.17.7 Tinode in localhost and tried to use Web page, created testing1 and testing2 users, then testing1 is talking with testing2 by find.
But the same error shows and the page is hanging up. Please see attached images.

Screen Shot 2021-08-04 at 11.22.14 AM.png
Screen Shot 2021-08-04 at 11.22.05 AM.png

Gene Sokolov

unread,
Aug 3, 2021, 11:30:53 PM8/3/21
to tin...@googlegroups.com
I'll release the fix tomorrow.

--
You received this message because you are subscribed to the Google Groups "Tinode General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinode+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tinode/131992ee-c7bd-41ac-82fd-d3f333a6e683n%40googlegroups.com.

Gene

unread,
Aug 4, 2021, 6:32:52 PM8/4/21
to Tinode General
The fix is released in 0.17.8

cfanboy

unread,
Aug 4, 2021, 8:45:08 PM8/4/21
to Tinode General
Thanks a lot.
Reply all
Reply to author
Forward
0 new messages