Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. scusson_9923
    3. Posts

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    S Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 63
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Working Rafts_CreateOrUpdateRaftItem example for Otter

      Hi,
      When I try your example, I get the error 'Invalid value for "Content_Bytes": Invalid cast from 'System.String' to 'Inedo.Data.VarBinaryInput''.

      Also, when I add a text file under Scripts, in my case .yml, it gets added as binary. I can't see a way to change this.

      Thanks,
      Scott

      posted in Support
      S
      scusson_9923
    • RE: Working Rafts_CreateOrUpdateRaftItem example for Otter

      @atripp Hi Alana. Thanks! I'll try it out.

      posted in Support
      S
      scusson_9923
    • Working Rafts_CreateOrUpdateRaftItem example for Otter

      Hi,

      Since Otter does not have a native api to upload a script, can we get a working example for Rafts_CreateOrUpdateRaftItem to perform this action to a subfolder? Our goal is to have an automated job push a script upon success.

      Thanks,
      Scott

      posted in Support otter
      S
      scusson_9923
    • RE: Getting HTTP 500.30 ASP.NET Core error when launching local IIS ProGet website connecting to a remote DB

      Hi,

      Just to update this issue. I ended up having to remove, clean up, and reinstall IIS\ProGet. After that, the default ProGet instance loaded successfully. Thanks for all of your input.

      Scott

      posted in Support
      S
      scusson_9923
    • RE: Getting HTTP 500.30 ASP.NET Core error when launching local IIS ProGet website connecting to a remote DB

      Hi Alana,

      Yes. Local connection was successful. I am in the process of setting up 2 web instances. I was able to resolve this issue after I noticed that a couple of SQL Server services on the DB server were installed as disabled by default (browser\agent). However, I am having issues when setting up the second instance. When I try to load the ProGet website, I get a "HTTP Error 503. The service is unavailable." message in the browser and in the Event Viewer I see: "The Module DLL C:\Windows\system32\inetsrv\aspnetcore.dll failed to load. The data is the error." This machine may be in a bad state as this seems to be a red herring. I'm tempted to have this machine rebuilt unless you have additional pointers :)

      Thanks!
      Scott

      posted in Support
      S
      scusson_9923
    • Getting HTTP 500.30 ASP.NET Core error when launching local IIS ProGet website connecting to a remote DB

      Hi,

      I am trying to connect a local 2022.11 IIS ProGet instance to a remote MSSQL express ProGet DB. The remote ProGet DB, local website, App Pool, and service are all running as the same user. That user is also the owner of the ProGet DB. I can successfully connect to the remote ProGet DB with SS Management Studio. I use the connection string 'Data Source=<DB_Server>\Inedo;Initial Catalog=ProGet;Integrated Security=True' when trying to load the local ProGet website and I get the error 'HTTP Error 500.30 - ASP.NET Core app failed to start' with no entries in the Event Viewer.

      Thoughts?

      Thanks,
      Scott

      posted in Support
      S
      scusson_9923
    • RE: User with permissions Publish permissions is denied

      Thank you. I will do that.

      posted in Support
      S
      scusson_9923
    • RE: User with permissions Publish permissions is denied

      Hi,

      I reset the cache on all nodes and updated to 2022.8 (planned update). I have a user that continues to exhibit this behavior. Is there something he can try on his end?

      Thanks,
      Scott

      posted in Support
      S
      scusson_9923
    • RE: User with permissions Publish permissions is denied

      Hi,

      Thank for you for the quick reply! I'll try that.

      Scott

      posted in Support
      S
      scusson_9923
    • RE: User with permissions Publish permissions is denied

      @NanciCalo said in User with permissions Publish permissions is denied:

      "Invalidate Cache button" as something for us to try to get in :)

      Hi,

      We recently started getting this and the "Clear Cache" option does not seem to resolve our issue.  Any other options (other than setting Web.PrivilegeCacheExpiration)?
      

      Thanks,
      Scott

      posted in Support
      S
      scusson_9923
    • RE: Support for hybrid SAML and Local User Authentication

      Good news! Thanks!

      posted in Support
      S
      scusson_9923
    • RE: Support for hybrid SAML and Local User Authentication

      Hi,
      We are looking to enable SAML in the near future and wondering where this issue stands? We need to keep our apikey access unchanged and allow for local logins.

      Thanks,
      Scott

      posted in Support
      S
      scusson_9923
    • RE: How to create an Asset Directory subfolder via the API

      @rhessinger Hi Rich,

      Works perfectly now.
      

      Thanks!

      Scott

      posted in Support
      S
      scusson_9923
    • RE: How to create an Asset Directory subfolder via the API

      @scusson_9923Hi Rich,

      if I just use -X I get the return:
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">

      <HTML><HEAD><TITLE>Length Required</TITLE>
      <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
      <BODY><h2>Length Required</h2>
      <hr><p>HTTP Error 411. The request must be chunked or have a content length.</p>
      </BODY></HTML>

      We plan on adding this in an automated build scenario, so there is a good chance we'll be using this regularly.

      Thanks,
      Scott

      posted in Support
      S
      scusson_9923
    • RE: How to create an Asset Directory subfolder via the API

      @rhessinger Hi Rich,

      Thanks! Adding the /dir/ worked. I still get the "curl: (6) Could not resolve host: POST" error on Windows. Linux is "curl: (6) Could not resolve host: POST; Unknown error". Can your online documentation be updated with the full command?

      curl -d -X POST https://<ProGet_server>/endpoints/<asset_dir>/dir/<new_dir>/ --user <usename>:<password>

      Thanks again,
      Scott

      posted in Support
      S
      scusson_9923
    • RE: How to create an Asset Directory subfolder via the API

      Hi,

      A little more info. Looking at the IIS log, I see:

      2021-12-03 19:39:41 <ProGet_ClusterIP>7 POST /endpoints/<asset_dir>/<new_dir>/ - 443 - <Machine_IP>> curl/7.55.1 - 200 0 0 78

      So we know it hits the ProGet server and returns success from IIS. Just very confused on "curl: (6) Could not resolve host: POST" from curl.

      Thanks,
      Scott

      posted in Support
      S
      scusson_9923
    • RE: How to create an Asset Directory subfolder via the API

      @Dan_Woolf Hi Dan,

      When I add -X, I get:

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
      <HTML><HEAD><TITLE>Length Required</TITLE>
      <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
      <BODY><h2>Length Required</h2>
      <hr><p>HTTP Error 411. The request must be chunked or have a content length.</p>
      </BODY></HTML>

      when I use -d -X, I get:

      curl: (6) Could not resolve host: POST

      If it helps, our environment is load balanced with 3 web nodes.

      Thanks,
      Scott

      posted in Support
      S
      scusson_9923
    • How to create an Asset Directory subfolder via the API

      Hi,

      I am trying to follow the section "Create Directory Endpoint" on https://docs.inedo.com/docs/proget-reference-api-asset-directories-api and I am unable to create a subfolder with the following command:
      

      curl POST https://<ProGet_server>/endpoints/<asset_dir>/<new_dir>/ --user <user>:<password>

      I get "curl: (6) Could not resolve host: POST"

      Can the online documentation be updated to give a full example instead of "POST .../dir/«path»"

      Thanks,
      Scott

      posted in Support
      S
      scusson_9923
    • RE: Clair integration with ProGet results in 'BadRequest for layer sha256' warnings in VulnerabilityDownloader job

      Hi Rich,

      I created an API key with full access and still get wget: server returned error: HTTP/1.1 403 Forbidden.

      When I place the same link in my local browser, I get:
      The specified API key does not permit access to the Docker Blob Reader API.

      In the Access Key Log:
      /api/docker-blobs/download/sha256:f033c4f65cdbf0bfa21d5543e56c0c41645eca4d893494bb4f0661b0f19ccc79?API_Key=<apikey>
      Response code: 403

      As a test, I used wget to download a file from an Assets directory inside the Clair container successfully.

      Thanks,
      Scott

      posted in Support
      S
      scusson_9923
    • RE: Clair integration with ProGet results in 'BadRequest for layer sha256' warnings in VulnerabilityDownloader job

      Hi,

      I get 'wget: server returned error: HTTP/1.1 403 Forbidden'

      When I try curl with a ProGet user\password, I get 'An API key is required to download Docker blobs.'

      I saw the API key in the previous logs (container without -insecure-tls), but not now.

      Thanks,
      Scott

      posted in Support
      S
      scusson_9923
    • 1 / 1