sim0n00ps / OF-DL

C# console app to download all of the media from Onlyfans accounts with DRM video downloading support
830 stars 69 forks source link

V1.7.75 auth failed error and exception caught #562

Open 4zorah opened 2 months ago

4zorah commented 2 months ago

config.json located successfully! Valid version of Windows found. You are running OF-DL version 1.7.75 Latest GitHub Release version: 1.7.75 auth.json located successfully! rules.json located successfully! FFmpeg located successfully device_client_id_blob and/or device_private_key missing, https://cdrm-project.com/ will be used instead for DRM protected videos Exception caught: The SSL connection could not be established, see inner exception.

                                                                               StackTrace:    at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, 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.TaskCompletionSourceWithCancellation`1.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.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at OF_DL.Helpers.APIHelper.GetUserInfo(String endpoint)

Inner Exception: Exception caught: Cannot determine the frame size or a corrupted frame was received.

                                                                                StackTrace:    at System.Net.Security.SslStream.GetFrameSize(ReadOnlySpan`1 buffer)

at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken, Int32 estimatedSize) at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Security.SslStream.ReceiveHandshakeFrameAsync[TIOAdapter](CancellationToken cancellationToken) at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken) at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) Auth failed, please check the values in auth.json are correct.

If you have previously been able to auth successfully, the most likely cause of this is that your browser has updated, which will change the values of the USER_AGENT string. The version change to this string is usually very minor and easy to overlook, but even a slight difference will cause an authentication failure.

If you are struggling to authenticate, you may want to try the browser extension which is documented here:

https://sim0n00ps.github.io/OF-DL/docs/config/auth#browser-extension

i used browser extension and tried manually but couldnt solve the problem, anyone else had the same problem?

melithine commented 2 months ago

Try v1.7.76

4zorah commented 2 months ago

tried 1.7.76 and same again

melithine commented 1 month ago

@4zorah are you still seeing this?