meganz / MEGAsync

Easy automated syncing between your computers and your MEGA Cloud Drive
Other
1.62k stars 278 forks source link

Stuck forever in 'Logging in' on Mint #913

Open filsd opened 6 months ago

filsd commented 6 months ago

Hi! I'm on Linux Mint 21 and the native app is stuck on login. It worked perfectly before. The website also works fine.

Looks like bug #769

Adbekunkus commented 6 months ago

Also having this issue on Debian. Megasync version 5.2.0. I tried deleting the db files on the ~/.local/share/data/Mega Limited/MEGAsync directory (worked previously). This is the tail for the most recent log file:

03/18-17:59:02.979930 140691611035328 DBG  cs POST target URL: https://g.api.mega.co.nz/cs?id=yejuycvaob&sid=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&ak=FhMgXbqb&v=3&&lang=en [net.cpp:1461]
03/18-17:59:02.979939 140691611035328 DBG  cs Sending 94: [{"a":"us","sek":"o6PuqP2e_JyAB_hf7phBVQ","si":"mPZHg7mAWQl54wwj_txCNMeLDVaO-qmgOlMx3MItyvo"}] (at ds: 17367) [net.cpp:1471]
03/18-17:59:02.980730 140691611035328 DBG  Adding curl socket 53 to 1 [net.cpp:2761]
03/18-17:59:03.191305 140691611035328 DBG  Removing socket 53 [net.cpp:2748]
03/18-17:59:03.191312 140691611035328 DBG  cs CURLMSG_DONE with HTTP status: 200 from g.api.mega.co.nz - 66.203.125.12 [net.cpp:2300]
03/18-17:59:03.191316 140691611035328 DBG  cs Received 2: -3 (at ds: 17369) [net.cpp:2344]
03/18-17:59:03.191464 140691611035328 DTL  Request response progress: current progress = 2, total progress = -1 [megaapi_impl.cpp:14804]
[repeated x1]
03/18-17:59:03.191503 140691611035328 WARN Retrying cs request in 673 ds [megaclient.cpp:2521]
03/18-17:59:04.252215 140692034716352 INFO Local network adapters haven't changed

EDIT: I reinstalled curl as the link in OP's comment suggested, problem persists. Current curl version is 8.5.0.

jasongodev commented 4 months ago

If you are using a VPN solution, you may need to exclude *.mega.co.nz in your VPN (if it supports split tunneling). My experience with Cloudflare Warp was solved by doing this: https://github.com/meganz/MEGAsync/issues/943

You need to also apply the same exclusion if your VPN is configured at a router and/or proxy level.