Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mega.login hangs #75

Open
reisenmachtfreude opened this issue Dec 24, 2021 · 2 comments
Open

mega.login hangs #75

reisenmachtfreude opened this issue Dec 24, 2021 · 2 comments

Comments

@reisenmachtfreude
Copy link

reisenmachtfreude commented Dec 24, 2021

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)
@laisers
Copy link

laisers commented Apr 20, 2022

same issue
The only thing that helps is changing your account

@Ajurahul
Copy link

Facing the same issue in heroku. In my local too without vpn.. any help regarding this.
It just wouldn't login

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@reisenmachtfreude @Ajurahul @laisers and others