Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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!

    SCA page throws an exception for anonymous users

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 11 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      pg_user_8607
      last edited by pg_user_8607

      Hi there,

      i'm getting a 500 error page when calling the SCA page as anonymous user.

      Configuration:

      • Web.HideHomePageFromAnonymousUser = true
      • Some feeds are intentionally accessible to anonymous users

      The home page behaves as expected and redirects anonymous users to the login page.

      However, some URLs are still directly accessible anonymously (as expected), for example:

      • http://proget-test.some-corp-com/feeds

      Accessing the SCA page from there anonymously causes an application error:

      • http://proget-test.some-corp-com/sca
      An error occurred in the web application: Object reference not set to an instance of an object.
      
      URL: http://proget-test.some-corp-com/sca
      Referrer: (not set)
      User: (unknown)
      User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36 Edg/148.0.0.0
      IP Address: XX.XXX.XX.XX
      Stack trace:    at Inedo.ProGet.WebApplication.Pages.Sca.ScaOverviewPage.Inedo.ProGet.WebApplication.IPrivilegesValidator.ValidatePrivileges() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E655333\Src\src\ProGet\WebApplication\Pages\Sca\ScaOverviewPage.cs:line 185
         at Inedo.ProGet.WebApplication.ProGetHttpModule.ValidatePrivileges(AhHttpApplication app, IHttpAsyncHandler handler) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E655333\Src\src\ProGet\WebApplication\ProGetHttpModule.cs:line 434
         at Inedo.ProGet.WebApplication.ProGetHttpModule.PostMapRequestHandlerAsync(AhHttpApplication app) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E655333\Src\src\ProGet\WebApplication\ProGetHttpModule.cs:line 406
         at Inedo.Web.AhWebMiddleware.InvokeAsync(HttpContext context)
      
      ::Web Error on 06/01/2026 15:51:49::
      

      Version info:

      Connection String: 
      Web UI Version: 2026.2 (Build 16)
      Database Schema Version: 26.0.2.16
      SQL Server Version: PostgreSQL 17.7 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit
      db_owner: True
      Database Name: proget
      Database Collation: C (UTF8)
      Database Recovery Model: Default (1)
      Database Read Committed Snapshot: True
      Database Auto Update Stats: True
      
      1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer
        last edited by

        Hi @pg_user_8607 ,

        Thanks for the bug report; this will be fixed via PG-3296 in the next maintenance release (scheduled next Friday). It was a problem in the redirect to the /log-in page, so of course if you log-in first, the error will not occur.

        Cheers,
        Alana

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation