-
Notifications
You must be signed in to change notification settings - Fork 18
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
Getting Remote server return 404 error. #36
Comments
If it is just one 404 error you get and the command otherwise works as expected it is most likely that a file is just missing in Lenovos repository. That does happen. You can run |
It's been a while, have you had a chance to look into this any further? What computer model are you getting this 404 on (output of |
Closing due to the lack of responses and the fact that some rare but reproducible 404s are "normal" for some computer models when accessing the official Lenovo repository, which is just sometimes missing a file. Typically this can be ignored, however should you ever get this error when accessing a self-hosted repository I'd advise trying to find and add the missing file(s) in there. |
this makes no difference when running Get-LSUpdate in a normal PowerShell session, but some deployment/script-running solutions wrap the entire script in a big try-catch which triggered on any .NET exception from DownloadFile. Try-Catching the DownloadFile call separately and "downgrading" any exceptions to a PowerShell-native error prevents any unintended script terminations in such cases. I still recommend NOT wrapping LSUClient scripts in a global try-catch whenever it is possible to avoid it. also referencing previous issues #35, #36, #37 and #65
When I tried to execute Get-LSUpdate with administrator mode it's returning the below error. Can you please guide me on this issue?.
The text was updated successfully, but these errors were encountered: