LibraryManager
LibraryManager copied to clipboard
libman: library could not be resolved by 'cdnjs' provider AGAIN
Describe the bug
Some time ago I got the problem: https://github.com/aspnet/LibraryManager/issues/699
After some actions I received required libs and all was OK, but - in one time I have to add NEW one lib and was surprised that received same error.
I'll checked another libs:
- Some libs - could not be resolved by message
- Some libs - does not show any autocomplete list during typing the name of lib.
- Some libs - libman shows lib folder and files, but cannot download FULL array of files (start download, but breaks on some file and fail the process of installation whole lib)
To Reproduce
Steps to reproduce the behavior:
-
I'm using Visual Studio 2022 latest RELEASED version Win10 Pro latest updates and TLS settings:
-
libman --version: 2.1.175+29a28921bd.RR
-
totally clean cache of the libman
-
Create new Asp.net project and try to get some libs - for me it is enough to reproduce problem.
Expected behavior
- Would be nice to have valid behavior, when all libs/.autocompletes are shown and libs successfully installs
- Would be nice to have VALID message error - which exists in InternalException: "SSL/TLS problem" instead of general "cdnjs could not resolve..." or "lib load failed.."
- Would be nice to have combobox in this dialog or command parameter, which allows to set TLS 1.2 via command line parameters.
Additional context
I started to investigate and TADAM! Problem in security certificates AGAIN! So it is from minor-middle bug, should increase priority and fixed in result, I guess. I don't know why forced set options to TLS 1.2 doesn't work anymore (this helped in past) - may be after installing latest Win10 updates. But in current moment I could take NEW libs ONLY via libman Debug + dependent VS opened solution with this row.
I downloaded libman codes, started it and found that:
- Error raises in the Row#49 - GetStreamAsync - failed.
- Process works fine if Row#59 is added (whole row is added by me).
I UNDERLINE: that ALL 3 problems of the
- not showing libs,
- autocomplete missed
- unsuccessful downloading of the lib files set
are WORKED FINE for me if Row#59 exists. So would be nice to have option to force switching it on.