csyezheng / edx-helper

A command line tool for downloading courses from edx.org.
GNU Lesser General Public License v3.0
34 stars 13 forks source link

wrong email or password #5

Closed cvandeplas closed 10 months ago

cvandeplas commented 10 months ago

Subject of the issue

Error during login

Your environment

Steps to reproduce

$ edx-helper -u email   https://learning.edx.org/course/course-v1:EPFLx+DHA+2T2023
$ edx-helper -u email --list-courses

I also changed my password to something more simple. Also tried with username instead of email.

Expected behaviour

Be able to login.

Actual behaviour

$ edx-helper -u email   https://learning.edx.org/course/course-v1:EPFLx+DHA+2T2023
edx_helper version 0.6.4
Password: 
Building initial headers for future requests.
Getting initial CSRF token.
Found CSRF token.
Logging into Open edX site: https://courses.edx.org/login_ajax
Error, cannot login: HTTP Error 400: Bad Request
Wrong Email or Password.
csyezheng commented 10 months ago

@cvandeplas

This seems to be due to too many failed login attempts and your edx account is locked, just try again later. This may take 30 minutes or an hour.

At this time, you can try to login at edx.org, but you probably won't be able to login either. This problem has nothing to do with this edx-helper.

If you can login at edx.org but cannot login using this download tool, please tell me.

Why is my account locked?

cvandeplas commented 10 months ago

Hi, thanks for the prompt feedback. My account was not locked. I could log in perfectly through the website. I tried again today with a clean venv and I guess it must have been me doing something wrong, as it seems to work now. Sorry for the disturbance.