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

[Bug]: Error In V2.0 #148

Open
2 tasks done
TareqAbAmawi opened this issue May 15, 2023 · 8 comments
Open
2 tasks done

[Bug]: Error In V2.0 #148

TareqAbAmawi opened this issue May 15, 2023 · 8 comments
Labels
Status: TBC To be confirmed Type: Bug Something isn't working

Comments

@TareqAbAmawi
Copy link

What happened?

Show This Error :

Traceback (most recent call last):
File "urllib3\connectionpool.py", line 703, in urlopen
File "urllib3\connectionpool.py", line 386, in make_request
File "urllib3\connectionpool.py", line 1042, in validate_conn
File "urllib3\connection.py", line 419, in connect
File "urllib3\util\ssl
.py", line 449, in ssl_wrap_socket
File "urllib3\util\ssl
.py", line 493, in ssl_wrap_socket_impl
File "cloudscraper_init
.py", line 100, in wrap_socket
File "ssl.py", line 512, in wrap_socket
File "ssl.py", line 1070, in _create
File "ssl.py", line 1341, in do_handshake
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "requests\adapters.py", line 487, in send
File "urllib3\connectionpool.py", line 787, in urlopen
File "urllib3\util\retry.py", line 550, in increment
File "urllib3\packages\six.py", line 769, in reraise
File "urllib3\connectionpool.py", line 703, in urlopen
File "urllib3\connectionpool.py", line 386, in make_request
File "urllib3\connectionpool.py", line 1042, in validate_conn
File "urllib3\connection.py", line 419, in connect
File "urllib3\util\ssl
.py", line 449, in ssl_wrap_socket
File "urllib3\util\ssl
.py", line 493, in ssl_wrap_socket_impl
File "cloudscraper_init
.py", line 100, in wrap_socket
File "ssl.py", line 512, in wrap_socket
File "ssl.py", line 1070, in _create
File "ssl.py", line 1341, in do_handshake
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "gui.py", line 96, in scrape
File "base.py", line 745, in enrol
course_id, self.link = self.get_course_id(self.link)
File "base.py", line 368, in get_course_id
r = cloudscraper.CloudScraper().get(url)
File "requests\sessions.py", line 600, in get
File "cloudscraper_init_.py", line 259, in request
File "cloudscraper_init_.py", line 192, in perform_request
File "requests\sessions.py", line 587, in request
File "requests\sessions.py", line 701, in send
File "requests\adapters.py", line 502, in send
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))

https://www.udemy.com/course/best-crunchy-pizza/?couponCode=A0DE621971162BAB6FAE
The Crispy Pizza: Secrets to Making Crunchy Pizza Every Time

Enroller

GUI

OS

Windows

Relevant log output

Traceback (most recent call last):
  File "urllib3\connectionpool.py", line 703, in urlopen
  File "urllib3\connectionpool.py", line 386, in _make_request
  File "urllib3\connectionpool.py", line 1042, in _validate_conn
  File "urllib3\connection.py", line 419, in connect
  File "urllib3\util\ssl_.py", line 449, in ssl_wrap_socket
  File "urllib3\util\ssl_.py", line 493, in _ssl_wrap_socket_impl
  File "cloudscraper\__init__.py", line 100, in wrap_socket
  File "ssl.py", line 512, in wrap_socket
  File "ssl.py", line 1070, in _create
  File "ssl.py", line 1341, in do_handshake
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "requests\adapters.py", line 487, in send
  File "urllib3\connectionpool.py", line 787, in urlopen
  File "urllib3\util\retry.py", line 550, in increment
  File "urllib3\packages\six.py", line 769, in reraise
  File "urllib3\connectionpool.py", line 703, in urlopen
  File "urllib3\connectionpool.py", line 386, in _make_request
  File "urllib3\connectionpool.py", line 1042, in _validate_conn
  File "urllib3\connection.py", line 419, in connect
  File "urllib3\util\ssl_.py", line 449, in ssl_wrap_socket
  File "urllib3\util\ssl_.py", line 493, in _ssl_wrap_socket_impl
  File "cloudscraper\__init__.py", line 100, in wrap_socket
  File "ssl.py", line 512, in wrap_socket
  File "ssl.py", line 1070, in _create
  File "ssl.py", line 1341, in do_handshake
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gui.py", line 96, in scrape
  File "base.py", line 745, in enrol
    course_id, self.link = self.get_course_id(self.link)
  File "base.py", line 368, in get_course_id
    r = cloudscraper.CloudScraper().get(url)
  File "requests\sessions.py", line 600, in get
  File "cloudscraper\__init__.py", line 259, in request
  File "cloudscraper\__init__.py", line 192, in perform_request
  File "requests\sessions.py", line 587, in request
  File "requests\sessions.py", line 701, in send
  File "requests\adapters.py", line 502, in send
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))


https://www.udemy.com/course/best-crunchy-pizza/?couponCode=A0DE621971162BAB6FAE
The Crispy Pizza: Secrets to Making Crunchy Pizza Every Time

Terms

  • I am using the latest version available.
  • I agree to follow this project's Code of Conduct
@TareqAbAmawi TareqAbAmawi added the Type: Bug Something isn't working label May 15, 2023
@TareqAbAmawi
Copy link
Author

2023-05-15 04_08_24-

@TareqAbAmawi
Copy link
Author

+++++++++++++++++++
A N Y - U P D A T E ?
+++++++++++++++++++

@techtanic
Copy link
Owner

Is it in the first enrolling or mid way

@techtanic techtanic added the Status: TBC To be confirmed label May 23, 2023
@zenkidono
Copy link

zenkidono commented May 23, 2023

Is it in the first enrolling or mid way

I meet the same issue.
For me, it happens for the first one.

@zenkidono
Copy link

image
And this issue happens in the mid way enrolling

@malikabdulhayee7
Copy link

image

cloudscraper.exceptions.CloudflareChallengeError: Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version.

https://www.udemy.com/course/fundamentals-of-az-104-exam-with-hands-on-lab/?couponCode=DISCUDEMY.COM
A Step-by-Step Guide to Azure Administration for Beginner's

@TareqAbAmawi
Copy link
Author

The problem still exists and the number of courses is much less than before !

@stwillocks
Copy link

stwillocks commented Jul 22, 2023

similar here with another course:

resim

Traceback (most recent call last):
  File "urllib3\connection.py", line 174, in _new_conn
  File "urllib3\util\connection.py", line 72, in create_connection
  File "socket.py", line 955, in getaddrinfo
socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "urllib3\connectionpool.py", line 703, in urlopen
  File "urllib3\connectionpool.py", line 386, in _make_request
  File "urllib3\connectionpool.py", line 1042, in _validate_conn
  File "urllib3\connection.py", line 363, in connect
  File "urllib3\connection.py", line 186, in _new_conn
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x00000185B87B3D60>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "requests\adapters.py", line 487, in send
  File "urllib3\connectionpool.py", line 787, in urlopen
  File "urllib3\util\retry.py", line 592, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.https', port=443): Max retries exceeded with url: //www.udemy.com/course/oracle-primavera-p6-project-planning-and-scheduling-training/?couponCode=FDBC826B39883E3B3EE6.com/course/oracle-primavera-p6-project-planning-and-scheduling-training/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000185B87B3D60>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gui.py", line 96, in scrape
  File "base.py", line 745, in enrol
    course_id, self.link = self.get_course_id(self.link)
  File "base.py", line 368, in get_course_id
    r = cloudscraper.CloudScraper().get(url)
  File "requests\sessions.py", line 600, in get
  File "cloudscraper\__init__.py", line 259, in request
  File "cloudscraper\__init__.py", line 192, in perform_request
  File "requests\sessions.py", line 587, in request
  File "requests\sessions.py", line 701, in send
  File "requests\adapters.py", line 520, in send
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.https', port=443): Max retries exceeded with url: //www.udemy.com/course/oracle-primavera-p6-project-planning-and-scheduling-training/?couponCode=FDBC826B39883E3B3EE6.com/course/oracle-primavera-p6-project-planning-and-scheduling-training/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000185B87B3D60>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))


https://www.https://www.udemy.com/course/oracle-primavera-p6-project-planning-and-scheduling-training/?couponCode=FDBC826B39883E3B3EE6.com/course/oracle-primavera-p6-project-planning-and-scheduling-training/
Primavera P6 Training – For Beginners

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: TBC To be confirmed Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants