meganz / MEGAcmd

Command Line Interactive and Scriptable Application to access MEGA
Other
1.89k stars 406 forks source link

On Windows 7, MegaCmd client and/or server stuck on "Resuming Session" with 100% CPU since the April 8 solar eclipse #963

Closed ilikefoss123abc closed 2 months ago

ilikefoss123abc commented 2 months ago

I'm on Windows 7. Everything was working fine before April 8. I think I successfully used it on Sunday April 7, or maybe Saturday.

Sometime around April 8, it now gets stuck on Resuming Session with 100% CPU usage whenever I try to use it.

I tried updating to the latest version. Same problem.

I can log out. I can kill session. But I can't log in; I can't execute whoami; I can't download anything with GET. I can't get past "Resuming Session". I have of course tried killing client and server processes with Task Manager and restarting, but no luck.

It was working fine before April 8. Something became broken on or near April 8, the day of the eclipse.

What happened? It was working before but now it is broken. Did your API change? Did an SSL certificate expire? (If the latter, can you ship the necessary SSL certificates with the Setup.exe similar to how Firefox does it, because I have trouble updating certificates on Windows 7 at the level of the OS; thus I do not want to rely on the OS for certificate stores.)

Perhaps I have a corrupt session? But I did log off and kill-session, so that would fix it, no -- it would delete the session data? It gives me the message that "I am not logged in". I think I saw that message when I tried whoami. But I can't log in; it hangs on Resuming Session.

Where is the session stored? I could try deleting the session data, but I don't know where it's located.

ilikefoss123abc commented 2 months ago

Sorry, my bad, it was a problem with a misconfigured router. I fixed it. You might want to give a message like "Unable to connect to Mega servers. Check your Internet/cables/router/firewall" rather than just hanging with 100% CPU usage. A descriptive error message would help us diagnose problems more easily.