Crunchy-DL / Crunchy-Downloader

A simple crunchyroll downloader that allows you to download your favorite series and episodes directly from Crunchyroll
MIT License
139 stars 13 forks source link

Failed to login #115

Closed lessyy closed 2 months ago

lessyy commented 2 months ago

1

This is the log file:

Error: System.Net.Http.HttpRequestException: 由于目标计算机积极拒绝,无法连接。 (127.0.0.1:7890) ---> System.Net.Sockets.SocketException (10061): 由于目标计算机积极拒绝,无法连接。 at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Sockets.Socket.gWaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken) at System.Net.Sockets.Socket.g__Core|289_0(IPAddress[] addresses, Int32 port, CancellationToken cancellationToken) at System.Net.Sockets.Socket.gCore|289_0(IPAddress[] addresses, Int32 port, CancellationToken cancellationToken) at CRD.Utils.HttpClientReq.<>c.<b__7_0>d.MoveNext() --- End of stack trace from previous location --- at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem) at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.EstablishProxyTunnelAsync(Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem) at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at CRD.Utils.HttpClientReq.SendHttpRequest(HttpRequestMessage request) Response:

Elwador commented 2 months ago

using a vpn?

lessyy commented 2 months ago

使用 vpn?

yes

Elwador commented 2 months ago

then i can't really help you to solve this

lessyy commented 2 months ago

My previous version is usable, maybe there is another way?

Elwador commented 2 months ago

nothing changed on the login process in the recent versions

lessyy commented 2 months ago

Yesterday I was using version 1.5.13 and it worked fine, but now it fails. I updated to the latest version and it says login failed.

Elwador commented 2 months ago

what VPN - because it seems your vpn sends my http request to 127.0.0.1:7890

moste likely it uses a proxy

lessyy commented 2 months ago

I added the node using clash, I don't know what happened, everything is broken. Crunchyroll is not supported in my region. I usually use Clash to access it.

Elwador commented 2 months ago

try it with this version - https://github.com/Crunchy-DL/Crunchy-Downloader/releases/tag/v1.5.28.1

lessyy commented 2 months ago

Thank you for your willingness to resolve this issue, but unfortunately it still shows login failed.

Elwador commented 2 months ago

can you check the log mode to see if it correctly detects the proxy

lessyy commented 2 months ago

This is the log file:

Error: System.Net.Http.HttpRequestException: 由于目标计算机积极拒绝,无法连接。 (127.0.0.1:7890) ---> System.Net.Sockets.SocketException (10061): 由于目标计算机积极拒绝,无法连接。 at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Sockets.Socket.gWaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken) at System.Net.Sockets.Socket.g__Core|289_0(IPAddress[] addresses, Int32 port, CancellationToken cancellationToken) at System.Net.Sockets.Socket.gCore|289_0(IPAddress[] addresses, Int32 port, CancellationToken cancellationToken) at CRD.Utils.HttpClientReq.<>c.<b__8_0>d.MoveNext() --- End of stack trace from previous location --- at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem) at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.EstablishProxyTunnelAsync(Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem) at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at CRD.Utils.HttpClientReq.SendHttpRequest(HttpRequestMessage request)

Elwador commented 2 months ago

that is the error is there something before?

lessyy commented 2 months ago

This is the prompt that appears after I download the latest version. I could log in normally a few versions ago. Now, as soon as I log in, I get this prompt

Elwador commented 2 months ago

enable the log mode in the settings and look into the file after you restared the downloader

v1.5.13 is not just a few versions 😅

lessyy commented 2 months ago

尝试使用此版本 - https://github.com/Crunchy-DL/Crunchy-Downloader/releases/tag/v1.5.28.1

The log is a reminder of this version

Elwador commented 2 months ago

i updated the release - https://github.com/Crunchy-DL/Crunchy-Downloader/releases/tag/v1.5.28.1 try it again - i also tested it now with clash and it worked fine

lessyy commented 2 months ago

It works fine now, thank you very much