iamb icon indicating copy to clipboard operation
iamb copied to clipboard

Fail to sync (deserialization failed)

Open renesat opened this issue 1 year ago • 3 comments

Hi!

I tried to use iamb with simple config:

[profiles.user]
user_id = "@user:example.com"

But after insert password, I receive this error while sync:

> iamb 
* Logging in for @user:example.com...
* Syncing...
deserialization failed: invalid type: null, expected struct RoomSummary at line 1 column 1080810

As I understand it is internal error.

I using latest version:

> iamb --version
iamb 0.0.10 (VERGEN_IDEMPOTENT_OUTPUT)

renesat avatar Sep 03 '24 17:09 renesat

Yeah, same here.

I removed .local/share/iamb/ and .cache/iamb/ and stated fresh and get the following:

~ λ iamb
* Logging in for @pfr:matrix.sdf.org...
Please select login type: [p]assword / [s]ingle sign on
p
Password:
Failed to login: Matrix client error: error sending request for url (https://matrix.sdf.org/_matrix/client/versions): error trying to connect: invalid peer certificate: NotValidForName
Please select login type: [p]assword / [s]ingle sign on
s
Failed to login: Matrix client error: error sending request for url (https://matrix.sdf.org/_matrix/client/versions): error trying to connect: invalid peer certificate: NotValidForName
Please select login type: [p]assword / [s]ingle sign on
^C

pfr-dev avatar Sep 04 '24 05:09 pfr-dev

I just downloaded this version from Nix and I see the exact same behavior.

khazaddum avatar Apr 18 '25 19:04 khazaddum

I was able to log in by specifying the url field in the config.

khazaddum avatar Apr 18 '25 19:04 khazaddum