Posts made by rhessinger
-
RE: ProGet can't download Rust Crates where the name is 3 letters long or shorterposted in Support
Hi @kc_2466,
Thanks for submitting this to us. It looks like there is an issue with packages with 3 or less characters that may fail to download. I created ticket, PG-2886, which will release this Friday (February 3rd, 2025), that will contain the fix for this.
I also want to note that version 2.8.0 of syn does not exist on crates.io, so I verified using syn 2.0.8.
Thanks,
Rich -
RE: Error getting npm package versions: The JSON value could not be converted to System.DateTime ...posted in Support
I have been able to recreate the issue and created a ticket, PG-2870, to track the fix. We expect this to release in ProGet 2024.25 on January 24, 2025. This looks to be related to the package name existing on npmjs.org with all versions being unlisted. If you need a fix sooner, we can provide a pre-release version of ProGet 2024.25 that includes the fix.
Thanks,
Rich -
RE: Error getting npm package versions: The JSON value could not be converted to System.DateTime ...posted in Support
Thanks for sending these over. Let me do some investigation on these and I'll get back to you soon.
As for the latest version of the image, we are now on 2024.24. We ran into a replication issue with universal packages in 2024.23 and had to release 2024.24 on Monday.
Thanks,
Rich -
RE: Error getting npm package versions: The JSON value could not be converted to System.DateTime ...posted in Support
Hi @jeff-peirson_4344 ,
For the issue with upack, can you please submit a new forums post for that? So far this post has been about npm and I don't want this issue to get lost.
Thanks,
Rich -
RE: Error getting npm package versions: The JSON value could not be converted to System.DateTime ...posted in Support
Can you please share the npm package you are having issues with?
Thanks,
Rich -
RE: Error getting npm package versions: The JSON value could not be converted to System.DateTime ...posted in Support
This is a known issue that we will have fixed in tomorrow's release of ProGet, 2024.23. We are tracking the fix in ticket PG-2860.
Thanks,
Rich -
RE: Problem with SQL connection for Basic versionposted in Support
Does this error happen after ProGet has been running for a bit or is this the error you get as soon as you start ProGet preventing it from running at all? Can you please confirm which version of ProGet you are running and your SQL Server version? Also, is SQL Server running as part of your Docker Compose setup as well?
Thanks,
Rich -
RE: pgutil: PackageLockOnly for npm projectsposted in Support
Hi @caterina,
No problem, thanks for getting back to us. We have an upcoming release of pgutil that will include this flag. We also have improved this command a bit by allowing you to use the working directory which will search for the right files instead of
--inputhaving to specify the path to the file (although you still can). It will now also automatically audit the scan directly after, you can use--noauditto skip the audit. We should have those updates pushed this week.Thanks,
Rich -
RE: pgutil: PackageLockOnly for npm projectsposted in Support
Hi @caterina,
We are working to add this back, but the hold up has been trying to properly document this. Here is our thoughts, but wanted to get your feedback.
We are looking to change the parameter name to
--do-not-scan-node_moduleswith a command line description of:Do not scan the node_modules directory when scanning for package-lock.json files
What are your thoughts on this?
Thanks,
Rich -
RE: Inedo.ProGet on nuget.org is fairly outdatedposted in Support
Hi @jw,
I just pushed the latest version of Inedo.ProGet to NuGet.org. Please let us know if you have any issues using it.
Thanks,
Rich -
RE: pgutil usageposted in Support
Hi @caterina,
The fix in pgutil corrected the API to enure the proper parameter was passed to the SCA API. There looks to also be a regression on the ProGet side in the SCA API. I have created a ticket, PG-2805, which will be released next week on Friday Oct 4th that contains the fix. If you need the fix sooner, please let us know and we can get a pre-release build out for you.
Thanks,
Rich -
RE: ProGet SCA - Support for CycloneDX Spec Version 1.5posted in Support
Hi @jw,
I have added this to our ProGet 2025 roadmap. If there is a more immediate need for this, please let us know and I can discuss this with the products team.
Thanks,
Rich -
RE: Proget reports no issues but npm audit sees high severity vulnerabilityposted in Support
Hi @v-makkenze_6348,
I was able to identify the issue, PG-2778, and will have this fixed in the next maintenance release of ProGet.
Thanks,
Rich -
RE: Proget reports no issues but npm audit sees high severity vulnerabilityposted in Support
Hi @v-makkenze_6348,
Thanks for bringing this to our attention. I need to dig a bit deeper into this, I should have an update for you by tomorrow.
Thanks,
Rich -
RE: Entra ID SSO errorposted in Support
Hi @j-d-koning_0111,
Just wanted to check in if PG-2738 fixed your issue. We have also been working with another customer that has had similar issues. We determined this was related to setting to Map groups to SAML groups setting. If you have this enabled and do not have any groups claims sent, it was causing the error you saw above. This last issue, PG-2745, will be released in the next maintenance release. As a work around, make sure you have your SAML provider configured to send groups claims.
Thanks,
Rich -
RE: Entra ID SSO errorposted in Support
Hi @j-d-koning_0111,
I did some more testing and found another scenario where this could error, it's less common, but I'm guessing that is what is happening to you. In certain situations, an authentication cookie may be created for a new SAML user before the user was added to the system. This also would cause subsequent attempts to fail because the cookie was preventing the updated SAML logic from running. This issue has been fixed in PG-2738, which will be released on Friday.
Also, is your ProGet instance running in Docker or Windows?
Thanks,
Rich -
RE: ProGet: UI 403 errorsposted in Support
Hi @jw,
Thanks for sending this over. I created PG-2731 to track the fix. It should be out within the next two maintenance releases of ProGet.
Thanks,
Rich -
RE: Entra ID SSO errorposted in Support
Hi @j-d-koning_0111,
I just wanted to let you know that this fix released this past Friday.
Thanks,
Rich -
RE: Entra ID SSO errorposted in Support
Hi @j-d-koning_0111,
We had another ticket that came in with a similar issue. It looks like that error will happen when the SAML response does not include an email or a display name. We have a fix, PG-2727, that will be released on Friday in ProGet 2024.9.
Thanks,
Rich -
RE: Entra ID SSO errorposted in Support
Hi @j-d-koning_0111,
Thanks for that information. Which user directories do you currently have enabled in your instance? I'm wondering if the user is being found in another user directory and that might be cauising this issue. Unfortunately, I'm unable to recreate this error in testing.
In addition to the other user directories you have enabled, are you able to provide me the steps you took to setup your SAML integration?
Thanks,
Rich -
RE: Entra ID SSO errorposted in Support
Hi @j-d-koning_0111,
I received your email and took a look. It looks like everything is working on the SAML translation side. It was able to properly parse the SAML response. So that leads me to believe that it is happening while attempting to login. Do you see the SAML user show up in your Built-In users?
Also, when trying to log in, do you see that error in the diagnostics center in ProGet? I'm wondering if we can see a stack trace for that error to help narrow down what is causing the issue.
Thanks,
Rich -
RE: Entra ID SSO errorposted in Support
Hi @j-d-koning_0111,
This is most likely an issue with a claim configuration in Entra ID. The best way to start debugging this is use ProGet's SAML debug callback page (requires ProGet 2024.6 or later). That will allow us to see the SAML response that was sent back and the results of our parsing. To view this, you will need to update your SAML callback to be
http://<YOUR URL>/saml-acs-callback-debug. Once you set that and you attempt to login using SAML in ProGet, it will redirect you to the SAML Debug page that will show you all this information. Please note that with the debug callback enabled, you will not be able to log into ProGet with it, it will only show you the SAML information.Once you configure the debug page and navigate to it, can you send me the contents of that page? That will allow us to determine what exactly is causing the issue. For security reasons, you can send it to support@inedo.com with an email subject of
[QA-1597]. Just let us know once you have sent it and we will keep a look out.Thanks,
Rich -
RE: 'Inedo.ProGet.Web.Security.UserNotFoundException' on application startupposted in Support
No problem! Glad it is working. ProGet 2024.6 will include a fix for this issue, PG-2695. So hopefully this won't happen again!
Thanks,
Rich -
RE: 'Inedo.ProGet.Web.Security.UserNotFoundException' on application startupposted in Support
Hi @Darren-Gipson_6156 ,
I think I have finally recreated the issue. Can you please try something for me? Please configure integrated authentication following these steps:
- On the ProGet site in IIS, enable Anonymous authentication
- In ProGet, login as an administrator and navigate to Administration -> Manage Security and enable windows integrated authentication (do not worry about the warning about not seeing a login user).
- On the ProGet site in IIS, disable Anonymous Authentication and enable Windows Authentication
Once you do that, does windows authentication work?
It looks like there was a change in .NET 8.0 that automatically sets the User Principal on the HTTP Context to windows authentication name. By following the steps above, I was able to configure Windows Authentication in IIS to work around this issue.
Thanks,
Rich -
RE: 'Inedo.ProGet.Web.Security.UserNotFoundException' on application startupposted in Support
Thank you for getting back to me. I got your email and this is all very helpful! I think I see where the issue is occurring. As you noted, it looks to have to do with how we are converting the integrated authentication user to a user principal in the HTTP context. I'm going to need to dig into this a little bit, but I should have an update by mid-day tomorrow (I'm in the EST timezone). I'll let you know what I find.
While I'm diving into this. Can you try restarting IIS after you enable integrated authentication and try again? I just want to rule out security caching.
Thanks,
Rich -
RE: 'Inedo.ProGet.Web.Security.UserNotFoundException' on application startupposted in Support
Thanks for all that information. I'm sorry this is taking so long to figure out, but LDAP/AD and Integrated Windows Authentication are always difficult to track down.
Just a few notes on the query process.
- The NETBIOS mappings in the UI just help to speed up the LDAP query process because it removes the need to query for the NETBIOS mapping from the domain controller. If you leave that blank, it will search for the netbios mapping in the domain directly Line 418. With that said, it will then cache that result so it doesn't have to query each time.
- The
\5cyou are seeing is the LDAP library we use (System.DirectoryServices on Windows and Novell.Directory.Ldap.NETSTandard on Linux) encoding the username in the LDAP query. It shouldn't be searching fordomain\userin that query, so most likely there is a bug in part of that process.
Can you tell me what ProGet installation you are using (InedoHub or Docker) and which web server you are using (IIS or Integrated)?
One last thing, can you test a few things for me? This will help my pinpoint the issue further.
- With Integrated Windows Authentication disabled, can you verify you can login with the following usernames using the Login Page:
- Use
username@domain.com - Use
DOMAIN\username
- Use
- With Integrated Windows Authentication enabled, can you navigate to
http://yourprogetserver/debug/integrated-authand send the results? If you need to distort the usernames, can you please leave format visible?
If you do not feel comfortable posting the results of the debug page, you can email them to support@inedo.com with the subject
[QA-1565] Results.Thanks,
Rich -
RE: Conda Feed to SMB Shareposted in Support
Thanks for the additional information. We were able to recreate it and have a fix pending, PG-2639, that will be released this Friday in ProGet 2024.2.
-
RE: 3rd Party Repository Feed errorposted in Support
Thank you for all the extra detail. I was able to recreate this issue and fix it as part of, PG-2628. This fixed will be released this Friday in ProGet 2023.34 and 2024.1.
Thanks,
Rich -
RE: Errors in PackageAnalyzer logsposted in Support
Hi @v-makkenze_6348,
As @atripp stated in your other post, this is due to bad data. For that package exact;y, it was added with a NuGet quirks version that is 4 parts (most likely specified),
17.2.65.0, which is getting handled correctly to a 3 part version due to NuGet's API specs. We are still working out how best to handle these cases.Thanks,
Rich -
RE: Downgrade From 2024 - Assets Page - Unable to cast object of type 'System.Int32' to type 'System.Int64'posted in Support
Hi @arlymac_7956,
What version of ProGet did you have installed prior to upgrading to ProGet 2024 before you downgraded? I don't see any differences in the table schemas between ProGet 2023 and 2024, but I want to make sure I'm comparing to the correct schema.
Thanks,
Rich -
RE: NuGet no longer works after upgrading to 2024posted in Support
Hi @jw,
Yes we believe this is the same data issue. Our initial thoughts were that this only affected analysis, but it seems to be affecting the NuGet feed itself as well.
Thanks,
Rich -
RE: 3rd Party Repository Feed errorposted in Support
I have a feeling that there was a problem connecting to the third-party Maven index. Which third-party Maven index where you trying to connect to? Also, can you try creating a blank Maven feed and then add the connector to it and see if you can pull artifacts from it? This would help to point us in a direction of where the issue may exist.
Thanks,
Rich -
RE: 3rd Party Repository Feed errorposted in Support
This is not expected behavior. Can you please tell me which version of ProGet you are using?
Thanks,
Rich -
RE: Wrong debian apt documentation (web and app)posted in Support
Hi @daniel-scati ,
Thanks for catching that! I have updated the documentation.
Thanks,
Rich -
RE: Proget: Documentation of 2024 Projects Preview featureposted in Support
Hi @sebastian,
That option can be ignored. We have decided to remove that option from the feature because it was only something that changed a UI color and had no real affect on the operation. It looks like we missed it in that UI. We will remove that in an upcoming release of ProGet.
Thanks,
Rich -
RE: Proget: Documentation of 2024 Projects Preview featureposted in Support
Hi @sebastian,
Thanks for asking this. We will definitely explain this better in our docs prior to the launch of ProGet 2024. Basically, the concept of build stages was a way to track your project through it's build lifecycle. Since the scan needs to be performed against the source code, a build is typically added at you CI server's build stage. Then the version will be promoted between stages until it is released. During this process, there are typically multiple CI builds that are created and then rejected before going to release. ProGet's build stages give you the ability to automatically handle archiving old versions and determine at what stage an automated build analysis should create issues.
With all that said, you can customize these build stages by navigating to Reporting & SCA -> Projects and then hover over the multi-button in the upper right corner and select "Build Stages". From there, you can modify the settings for how builds are handled in each stage (scan for issues, number of active builds to keep, etc...) and create new build stages to match your CI/CD process.
ProGet includes 4 stages out of the box and they are configured to do the following by default:
- Build: Archive other builds except the latest 10.
- Integration: Archive other builds except the latest 3.
- Test: Archive other builds except the latest 3 and create issues for noncompliant packages.
- Production: Archive other builds except the latest 1 and create issues for noncompliant packages.
I hope this helps! Please let us know if you have any other questions.
Thanks,
Rich -
RE: ProGet SCA 2024 Preview Feedback - Error when trying to bulk delete projectsposted in Support
Hi @jw,
Thanks for letting us know about these. To answer your questions:
- This is an issue with the order of how we delete the projects and their child items. If you delete all the builds first, then the project can be deleted without issue. We will fix this as part of PG-2596 that will be released tomorrow in ProGet 2023.31.
- This is an oversight on our part. We will get delete buttons added to the Edit Project Settings and Edit Build Settings page also as part of PG-2596.
Thanks,
Rich -
RE: ProGet SCA - Support for CycloneDX Spec Version 1.5posted in Support
Hello @jw,
We are currently in the process of testing the change to include the updated CycloneDX Specs. It is expected to be released in ProGet 2023.31.
Thanks,
Rich -
RE: [BM] Preventing Build from deploying into further stage based on variableposted in Support
Hi @andy222,
To expand on this further. If you are looking for it to just skip the stage based on that variable and proceed to the next stage, then I would also suggests @philippe-camelio_3885 method of checking in OtterScript using the
$PipelinStageName. If you are looking to block going further in the pipeline and stopping at a specific step, I would suggest using the Pipeline Stage Requirements and setting a Require Variable automated check. That can block deployment to a stage unless a variable is set to a specific value.Thanks,
Rich -
RE: Incorrect packages count in Feeds pageposted in Support
Hello @daniel-scati,
Sorry for the delay in our response. We have recreated the issue and have a fix, PG-2582, ready and will be released in ProGet 2023.30.
Thanks,
Rich -
RE: ProGet feeds in different IIS App Poolsposted in Support
Hi @forbzie22_0253,
There is no way to split out each feed to have different app pools. The only way to accomplish that is to have multiple instances of ProGet where each instance has a different feed. That would require a separate license for each instance.
Thanks,
Rich -
RE: Multiple Proget instances and SQL DBposted in Support
Hi @forbzie22_0253,
Since these will be free editions of ProGet, each instance will need to have its own database. The only way to share a database would be to purchase an Enterprise edition license and configure ProGet to use High Availability.
Thanks,
Rich -
RE: Docker::Build-Image on Linux serverposted in Support
Hi @PhilipWhite,
The Repository Name field is actually the name of a Docker Repository Connection, not the Repository itself. To add a Docker Repository Connection:
- Navigate to your application -> Settings -> All Settings
- Click "add" to the right of the Connections heading
- Select Docker Repository
- Select the repository type and fill in the fields (note: if this is not a ProGet Docker Registry, use Generic Docker Repository and then your registry and name will go in the Repository Name field here)
Then take that resource name and add use that in the "
Repository name" field in theDocker::Buid-Imageoperation. Also if you only have one Docker Repository Connection, you can leave it blank and it will use the variable$DockerRepositoryby default, which is automatically set to your Docker Repository Connection.Hope this helps!
Thanks,
Rich -
RE: Possible to set Preload Enabled to true in IIS:EnSureSite?posted in Support
Hi @Justinvolved,
The easiest way to setup a test environment for this would be to setup an instance of Otter (free edition is fine). Then once you have checked out https://github.com/Inedo/inedox-windows and made your changes, you can package the extension using the Inedo Extension Packager. This is available as a .NET tool. You can then navigate to the extensions page and upload the extension file to Otter. You may need to modify the
AssemblyVersioninAssemblyInfo.csto a version newer than the installed version to get it to pick it up as the lastest. Alternatively, you can copy that extension file to theExtensions.ExtensionsPathand restart Otter to have it pick up as well.The command I typically run to package the extension is:
inedoxpack pack InedoExtension Windows.upack -o --build=DebugI run that command from the the solution file's directory.
Hope this helps! If you have any questions, please let me know.
Thanks,
Rich -
RE: Error when checking for Az powershell moduleposted in Support
Hi @Justinvolved,
Would you be able to send us the output of
Get-Module -ListAvailableon PowerShell 5.1? I would like to take a look and see if there is anything causing a parsing error in Otter. If it is not safe to post here, you can email it to support@inedo.com and prefix the subject with[QA-1405]and then comment back here when you have sent it.Thanks,
Rich -
RE: Scoped npm packages not listed in releasesposted in Support
Hi @sebastian & @caterina,
I'm sorry, I realized that after I sent the last response. I have already fixed it as part of ticket PG-2563 in ProGet 2023.28. That version is due out this Friday, but I can provide you with a pre-release version early if you want to fix this issue immediately.
Thanks,
Rich -
RE: Scoped npm packages not listed in releasesposted in Support
Hi @caterina,
I think I see what the issue is here. When it comes to the package purl for npm packages, the scope needs to be URI encoded. When it goes to parse the purl for scoped packages, it reads the
@in the scope as the character indicating a version and starts then fails to parse it as an invalid URI. I'll get a fix in pgscan to handle this shortly and reply back when I have an updated version.Thanks,
Rich