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

client fails to sync data #218

Closed
NANASHI0X74 opened this issue Jan 23, 2021 · 8 comments · Fixed by #229
Closed

client fails to sync data #218

NANASHI0X74 opened this issue Jan 23, 2021 · 8 comments · Fixed by #229
Assignees
Labels
bug Something isn't working
Projects

Comments

@NANASHI0X74
Copy link

I got interested in this because I was looking for alternatives to element-android... I've managed to login, but currently my app looks like this
Screenshot_20210123-130909_Syphon.png
and I can't really do anything.
Immediately after login I got a "failed to symc data" and an "unknown error" snackbar.
I found a sync option in the settings, that fails as well. Is there any way to get debug logs from the app or something like that?
(I'm running my own synapse instance btw)

@NANASHI0X74
Copy link
Author

actually, I tried logging in again and I actually got "failed to fetch current user profile" and two unknown errors.
Also, it looks like the login succeeded in principle, since the syphon session shows up in my other clients

@ereio
Copy link
Member

ereio commented Jan 23, 2021

Really strange, but I think I know what might have happened. I'm fixing up the login / signup flow now to be more clear around picking or inputting homeserver domains.

Did you login with your matrix username with your root domain or the base_url? (i.e. user:example.org vs user:matrix.example.org)

@NANASHI0X74
Copy link
Author

NANASHI0X74 commented Jan 23, 2021 via email

@ereio
Copy link
Member

ereio commented Jan 23, 2021

Sounds good. Only reason I asked is someone had done so and reported the same error state (authenticated properly with failed syncing).

Might be an issue with how Syphon handles values in the .well-known then. If you don't mind letting me know your homeserver domain (you can share privately through a message on matrix @ereio:matrix.org) I could take a look and make sure I'm not parsing something incorrectly. Otherwise, you could try again when 0.1.6 is released and see if the clean up work around homeserver domains fixes the issue after login. Either way, I'll keep an eye out.

@NANASHI0X74
Copy link
Author

NANASHI0X74 commented Jan 23, 2021 via email

@ereio ereio added the bug Something isn't working label Jan 29, 2021
@ereio ereio self-assigned this Jan 29, 2021
@ereio
Copy link
Member

ereio commented Jan 30, 2021

Hey @NANASHI0X74! Version 0.1.6 should now be out for iOS and Android. Let me know if syncing now works. There are two flows to login with a specific homeserver and I'm curious if one of them was broken:

  1. typing in @example:example.org and resolving the hostname from the userId
  2. searching for the homeserver and selecting it, which will update the homeserver for the userId field and login

If you could, let me know if any of these fail or succeed now. Thanks again for your help with this. I appreciate it!

@ereio ereio added this to This Sprint in v0.2.0 Jan 30, 2021
@NANASHI0X74
Copy link
Author

looks like both methods fail. I just noticed that for flow 1 I had to tap the login button twice... The first time the button displayed a circular progressindicator for a few seconds and then nothing happens and the second time I get to the screen where it says no messages

@ereio ereio linked a pull request Jan 31, 2021 that will close this issue
9 tasks
@ereio
Copy link
Member

ereio commented Jan 31, 2021

Setup a homeserver under my blog domain and found the issue! Going to fix several more issues and put a new build out in the next couple days 👍

@ereio ereio moved this from This Sprint to In progress in v0.2.0 Feb 1, 2021
@ereio ereio closed this as completed in #229 Feb 4, 2021
v0.2.0 automation moved this from In progress to Done Feb 4, 2021
@ereio ereio moved this from Done to Released in v0.2.0 Jun 30, 2021
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
No open projects
v0.2.0
  
Released
Development

Successfully merging a pull request may close this issue.

2 participants