Closed BandoleiroBR closed 2 months ago
Consegui arrumar o erro, é só trocar a URL da linha self.LOGIN_URL por essa ai embaixo.
# Estas URLs estão para mudar!
self.LOGIN_URL = 'https://api.sparkleapp.com.br/oauth/token;'
Eventualmente o cadastro vai ser alterado para utilizar o SSO deles, mas eles estão mudando coisinhas aqui e ali, não sei quando vou liberar a versão por SSO. Parabéns por ter conseguido resolver, vou fixar essa issue.
Fiz a alteração no arquivo, mas continua a dar erro ao baixar qualquer aula
[download] Got error: HTTPSConnectionPool(host='vod-akm.play.hotmart.com', port=443): Read timed out. (read timeout=20.0). Retrying (1/8)...
[download] Got error: HTTPSConnectionPool(host='vod-akm.play.hotmart.com', port=443): Read timed out. (read timeout=20.0). Retrying (3/8)...
127.0.0.1 - - [09/Jul/2024 18:45:14] "GET /api/courses_progress HTTP/1.1" 200 -
127.0.0.1 - - [09/Jul/2024 18:45:14] "GET /api/logs?perPage=15&page=1 HTTP/1.1" 200 -
[download] Got error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')). Retrying (2/8)...
127.0.0.1 - - [09/Jul/2024 18:45:22] "GET /api/courses_progress HTTP/1.1" 200 -
127.0.0.1 - - [09/Jul/2024 18:45:22] "GET /api/logs?perPage=15&page=1 HTTP/1.1" 200 -
[download] Got error: HTTPSConnectionPool(host='vod-akm.play.hotmart.com', port=443): Read timed out. (read timeout=20.0). Retrying (4/8)...
[download] Got error: HTTPSConnectionPool(host='vod-akm.play.hotmart.com', port=443): Read timed out. (read timeout=20.0). Retrying (4/8)...
[download] Got error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')). Retrying (5/8)...
[download] Got error: HTTPSConnectionPool(host='vod-akm.play.hotmart.com', port=443): Read timed out. (read timeout=20.0). Retrying (3/8)...
[download] Got error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')). Retrying (5/8)...
127.0.0.1 - - [09/Jul/2024 18:45:49] "GET /api/courses_progress HTTP/1.1" 200 -
127.0.0.1 - - [09/Jul/2024 18:45:50] "GET /api/logs?perPage=15&page=1 HTTP/1.1" 200 -
[download] Got error: HTTP Error 504: Gateway Time-out. Retrying (4/8)...
[download] Got error: HTTPSConnectionPool(host='vod-akm.play.hotmart.com', port=443): Read timed out. (read timeout=20.0). Retrying (6/8)...
[download] Got error: HTTPSConnectionPool(host='vod-akm.play.hotmart.com', port=443): Read timed out. (read timeout=20.0). Retrying (6/8)...
[download] Got error: HTTPSConnectionPool(host='vod-akm.play.hotmart.com', port=443): Read timed out. (read timeout=20.0). Retrying (5/8)...
[download] Got error: HTTP Error 504: Gateway Time-out. Retrying (7/8)...
[download] Got error: HTTP Error 504: Gateway Time-out. Retrying (8/8)...
[download] Got error: HTTP Error 504: Gateway Time-out. Giving up after 8 retries
[download] 2.9% of ~ 471.24MiB at 24.30MiB/s ETA 00:05 (frag 5/143)[download] Got error: HTTPSConnectionPool(host='vod-akm.play.hotmart.com', port=443): Read timed out. (read timeout=20.0). Retrying (7/8)...
[download] Got error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')). Retrying (6/8)...
[download] Got error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')). Retrying (8/8)...
[download] Got error: HTTPSConnectionPool(host='vod-akm.play.hotmart.com', port=443): Read timed out. (read timeout=20.0). Retrying (1/8)...
[download] Got error: HTTP Error 504: Gateway Time-out. Retrying (7/8)...
[download] Got error: HTTP Error 504: Gateway Time-out. Retrying (8/8)...
[download] Got error: HTTP Error 504: Gateway Time-out. Giving up after 8 retries
127.0.0.1 - - [09/Jul/2024 18:46:37] "GET /api/courses_progress HTTP/1.1" 200 -
127.0.0.1 - - [09/Jul/2024 18:46:37] "GET /api/logs?perPage=15&page=1 HTTP/1.1" 200 -
[download] Got error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')). Retrying (2/8)...
127.0.0.1 - - [09/Jul/2024 18:46:44] "GET /api/courses_progress HTTP/1.1" 200 -
127.0.0.1 - - [09/Jul/2024 18:46:44] "GET /api/logs?perPage=15&page=1 HTTP/1.1" 200 -
[download] Got error: HTTPSConnectionPool(host='vod-akm.play.hotmart.com', port=443): Read timed out. (read timeout=20.0). Giving up after 8 retries
[download] fragment not found; Skipping fragment 2 ...
[download] fragment not found; Skipping fragment 5 ...
[download] fragment not found; Skipping fragment 6 ...
127.0.0.1 - - [09/Jul/2024 18:46:52] "GET /api/courses_progress HTTP/1.1" 200 -
127.0.0.1 - - [09/Jul/2024 18:46:52] "GET /api/logs?perPage=15&page=1 HTTP/1.1" 200 -
[download] Got error: HTTPSConnectionPool(host='vod-akm.play.hotmart.com', port=443): Read timed out. (read timeout=20.0). Retrying (1/8)...
[download] 3.5% of ~ 395.33MiB at 108.31KiB/s ETA 23:12 (frag 5/143)127.0.0.1 - - [09/Jul/2024 18:46:59] "GET /api/courses_progress HTTP/1.1" 200 -
127.0.0.1 - - [09/Jul/2024 18:46:59] "GET /api/logs?perPage=15&page=1 HTTP/1.1" 200 -
[download] Got error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')). Retrying (2/8)...
[download] Got error: 105968 bytes read, 2929488 more expected. Retrying (1/8)...
[download] 3.6% of ~ 463.61MiB at 2.89MiB/s ETA 10:47 (frag 6/143)[download] Got error: HTTPSConnectionPool(host='vod-akm.play.hotmart.com', port=443): Read timed out. (read timeout=20.0). Retrying (3/8)...
Baixa um pedaço, para.... Baixa outro pedaço, para.... Fica um tempão dando erro e para de baixar por completo na sequência.
Cadastro o usuário certinho, na hora de ir para cursos ele da esse erro no terminal e retorna para contas.