techtanic / Discounted-Udemy-Course-Enroller

A script/software for automatically enrolling/joining 100% discounted Udemy courses for free. Get Paid Udemy courses for free with just a few clicks.
https://duce.techtanic.space
MIT License
820 stars 237 forks source link

[Bug]: Error connecting to websites #163

Closed munahm closed 2 months ago

munahm commented 3 months ago

What happened?

running cli results in the following error: ` raceback (most recent call last):██████████████████████████████████████████▋ | 40/48 [00:40<00:08, 1.09s/it] File "urllib3\connectionpool.py", line 789, in urlopen | 31/60 [00:31<00:31, 1.08s/it] File "urllib3\connectionpool.py", line 536, in _make_request | 5/36 [00:30<03:16, 6.35s/it] File "urllib3\connection.py", line 464, in getresponse File "http\client.py", line 1395, in getresponse File "http\client.py", line 325, in begin File "http\client.py", line 294, in _read_status http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "requests\adapters.py", line 667, in send File "urllib3\connectionpool.py", line 843, in urlopen File "urllib3\util\retry.py", line 474, in increment File "urllib3\util\util.py", line 38, in reraise File "urllib3\connectionpool.py", line 789, in urlopen File "urllib3\connectionpool.py", line 536, in _make_request File "urllib3\connection.py", line 464, in getresponse File "http\client.py", line 1395, in getresponse File "http\client.py", line 325, in begin File "http\client.py", line 294, in _read_status urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "base.py", line 343, in en r = requests.get(f"https://jobs.e-next.in/course/udemy/{page}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "requests\api.py", line 73, in get File "requests\api.py", line 59, in request File "requests\sessions.py", line 589, in request File "requests\sessions.py", line 703, in send File "requests\adapters.py", line 682, in send requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

Error in: E-next v2.1 Traceback (most recent call last): File "urllib3\connectionpool.py", line 789, in urlopen████████▎ | 40/60 [00:41<00:21, 1.08s/it] File "urllib3\connectionpool.py", line 536, in _make_request | 6/36 [00:38<03:28, 6.94s/it] File "urllib3\connection.py", line 464, in getresponse File "http\client.py", line 1395, in getresponse File "http\client.py", line 325, in begin File "http\client.py", line 294, in _read_status http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "requests\adapters.py", line 667, in send File "urllib3\connectionpool.py", line 843, in urlopen File "urllib3\util\retry.py", line 474, in increment File "urllib3\util\util.py", line 38, in reraise File "urllib3\connectionpool.py", line 789, in urlopen File "urllib3\connectionpool.py", line 536, in _make_request File "urllib3\connection.py", line 464, in getresponse File "http\client.py", line 1395, in getresponse File "http\client.py", line 325, in begin File "http\client.py", line 294, in _read_status urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "base.py", line 299, in idc r = requests.get( ^^^^^^^^^^^^^ File "requests\api.py", line 73, in get File "requests\api.py", line 59, in request File "requests\sessions.py", line 589, in request File "requests\sessions.py", line 703, in send File "requests\adapters.py", line 682, in send requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

Error in: IDownloadCoupons v2.1

`

Enroller

CLI

OS

Windows

Relevant log output

raceback (most recent call last):██████████████████████████████████████████▋           | 40/48 [00:40<00:08,  1.09s/it]
  File "urllib3\connectionpool.py", line 789, in urlopen                               | 31/60 [00:31<00:31,  1.08s/it]
  File "urllib3\connectionpool.py", line 536, in _make_request                          | 5/36 [00:30<03:16,  6.35s/it]
  File "urllib3\connection.py", line 464, in getresponse
  File "http\client.py", line 1395, in getresponse
  File "http\client.py", line 325, in begin
  File "http\client.py", line 294, in _read_status
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "requests\adapters.py", line 667, in send
  File "urllib3\connectionpool.py", line 843, in urlopen
  File "urllib3\util\retry.py", line 474, in increment
  File "urllib3\util\util.py", line 38, in reraise
  File "urllib3\connectionpool.py", line 789, in urlopen
  File "urllib3\connectionpool.py", line 536, in _make_request
  File "urllib3\connection.py", line 464, in getresponse
  File "http\client.py", line 1395, in getresponse
  File "http\client.py", line 325, in begin
  File "http\client.py", line 294, in _read_status
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "base.py", line 343, in en
    r = requests.get(f"https://jobs.e-next.in/course/udemy/{page}")
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "requests\api.py", line 73, in get
  File "requests\api.py", line 59, in request
  File "requests\sessions.py", line 589, in request
  File "requests\sessions.py", line 703, in send
  File "requests\adapters.py", line 682, in send
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

Error in: E-next v2.1
                                                                                                                       Traceback (most recent call last):
  File "urllib3\connectionpool.py", line 789, in urlopen████████▎                      | 40/60 [00:41<00:21,  1.08s/it]
  File "urllib3\connectionpool.py", line 536, in _make_request                          | 6/36 [00:38<03:28,  6.94s/it]
  File "urllib3\connection.py", line 464, in getresponse
  File "http\client.py", line 1395, in getresponse
  File "http\client.py", line 325, in begin
  File "http\client.py", line 294, in _read_status
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "requests\adapters.py", line 667, in send
  File "urllib3\connectionpool.py", line 843, in urlopen
  File "urllib3\util\retry.py", line 474, in increment
  File "urllib3\util\util.py", line 38, in reraise
  File "urllib3\connectionpool.py", line 789, in urlopen
  File "urllib3\connectionpool.py", line 536, in _make_request
  File "urllib3\connection.py", line 464, in getresponse
  File "http\client.py", line 1395, in getresponse
  File "http\client.py", line 325, in begin
  File "http\client.py", line 294, in _read_status
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "base.py", line 299, in idc
    r = requests.get(
        ^^^^^^^^^^^^^
  File "requests\api.py", line 73, in get
  File "requests\api.py", line 59, in request
  File "requests\sessions.py", line 589, in request
  File "requests\sessions.py", line 703, in send
  File "requests\adapters.py", line 682, in send
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

Error in: IDownloadCoupons v2.1

Terms

techtanic commented 2 months ago

Should be fixed in the in v2.2.