-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RethinkDB + Rest Auth #740
Labels
Comments
This is not really a bug in Tinode. The error message could be better but the server is working as intended. Please use forum to ask question instead of creating issues. Or at least try to debug your problems first. |
Actually this is a bug in the driver. |
This fixes it: adfb5f3 |
Cool. Waiting for release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RethinkDB + Rest Auth
Got Expected type SEQUENCE but found SINGLE_SELECTION erros after login with REST AUTH
Your environment
Server-side
Steps to reproduce
1st console
2nd console
Browser
Expected behaviour
Login success
Actual behaviour
Disconnected by client
In tinode logs we can see next
I2022/04/05 09:46:09 in: '{"hi":{"id":"102374","ver":"0.18.3","ua":"TinodeWeb/0.18.3 (Chrome/99.0; MacIntel); tinodejs/0.18.3","lang":"ru-RU","platf":"web"}}' sid='KZXz8Z-fixQ' uid='' I2022/04/05 09:46:09 in: '{"login":{"id":"102375","scheme":"basic","secret":"YWxpY2U6YWxpY2UxMjM="}}' sid='KZXz8Z-fixQ' uid='' I2022/04/05 09:46:09 in: '{"sub":{"id":"102376","topic":"me","get":{"what":"sub desc tags cred"}}}' sid='KZXz8Z-fixQ' uid='QVuwC5jz9o4' E2022/04/05 09:46:09 init_topic: failed to load or create topic: usrQVuwC5jz9o4 rethinkdb: Expected type SEQUENCE but found SINGLE_SELECTION: null in: r.DB("tinode").Table("users").Get("QVuwC5jz9o4").Filter(func(var_2 r.Term) r.Term { return r.Row.Field("State").Eq(20).Not() }) E2022/04/05 09:46:09 ws: readLoop KZXz8Z-fixQ websocket: close 1005 (no status)
Server-side log
I2022/04/05 09:46:09 in: '{"hi":{"id":"102374","ver":"0.18.3","ua":"TinodeWeb/0.18.3 (Chrome/99.0; MacIntel); tinodejs/0.18.3","lang":"ru-RU","platf":"web"}}' sid='KZXz8Z-fixQ' uid=''
I2022/04/05 09:46:09 in: '{"login":{"id":"102375","scheme":"basic","secret":"YWxpY2U6YWxpY2UxMjM="}}' sid='KZXz8Z-fixQ' uid=''
I2022/04/05 09:46:09 in: '{"sub":{"id":"102376","topic":"me","get":{"what":"sub desc tags cred"}}}' sid='KZXz8Z-fixQ' uid='QVuwC5jz9o4'
E2022/04/05 09:46:09 init_topic: failed to load or create topic: usrQVuwC5jz9o4 rethinkdb: Expected type SEQUENCE but found SINGLE_SELECTION:
null in:
r.DB("tinode").Table("users").Get("QVuwC5jz9o4").Filter(func(var_2 r.Term) r.Term { return r.Row.Field("State").Eq(20).Not() })
E2022/04/05 09:46:09 ws: readLoop KZXz8Z-fixQ websocket: close 1005 (no status)
The text was updated successfully, but these errors were encountered: