mega.py
mega.py copied to clipboard
mega.login hangs
At the moment, I've the problem that my code hangs at the line mega.login(...) Since the same code worked yesterday, I think currently there is an issue with the mega API.
However, It would be nice if mega.py throws an exception after a defined time out e.g. in seconds
If I CTRL+C the stack trace is the following
...
File "/home/user/.local/lib/python3.9/site-packages/mega/mega.py", line 46, in login
self._login_user(email, password)
File "/home/user/.local/lib/python3.9/site-packages/mega/mega.py", line 73, in _login_user
resp = self._api_request({'a': 'us', 'user': email, 'uh': user_hash})
File "/home/user/.local/lib/python3.9/site-packages/tenacity/__init__.py", line 293, in wrapped_f
return self.call(f, *args, **kw)
File "/home/user/.local/lib/python3.9/site-packages/tenacity/__init__.py", line 369, in call
self.sleep(do)
same issue The only thing that helps is changing your account
Facing the same issue in heroku. In my local too without vpn.. any help regarding this. It just wouldn't login