AppFlowy icon indicating copy to clipboard operation
AppFlowy copied to clipboard

Bug Report: Login Issues

Open Princ229 opened this issue 1 year ago • 36 comments

Bug Description

For about 24 hours now, I've been having trouble logging into my AppFlowy account. I've tried logging in via email and Google, but both methods are problematic: When trying to log in via email, I never receive the login email When trying to log in with Google, I get the error "Something went wrong. Please Try later" I'm wondering if my account has been blocked.

How to Reproduce

Attempt to log in via email Attempt to log in with Google

Expected Behavior

Able to log into my AppFlowy account without any errors.

Operating System

Windows

AppFlowy Version(s)

AppFlowy-0.6.7.1

Screenshots

Capture d’écran 2024-08-16 114738

Additional Context

If anyone has suggestions on how to resolve this login issue, I would greatly appreciate your help! I'm unable to access my account and am unsure why I'm encountering these errors when trying to log in. Please let me know if you have any ideas or if I should reach out to the AppFlowy support team. Any guidance would be very helpful to get me back into my account. Thank you in advance for your assistance!

Princ229 avatar Aug 16 '24 11:08 Princ229

Hi, @Princ229. Can you share your log files with us? Here's the guide on how to export them.

LucasXu0 avatar Aug 16 '24 11:08 LucasXu0

Please make sure the server is set to AppFlowy Cloud Beta image

annieappflowy avatar Aug 16 '24 12:08 annieappflowy

The log files

Le ven. 16 août 2024 à 13:08, Annie @.***> a écrit :

Please make sure the server is set to AppFlowy Cloud Beta image.png (view on web) https://github.com/user-attachments/assets/dde7f2bb-e8d5-402a-b10c-d22fc6089706

— Reply to this email directly, view it on GitHub https://github.com/AppFlowy-IO/AppFlowy/issues/5988#issuecomment-2293390311, or unsubscribe https://github.com/notifications/unsubscribe-auth/A67AOGCXUP6CY3VBDWK2ENTZRXTUVAVCNFSM6AAAAABMT4BRJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJTGM4TAMZRGE . You are receiving this because you were mentioned.Message ID: @.***>

Princ229 avatar Aug 16 '24 14:08 Princ229

I still don't have access to my account! There is no way to recover my data from my work on this account? Otherwise, I'm in deep trouble without this data.

log.zip

Princ229 avatar Aug 17 '24 01:08 Princ229

Assurez-vous que le serveur est configuré sur AppFlowy Cloud Beta image

I made the right choice

Princ229 avatar Aug 17 '24 01:08 Princ229

@Princ229 , there are local copies on your device, so I wouldn't worry too much about them missing or lost. We're checking your log files and will get back to you soon.

annieappflowy avatar Aug 17 '24 03:08 annieappflowy

Based on the logs, it seems that your AppFlowy application is not able to reach https://beta.appflowy.cloud/gotrue/token, https://beta.appflowy.cloud/gotrue/settings. By any chance, are you connecting to the internet behind a network proxy / VPN? Are you able to reach https://beta.appflowy.cloud/gotrue/settings from your browser?

khorshuheng avatar Aug 17 '24 06:08 khorshuheng

I am connected to a vpn as the app is deployed internally, could this be an issue with authenticating after receiving the magic link in my email? when I click the link site can't be reached

oxblixxx avatar Aug 17 '24 07:08 oxblixxx

We are using gotrue as our authentication service, which is reachable via https://beta.appflowy.cloud/gotrue . Hence, if you are not able to reach this service, say, if this is blocked by a firewall, or the environment which the app is used on can't reach the internet for some reason, the sync and sign in won't work.

May i know what do you mean when you say that the app is deployed internally? Do you mean, you are deploying a self hosted appflowy cloud webservice, which is only reachable via VPN? Or, the appflowy desktop application is installed on a remote desktop, and you have to access the appflowy desktop application via a VPN?

khorshuheng avatar Aug 17 '24 07:08 khorshuheng

a appflowy cloud webservice which is deployed behind a proxy, to be accessible internally.

oxblixxx avatar Aug 17 '24 07:08 oxblixxx

Noted. If you are self-hosting appflowy cloud webservice, then on the cloud settings, you should choose AppFlowy Self Hosted, and specify the endpoint of the deployed appflowy cloud webservice, instead of AppFlowy Cloud Beta. Based on the log, the desktop application/mobile app is attempting to connect to our hosted AppFlowy Cloud instead of your internally hosted appflowy cloud.

Before that, since you mentioned that you have important data on your account - does that mean that you have successfully log in in the past and created some document?

EDITED: sorry, i mistakenly replied to @oxblixxx thinking that he is @Princ229 for this comment.

khorshuheng avatar Aug 17 '24 07:08 khorshuheng

By the way, I was visiting a friend, and it was there that he recommended this to me. Since he uses a VPN, I connected through it to download the app and navigate within it. I spent almost a month using his VPN for the connection. However, it's been three days since I left his place, and I am now using my own connection without a VPN. He doesn’t live far from me. If I understand correctly, I need to reconnect to the VPN before I can access my account.

Le sam. 17 août 2024 à 07:46, Khor Shu Heng @.***> a écrit :

Based on the logs, it seems that your AppFlowy application is not able to reach https://beta.appflowy.cloud/gotrue/token, https://beta.appflowy.cloud/gotrue/settings. By any chance, are you connecting to the internet behind a network proxy / VPN? Are you able to reach https://beta.appflowy.cloud/gotrue/settings from your browser?

— Reply to this email directly, view it on GitHub https://github.com/AppFlowy-IO/AppFlowy/issues/5988#issuecomment-2294702742, or unsubscribe https://github.com/notifications/unsubscribe-auth/A67AOGCVLZKYPANP7QISAZ3ZR3WS3AVCNFSM6AAAAABMT4BRJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJUG4YDENZUGI . You are receiving this because you were mentioned.Message ID: @.***>

Princ229 avatar Aug 17 '24 08:08 Princ229

D’après les logs, il semble que votre application AppFlowy ne soit pas en mesure d’atteindre https://beta.appflowy.cloud/gotrue/token, https://beta.appflowy.cloud/gotrue/settings. Par hasard, vous vous connectez à Internet derrière un proxy réseau / VPN ? Pouvez-vous https://beta.appflowy.cloud/gotrue/settings joindre depuis votre navigateur ?

Yes, I was able to access it, but here is what I have: { "external": { "apple": false, "azure": false, "bitbucket": false, "discord": true, "facebook": false, "figma": false, "fly": false, "github": true, "gitlab": false, "google": true, "keycloak": false, "kakao": false, "linkedin": false, "linkedin_oidc": false, "notion": false, "spotify": false, "slack": false, "workos": false, "twitch": false, "twitter": false, "email": true, "phone": false, "zoom": false }, "disable_signup": false, "mailer_autoconfirm": false, "phone_autoconfirm": false, "sms_provider": "", "mfa_enabled": false, "saml_enabled": false }

Princ229 avatar Aug 17 '24 08:08 Princ229

Heyyyy

Le sam. 17 août 2024 à 09:11, Junior GNIMAGNON @.***> a écrit :

By the way, I was visiting a friend, and it was there that he recommended this to me. Since he uses a VPN, I connected through it to download the app and navigate within it. I spent almost a month using his VPN for the connection. However, it's been three days since I left his place, and I am now using my own connection without a VPN. He doesn’t live far from me. If I understand correctly, I need to reconnect to the VPN before I can access my account.

Le sam. 17 août 2024 à 07:46, Khor Shu Heng @.***> a écrit :

Based on the logs, it seems that your AppFlowy application is not able to reach https://beta.appflowy.cloud/gotrue/token, https://beta.appflowy.cloud/gotrue/settings. By any chance, are you connecting to the internet behind a network proxy / VPN? Are you able to reach https://beta.appflowy.cloud/gotrue/settings from your browser?

— Reply to this email directly, view it on GitHub https://github.com/AppFlowy-IO/AppFlowy/issues/5988#issuecomment-2294702742, or unsubscribe https://github.com/notifications/unsubscribe-auth/A67AOGCVLZKYPANP7QISAZ3ZR3WS3AVCNFSM6AAAAABMT4BRJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJUG4YDENZUGI . You are receiving this because you were mentioned.Message ID: @.***>

Princ229 avatar Aug 18 '24 23:08 Princ229

Under normal circumstances, you shouldn't really need a VPN to access Appflowy cloud, unless you are using a self hosted instance that cannot be accessed without one, which is not the case here.

Let's try if signing in via the web portal works, since you were able to access the gotrue settings via browser. Go to https://beta.appflowy.cloud, which should then redirect you to a log in page, and let us know the result.

I have not been able to figure out why our API endpoint is reachable via your browser, but somehow not via your desktop application. One reason I can think of, is that the desktop application is somehow installed in a virtual environment that does not have access to the internet, though I doubt that is the case here.

khorshuheng avatar Aug 19 '24 00:08 khorshuheng

I was able to access the website, and here is what I have, Capture d’écran 2024-08-19 090523 I clicked on the Open AppFlowy button, and it opened the application on my desktop, but I couldn't connect to my account; it’s the same error as before.

Princ229 avatar Aug 19 '24 08:08 Princ229

Assistance is slow enough, I think. I need to log in to finish my work. It's the only thing that's slowing him down now.

Le lun. 19 août 2024 à 01:55, Khor Shu Heng @.***> a écrit :

Under normal circumstances, you shouldn't really need a VPN to access Appflowy cloud, unless you are using a self hosted instance that cannot be accessed without one, which is not the case here.

Let's try if signing in via the web portal works, since you were able to access the gotrue settings via browser. Go to https://beta.appflowy.cloud, which should then redirect you to a log in page, and let us know the result.

I have not been able to figure out why our API endpoint is reachable via your browser, but somehow not via your desktop application. One reason I can think of, is that the desktop application is somehow installed in a virtual environment that does not have access to the internet, though I doubt that is the case here.

— Reply to this email directly, view it on GitHub https://github.com/AppFlowy-IO/AppFlowy/issues/5988#issuecomment-2295480639, or unsubscribe https://github.com/notifications/unsubscribe-auth/A67AOGESHPI2PAWPYGD4M2TZSE7A5AVCNFSM6AAAAABMT4BRJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJVGQ4DANRTHE . You are receiving this because you were mentioned.Message ID: @.***>

Princ229 avatar Aug 20 '24 09:08 Princ229

@Princ229 I believe you accidentally closed this yesterday, let me reopen this issue.

What we know for sure at the moment, is that there isn't any issue with your account - but somehow your desktop app isn't able to reach our service.

Can you try and see if you are able to login using our android/ios mobile app?

khorshuheng avatar Aug 20 '24 10:08 khorshuheng

I tried the mobile application a few days ago but I heard the application doesn't open it automatically closes. Maybe it's not compatible with my Infinix.

Le mar. 20 août 2024 à 11:14, Lucas.Xu @.***> a écrit :

Reopened #5988 https://github.com/AppFlowy-IO/AppFlowy/issues/5988.

— Reply to this email directly, view it on GitHub https://github.com/AppFlowy-IO/AppFlowy/issues/5988#event-13942688723, or unsubscribe https://github.com/notifications/unsubscribe-auth/A67AOGAAKW22UPFNB6QN6WLZSMJIBAVCNFSM6AAAAABMT4BRJKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTHE2DENRYHA3TEMY . You are receiving this because you were mentioned.Message ID: @.***>

Princ229 avatar Aug 20 '24 10:08 Princ229

@Princ229 Could you let me know which VPN client you're using and check if your VPN client is set to use a proxy for the AppFlowy app? If so, try disabling the proxy, reopening the app, and trying to log in again.

LucasXu0 avatar Aug 20 '24 11:08 LucasXu0

It's a VPN that he configured on my PC I don't know much about. But as I understand it, do I reconnect it with ke VpN I can access the app?

Le mar. 20 août 2024 à 12:06, Lucas.Xu @.***> a écrit :

@Princ229 https://github.com/Princ229 Could you let me know which VPN client you're using and check if your VPN client is set to use a proxy for the AppFlowy app? If so, try disabling the proxy, reopening the app, and trying to log in again.

— Reply to this email directly, view it on GitHub https://github.com/AppFlowy-IO/AppFlowy/issues/5988#issuecomment-2298587989, or unsubscribe https://github.com/notifications/unsubscribe-auth/A67AOGHDMBPIOGEPD274KR3ZSMPLJAVCNFSM6AAAAABMT4BRJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJYGU4DOOJYHE . You are receiving this because you were mentioned.Message ID: @.***>

Princ229 avatar Aug 20 '24 11:08 Princ229

You can try reconnecting your VPN and logging in again. If it works, it means the application was under a network proxy, which was causing continuous connection failures.

LucasXu0 avatar Aug 20 '24 12:08 LucasXu0

Ok, I will try.

Le mar. 20 août 2024 à 13:08, Lucas.Xu @.***> a écrit :

You can try reconnecting your VPN and logging in again. If it works, it means the application was under a network proxy, which was causing continuous connection failures.

— Reply to this email directly, view it on GitHub https://github.com/AppFlowy-IO/AppFlowy/issues/5988#issuecomment-2298699398, or unsubscribe https://github.com/notifications/unsubscribe-auth/A67AOGDSZQBGORBEFDWJELTZSMWT5AVCNFSM6AAAAABMT4BRJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJYGY4TSMZZHA . You are receiving this because you were mentioned.Message ID: @.***>

Princ229 avatar Aug 20 '24 12:08 Princ229

I was able to access my account when I used the VPN to reconnect, everything worked until the moment I realized that I don't have all my current work, the recent work I did is not present in any of the workspaces! The part I circled in the photo should have up to 07 other new spaces I created with very important projects! Can you explain to me why?? The strangest thing is that the images associated with these last spaces I created are indeed present in the folder, about fifteen images that I put in these spaces: AppData\Roaming\io.appflowy\AppFlowy\data_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk\cache_files but I don't see the corresponding spaces in my workspace Capture d’écran 2024-08-21 011924 Capture d’écran 2024-08-21 011816

Princ229 avatar Aug 21 '24 00:08 Princ229

Can you try using the search functionality to look for your recent documents?

khorshuheng avatar Aug 21 '24 01:08 khorshuheng

@LucasXu0

annieappflowy avatar Aug 21 '24 02:08 annieappflowy

I'm sorry, but it's not working. I've tried everything. I must first find all the other 07 "Space" before I can find the said documents.

Le mer. 21 août 2024 à 02:25, Khor Shu Heng @.***> a écrit :

Can you try using the search functionality to look for your recent documents?

— Reply to this email directly, view it on GitHub https://github.com/AppFlowy-IO/AppFlowy/issues/5988#issuecomment-2300036243, or unsubscribe https://github.com/notifications/unsubscribe-auth/A67AOGGBTFIDPTCKGYK5WJTZSPUA7AVCNFSM6AAAAABMT4BRJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBQGAZTMMRUGM . You are receiving this because you were mentioned.Message ID: @.***>

Princ229 avatar Aug 21 '24 02:08 Princ229

The part I circled in the photo should have up to 07 other new spaces I created with very important projects!

Do you remember when you created these 7 spaces? From your log files, you created 2 spaces respectively on 08-11 and 08-14.

Screenshot 2024-08-21 at 10 22 45

If you did that after 08-16, please share your latest log files and don't delete any local folders.

LucasXu0 avatar Aug 21 '24 02:08 LucasXu0

J'ai bien plus que 02 Space je vous assure. Je me rappelle plus du nombre mais ça dépasse 2.

Le mer. 21 août 2024 à 03:25, Lucas.Xu @.***> a écrit :

The part I circled in the photo should have up to 07 other new spaces I created with very important projects!

Do you remember when you created these 7 spaces? From your log files, you created 2 spaces respectively on 08-11 and 08-14. Screenshot.2024-08-21.at.10.22.45.png (view on web) https://github.com/user-attachments/assets/f353c7b5-549c-4099-aba3-813e177f8e86

If you did that after 08-16, please share your latest log files and don't delete any local folders.

— Reply to this email directly, view it on GitHub https://github.com/AppFlowy-IO/AppFlowy/issues/5988#issuecomment-2300294588, or unsubscribe https://github.com/notifications/unsubscribe-auth/A67AOGCWIOQWYTXEAFPX4SDZSP27ZAVCNFSM6AAAAABMT4BRJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBQGI4TINJYHA . You are receiving this because you were mentioned.Message ID: @.***>

Princ229 avatar Aug 21 '24 20:08 Princ229

Were those space created before 11th of August? And just to confirm, have you login only using one email, or are there different emails that you used to login to AppFlowy?

khorshuheng avatar Aug 22 '24 01:08 khorshuheng