Skip to content
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

Using MatrixClient with RustSdkCryptoStorageProvider fails with an error #286

Closed
urmaul opened this issue Dec 13, 2022 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@urmaul
Copy link

urmaul commented Dec 13, 2022

Describe the bug
Trying to run and use MatrixClient with RustSdkCryptoStorageProvider fails with an error.

To Reproduce
Steps to reproduce the behavior:

  1. Create RustSdkCryptoStorageProvider pointing to an empty directory
  2. Initialize MatrixClient
  3. Try to send or receive a message
  4. See error

Expected behavior
Either sending and recieving messages works or I see a meaningful error message.

Log snippet
I've got this error when trying to send a message:

MatrixHttpClient (REQ-6) { errcode: 'M_NOT_FOUND', error: 'Event not found.' }
MatrixClientLite Error handling sync Error: invalid type: map, expected a sequence at line 1 column 0
MatrixClientLite Backing off for 8879.794091495483ms

Additional context
I don't know how to initialize encryption properly and I couldn't find it in the docs. Should it just work or I should do something more? It created some files in that directory though.

@urmaul urmaul added the bug Something isn't working label Dec 13, 2022
@AndrewFerr
Copy link
Contributor

This should have been fixed by #283

@urmaul
Copy link
Author

urmaul commented Dec 14, 2022

Great! Could you please make a new release with this update?

@turt2live
Copy link
Owner

Great! Could you please make a new release with this update?

A release is planned for the near future, once a couple other encryption issues are fixed.


@AndrewFerr I'd appreciate forks not be advertised here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants