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] Failed to download exerciseFile with name <filename>.zip #116

Open
maintain3r opened this issue Nov 8, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@maintain3r
Copy link

Describe the bug
A clear and concise description of what the bug is.

Operating System
[e.g. Windows 10]

Log File
Upload the latest log file present at %localappdata%\Linkedin-Learning-Courses-Downloader\app-1.1.0\logs here.

Hello,
I'd like to report an issue that happens when I try to download a course.
I don;t know if this project is still maintained, hope it is as it's the best projects I've found on Internet.
When downloading a course it starts and goes well, fetches about 200megs of data and then fails, then the retry logic tries to download from where it's failed. Here's a piece of log of the app:
[ERR] Failed to download exerciseFile with name archivefilename.zip
System.AggregateException: One or more errors occurred. (Name or service not known (lilcdn-a.akamaihd.net:443))
---> System.Net.WebException: Name or service not known (lilcdn-a.akamaihd.net:443)
---> System.Net.Http.HttpRequestException: Name or service not known (lilcdn-a.akamaihd.net:443)
---> System.Net.Sockets.SocketException (0xFFFDFFFF): Name or service not known
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.g__WaitForConnectWithCancellation|283_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.DefaultConnectAsync(SocketsHttpConnectionContext context, CancellationToken cancellationToken)
at System.Net.Http.ConnectHelper.ConnectAsync(Func3 callback, DnsEndPoint endPoint, HttpRequestMessage requestMessage, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.ConnectAsync(Func3 callback, DnsEndPoint endPoint, HttpRequestMessage requestMessage, 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.GetHttpConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(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.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken)
at System.Net.HttpWebRequest.SendRequest(Boolean async)
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
at System.Net.WebClient.GetWebResponseTaskAsync(WebRequest request)
at System.Net.WebClient.DownloadBitsAsync(WebRequest request, Stream writeStream, AsyncOperation asyncOp, Action3 completionDelegate) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at LLCD.DownloaderTUI.CourseDownloader.<>c__DisplayClass13_0.<DownloadExerciseFile>b__0() at LLCD.CourseExtractor.Retry.<>c__DisplayClass2_0.<Do>b__0() at LLCD.CourseExtractor.Retry.Do[T](Func1 function, String exceptionMessage, Action actionOnError, Action actionOnFatal, Int32 retries)
2024-11-08 17:10:05.313 -05:00 [INF] Running Action on Error
2024-11-08 17:10:05.313 -05:00 [ERR] Trying again ,5
2024-11-08 17:10:05.313 -05:00 [FTL] Error occured 5 times without being resolved
2024-11-08 17:10:05.320 -05:00 [ERR] Error while Downloading
System.Exception: A fatal error occured in the program. Check the logs for more info
at LLCD.CourseExtractor.Retry.Do[T](Func`1 function, String exceptionMessage, Action actionOnError, Action actionOnFatal, Int32 retries)
at LLCD.CourseExtractor.Retry.Do(Action function, String exceptionMessage, Action actionOnError, Action actionOnFatal, Int32 retries)
at LLCD.DownloaderTUI.CourseDownloader.DownloadExerciseFile(DirectoryInfo courseDirectory, ProgressBar pbarCourse, ExerciseFile exerciseFile)
at LLCD.DownloaderTUI.CourseDownloader.DownloadCourse(Course course, DirectoryInfo courseRootDirectory)

Please help.

@maintain3r maintain3r added the bug Something isn't working label Nov 8, 2024
@moshin34
Copy link

I seem to have this same error from MacOS CLI. Downloading all the videos, but failing to download the exercise files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants