AppFlowy-IO / AppFlowy-Cloud

AppFlowy is an open-source alternative to Notion. You are in charge of your data and customizations. Built with Flutter and Rust.
GNU Affero General Public License v3.0
916 stars 190 forks source link

Failed named resolution #683

Open ThundR67 opened 2 months ago

ThundR67 commented 2 months ago

Describe the bug getting this error when logging in

Reqwest(reqwest::Error { kind: Request, url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("appflowy_cloud")), port: Some(8000), path: "/api/user/verify/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjA2NDQwODcsImlhdCI6MTcyMDYzNjg4Nywic3ViIjoiZjUzNGEzNzgtNzgwNS00YTI0LWI4YzQtYjdhNGQ0MDVhZGEzIiwiZW1haWwiOiJyb3NoYW4ubWVodGEuamlnbmVzaEBnbWFpbC5jb20iLCJwaG9uZSI6IiIsImFwcF9tZXRhZGF0YSI6eyJwcm92aWRlciI6ImVtYWlsIiwicHJvdmlkZXJzIjpbImVtYWlsIl19LCJ1c2VyX21ldGFkYXRhIjp7fSwicm9sZSI6IiIsImFhbCI6ImFhbDEiLCJhbXIiOlt7Im1ldGhvZCI6InBhc3N3b3JkIiwidGltZXN0YW1wIjoxNzIwNjM2ODg3fV0sInNlc3Npb25faWQiOiJkNGZhODU2NS00OTYwLTRhMzMtODk1Yi1jNDBiZmRmN2JjZGIifQ.c-50OcU2Kmu5ZXbojAYi0UfaCaO7H5-XRFH_FW7SYak", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) })

To Reproduce Steps to reproduce the behavior:

  1. Host Appflowy cloud
  2. login at the url

Expected behavior Login should be sucessful

Desktop (please complete the following information): Ubuntu 20

Additional context Ubuntu server 20

speed2exe commented 2 months ago

@ThundR67 is the appflowy_cloud service running properly in docker? this appears to me that something probably wrong with docker trying to resolve the ip for appflowy_cloud, maybe restarting the docker daemon can help.

glennanj1 commented 2 weeks ago

I'm getting the same error. I'm not sure if its a config file issue with gotrue since I have app flowy cloud deployed on a different machine. Will try testing locally to reproduce.