[Bug] Unable to login from Linux App Image
Bug Description
Download AppFlowy-0.4.6-linux-x86_64.AppImage , make it executable and run.
Click on "Login with Github" / "Login with Google" /"Login with Discord"
It displayed a "fail" in UI, and console will show the error trace
🐧 x11:~% ./Downloads/AppFlowy-0.4.6-linux-x86_64.AppImage
Gtk-Message: 09:44:13.255: Failed to load module "colorreload-gtk-module"
Gtk-Message: 09:44:13.278: Failed to load module "window-decorations-gtk-module"
2024-02-06 09:44:17 INFO 🔥AppFlowy Configuration { app_version: "0.4.6", storage_path: "/home/cheng/.local/share/AppFlowy/data_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk", application_path: "/home/cheng/.local/share/AppFlowy/data", base_url: "https://beta.appflowy.cloud", ws_url: "wss://beta.appflowy.cloud/ws", gotrue_url: "https://beta.appflowy.cloud/gotrue" }
at flowy-core/src/lib.rs:92
2024-02-06T01:44:17.633692Z INFO flowy_core: 🔥AppFlowy Configuration { app_version: "0.4.6", storage_path: "/home/cheng/.local/share/AppFlowy/data_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk", application_path: "/home/cheng/.local/share/AppFlowy/data", base_url: "https://beta.appflowy.cloud", ws_url: "wss://beta.appflowy.cloud/ws", gotrue_url: "https://beta.appflowy.cloud/gotrue" }
at flowy-core/src/lib.rs:92
2024-02-06 09:44:21 ERROR error: code:Internal msg: calling https://beta.appflowy.cloud/gotrue/settings failed
at /home/runner/.cargo/git/checkouts/appflowy-cloud-875aed6322f3953d/d23ad1c/libs/client-api/src/http.rs:263
2024-02-06T01:44:21.053766Z ERROR client_api::http: error: code:Internal msg: calling https://beta.appflowy.cloud/gotrue/settings failed
at /home/runner/.cargo/git/checkouts/appflowy-cloud-875aed6322f3953d/d23ad1c/libs/client-api/src/http.rs:263
2024-02-06 09:44:21 ERROR error: Internal: calling https://beta.appflowy.cloud/gotrue/settings failed
at flowy-user/src/event_handler.rs:310
2024-02-06T01:44:21.053807Z ERROR flowy_user::event_handler: error: Internal: calling https://beta.appflowy.cloud/gotrue/settings failed
at flowy-user/src/event_handler.rs:310
2024-02-06 09:44:21 ERROR msg: calling https://beta.appflowy.cloud/gotrue/settings failed
at dart-ffi/src/lib.rs:179
2024-02-06T01:44:21.054217Z ERROR dart_ffi: msg: calling https://beta.appflowy.cloud/gotrue/settings failed
at dart-ffi/src/lib.rs:179
2024-02-06 09:44:29 INFO cloud setting: authenticator: AuthenticatorType.appflowyCloud
appflowy: {base_url: https://beta.appflowy.cloud, ws_base_url: wss://beta.appflowy.cloud/ws, gotrue_url: https://beta.appflowy.cloud/gotrue}
supabase: {url: , anon_key: })
at dart-ffi/src/lib.rs:175
2024-02-06T01:44:29.612160Z INFO dart_ffi: cloud setting: authenticator: AuthenticatorType.appflowyCloud
appflowy: {base_url: https://beta.appflowy.cloud, ws_base_url: wss://beta.appflowy.cloud/ws, gotrue_url: https://beta.appflowy.cloud/gotrue}
supabase: {url: , anon_key: })
at dart-ffi/src/lib.rs:175
2024-02-06 09:44:29 ERROR Close db failed: FlowyError { code: RecordNotFound, msg: "User is not logged in", payload: [] }
at flowy-user/src/user_manager/manager.rs:105
2024-02-06T01:44:29.652581Z ERROR flowy_user::user_manager::manager: Close db failed: FlowyError { code: RecordNotFound, msg: "User is not logged in", payload: [] }
at flowy-user/src/user_manager/manager.rs:105
2024-02-06 09:44:29 INFO 🔥AppFlowy Configuration { app_version: "0.4.6", storage_path: "/home/cheng/.local/share/AppFlowy/data_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk", application_path: "/home/cheng/.local/share/AppFlowy/data", base_url: "https://beta.appflowy.cloud", ws_url: "wss://beta.appflowy.cloud/ws", gotrue_url: "https://beta.appflowy.cloud/gotrue" }
at flowy-core/src/lib.rs:92
in init
2024-02-06T01:44:29.659960Z INFO flowy_core: 🔥AppFlowy Configuration { app_version: "0.4.6", storage_path: "/home/cheng/.local/share/AppFlowy/data_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk", application_path: "/home/cheng/.local/share/AppFlowy/data", base_url: "https://beta.appflowy.cloud", ws_url: "wss://beta.appflowy.cloud/ws", gotrue_url: "https://beta.appflowy.cloud/gotrue" }
at flowy-core/src/lib.rs:92
in flowy_core::init
How to Reproduce
Download app image and click on login buttons
Expected Behavior
launch external brower for login, OR show a embed webview for login
Operating System
Ubuntu 22.04,
AppFlowy Version(s)
AppFlowy-0.4.6-linux-x86_64.AppImage
Screenshots
No response
Additional Context
uname - a Linux x11 6.5.0-15-generic #15~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 12 18:54:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Yes, I have that issue too. You have to log in as anonymous.
Same problem. A message appears in the window
GDK_GL=gres
.
Operating System Ubuntu 22.04
AppFlowy Version(s) installed from Snap Store AppFlowy 0.4.3
@yangcheng the cloud server was down yesterday. do you have the same issue today?
Yes I too have this issue. The snap store redirect does not take place. In the aur syore version, i am able to redirect but still face login issues.
@LucasXu0 hi, I just back from break. It seems better now, login with google/login with github both opens my browser, but the
redict did not work after I click continue. The app stuck in waiting state.
I am having same problem in Firefox, Chrome is working fine. Firefox is not opening custom protocol.
i am using edge
I guess it's related to the browser protocol. I'm using Chrome, and it works fine. I will try downloading Firefox and Edge to investigate this issue further.
Just tried the latest update from aur. Now i was able to login from firefox. Snap update is still at 0.4.3. Will check once updated.
I am still facing the issue,
I can only login with an "Anonymous Session"
But can't login using any other options like Google/Discord/Github
I tried using:
- AppImage
- Installed .deb file
- Installed From Snap Store
- Installed from flatpak
- Updating all the browsers
- Changed Default Browser
All of them have the exact same issue (I have been trying this entire week but didnt find any solution)
Flatpak Logs
Here is my system Details
What is the app version?
@yangcheng This is what I added and liked to the app location. The mimetype helps recognize the app.
cat /usr/share/applications/appflowy.desktop
[Desktop Entry] Name=AppFlowy Icon=app_flowy.svg Exec=/home/justkelvin/AppFlowy/AppFlowy Terminal=false Type=Application MimeType=x-scheme-handler/appflowy-flutter;
What is the app version?
@IAAJL brother,
& @justkelvin brother, I'll try that today to see if that works or not
@yangcheng This is what I added and liked to the app location. The mimetype helps recognize the app.
cat /usr/share/applications/appflowy.desktop[Desktop Entry] Name=AppFlowy Icon=app_flowy.svg Exec=/home/justkelvin/AppFlowy/AppFlowy Terminal=false Type=Application MimeType=x-scheme-handler/appflowy-flutter;
+1 for this. Also happens in nixos both stable and unstable branch. Nixos basically downloades appimage and installs it on the system, so this is really a concern I have for a while. I thought the new update will fix this, but this issue has been opened for 3 months now.
@yangcheng This is what I added and liked to the app location. The mimetype helps recognize the app.
cat /usr/share/applications/appflowy.desktop[Desktop Entry] Name=AppFlowy Icon=app_flowy.svg Exec=/home/justkelvin/AppFlowy/AppFlowy Terminal=false Type=Application MimeType=x-scheme-handler/appflowy-flutter;
This does solve the issue of the websites not redirecting to the app, but It just gets stuck on loop past that. I can't login even after doing this lol.
Tengo el mismo inconveniente
Hi there, I need some clarifications regarding the following questions:
- Can you access this URL: https://beta.appflowy.cloud/gotrue/settings? (Try to copy the link and open it in the browser)
- After clicking the login button, does the AppFlowy app successfully launch the browser?
- If step 2 is successful, can you see an "Open AppFlowy" button in the browser?
- If step 3 is successful, after clicking the "Open AppFlowy" button, does the browser redirect you to the AppFlowy app?
@LucasXu0
- Yes I can access it. Copy of raw data ->
{
"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
}
- Yes
- No
- Hm there is no 'Open appflowy' button and hence it doesn't redirect to the app as well.
@mobsenpai Which browser did you use?
Firefox