Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

Could not sync #422

Closed
unclechu opened this issue Aug 30, 2018 · 4 comments
Closed

Could not sync #422

unclechu opened this issue Aug 30, 2018 · 4 comments
Labels

Comments

@unclechu
Copy link

System:

  • Nheko version: nightly 183975b (couldn't see version in UI because it doesn't sync and on login/register screen there's no way to go to the preferences screen where I could see shown version)
  • Installation method: AppImage (nightly)
  • Operating System: Fedora Workstation 28
  • Desktop Environment: i3wm

Actual behavior

See Logs, loader icon just spinning forever and nothing new appears in the log. I started at about 21:40 and interrupted it at 05:45.

Expected behavior

Completely sync.

Steps to reproduce

  1. Click "Login" button;
  2. Enter matrix id, password, device name;
  3. Click "Login" button;
  4. Wait few hours;
  5. Lose your patience and interrupt it.

Logs

λ ./nheko-nightly-x86_64.AppImage
shutdown: uninitialized
shutdown: uninitialized
[2018-08-29 21:40:04.561] [ui] [info] starting nheko 0.5.4-183975b
[2018-08-29 21:41:55.599] [db] [info] initializing LMDB
[2018-08-29 21:41:55.610] [crypto] [info] creating new olm account
[2018-08-29 21:41:55.620] [crypto] [info] ed25519   : SOME-HASH
[2018-08-29 21:41:55.621] [crypto] [info] curve25519: SOME-ANOTHER-HASH
[2018-08-29 21:41:55.621] [crypto] [info] generating one time keys
[2018-08-29 21:42:01.481] [net] [info] uploaded 50 signed_curve25519 one-time keys
[2018-08-29 21:42:01.481] [net] [info] trying initial sync
[2018-08-29 21:43:41.933] [net] [error] sync error: 0
[2018-08-29 21:43:41.934] [db] [info] deleted cache files from disk
@unclechu
Copy link
Author

Forgot to mention, device I named on login screen is appears in my devices list (I see it in Riot from another account). So every time I'm trying to login new device is added.

@unclechu
Copy link
Author

@mujx On nightly ee2ba93 I have initial sync error:

λ ./nheko-nightly-x86_64.AppImage
shutdown: uninitialized
shutdown: uninitialized
[2018-08-30 23:10:26.335] [ui] [info] starting nheko 0.5.4-ee2ba93
[2018-08-30 23:12:05.434] [db] [info] initializing LMDB
[2018-08-30 23:12:05.442] [crypto] [info] creating new olm account
[2018-08-30 23:12:05.454] [crypto] [info] ed25519   : BLABLABLA
[2018-08-30 23:12:05.454] [crypto] [info] curve25519: BLABLABLA
[2018-08-30 23:12:05.454] [crypto] [info] generating one time keys
[2018-08-30 23:12:08.721] [net] [info] uploaded 50 signed_curve25519 one-time keys
[2018-08-30 23:12:08.721] [net] [info] trying initial sync
[2018-08-30 23:13:49.183] [net] [error] initial sync error: 0 M_UNRECOGNIZED
[2018-08-30 23:13:49.187] [ui] [info] dropping to the login page: Please try to login again:
[2018-08-30 23:13:49.221] [db] [info] deleted cache files from disk

I'm looking at dropping to the login page: Please try to login again: and I see loading icon spinning, is it supposed to open login screen back again after such error?

@unclechu
Copy link
Author

@mujx with nightly AppImage of 27fed83 it successfully synced, here is part of log:

...
[2018-08-31 19:39:09.259] [crypto] [info] generating one time keys
[2018-08-31 19:39:12.410] [net] [info] uploaded 50 signed_curve25519 one-time keys
[2018-08-31 19:39:12.410] [net] [info] trying initial sync
[2018-08-31 19:40:52.898] [net] [error] initial sync error: 0 M_UNRECOGNIZED
[2018-08-31 19:40:52.898] [net] [info] trying initial sync
[2018-08-31 19:42:38.375] [net] [error] initial sync error: 0 M_UNRECOGNIZED
[2018-08-31 19:42:38.375] [net] [info] trying initial sync
[2018-08-31 19:44:18.693] [net] [error] initial sync error: 0 M_UNRECOGNIZED
[2018-08-31 19:44:18.693] [net] [info] trying initial sync
[2018-08-31 19:45:59.991] [net] [error] initial sync error: 0 M_UNRECOGNIZED
[2018-08-31 19:45:59.991] [net] [info] trying initial sync
[json.exception.out_of_range.403] key 'algorithm' not found
{
  "content": {},
  "event_id": "$%SOME_ID%:matrix.org",
  "origin_server_ts": 1535639060271,
  "sender": "@%SOME_ID%:matrix.org",
  "type": "m.room.encrypted",
  "unsigned": {
    "age": 94926338,
    "redacted_because": {
      "content": {},
      "event_id": "$%SOME_ID%:matrix.org",
      "origin_server_ts": 1535643049953,
      "redacts": "$%SOME_ID%:matrix.org",
      "sender": "@%SOME_ID%:matrix.org",
      "type": "m.room.redaction",
      "unsigned": {
        "age": 90936656
      }
    },
    "redacted_by": "$%SOME_ID%:matrix.org"
  }
}
[2018-08-31 19:47:20.566] [net] [info] initial sync completed
[2018-08-31 19:47:20.725] [db] [info] mark room !%ROOM_ID%:matrix.org as encrypted
[2018-08-31 19:47:21.093] [db] [info] mark room !%ROOM_ID%:matrix.org as encrypted
[2018-08-31 19:47:21.188] [db] [info] mark room !%ROOM_ID%:matrix.org as encrypted
[2018-08-31 19:47:21.325] [db] [info] mark room !%ROOM_ID%:matrix.org as encrypted
[2018-08-31 19:47:21.630] [db] [info] mark room !%ROOM_ID%:matrix.org as encrypted
[2018-08-31 19:47:22.077] [db] [info] mark room !%ROOM_ID%:matrix.org as encrypted
[2018-08-31 19:47:22.112] [db] [info] mark room !%ROOM_ID%:matrix.org as encrypted
[2018-08-31 19:47:22.113] [db] [info] mark room !%ROOM_ID%:matrix.org as encrypted
[2018-08-31 19:47:22.273] [db] [info] mark room !%ROOM_ID%:matrix.org as encrypted
Invalid event type: [json.exception.out_of_range.403] key 'redacted_by' not found {
  "content": null,
  "event_id": "$%SOME_ID%:matrix.org",
  "origin_server_ts": 1533246846551,
  "sender": "@freenode_NickServ:matrix.org",
  "type": "m.room.message",
  "unsigned": {
    "age": 2487140058
  }
}
[2018-08-31 19:47:22.865] [ui] [info] initialize room list
D-Bus Error: "The name org.freedesktop.Notifications was not provided by any .service files"
D-Bus Error: "The name org.freedesktop.Notifications was not provided by any .service files"
D-Bus Error: "The name org.freedesktop.Notifications was not provided by any .service files"
D-Bus Error: "The name org.freedesktop.Notifications was not provided by any .service files"
D-Bus Error: "The name org.freedesktop.Notifications was not provided by any .service files"
FilteredTextEdit(0x1dbd540)  does not have a property named  "borderColor"
[2018-08-31 19:49:11.378] [net] [warning] failed to download avatar: mxc://matrix.org/WehAJrWyduSaXKIvDjwoAOec#auto - (M_UNRECOGNIZED Not found ['matrix.org', 'WehAJrWyduSaXKIvDjwoAOec#auto'])

@mujx
Copy link
Owner

mujx commented Aug 31, 2018

Thanks for the report. I'll close the issue as resolved.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants