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!

    ProGet encryption key decryption failure

    Scheduled Pinned Locked Moved Support
    7 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.
    • S Offline
      sneh.patel_0294
      last edited by

      Hello,

      We currently use Windows servers for our ProGet cluster. We tried to add another node to our cluster by installing ProGet on it and copying the same configurations as the other nodes (i.e. DB connection string, encryption key, etc). However, when we did that we noticed that the new node had the following error:

      0c8de33e-5ba1-4fbc-8eb3-bb231a3ac25b-image.png

      This resulted in instability for our ProGet app (many 403 errors and clicking buttons would result in the login page). We have disabled the node for now. What could the issue be? We have checked everything including the ProGet.config files and they are the same across all nodes. We also checked the permissions for those files and they are also consistent.

      stevedennisS 1 Reply Last reply Reply Quote 0
      • stevedennisS Offline
        stevedennis inedo-engineer @sneh.patel_0294
        last edited by

        Hi @sneh-patel_0294 ,

        This message means that the decryption keys across machines are different, which result in exactly the behavior you describe (403s, logouts):
        https://docs.inedo.com/docs/installation/configuration-files

        I know you mentioned you already checked, so there's likely a typo, miscopy, looking at the wrong folder, etc. Note that the folder is %PROGRAMDATA%\Inedo\SharedConfig\ProGet.config, as opposed to C:\ProgramData\Inedo\... - on some machines, the program data folder is stored in a different location.

        I would also make sure to restart the service/web as well. To test, you can try loading that tpage on all nodes and you should not see "Encryption key decryption failure" when refreshing the nodes.

        Hope that helps,
        Steve

        1 Reply Last reply Reply Quote 0
        • S Offline
          sneh.patel_0294
          last edited by

          "I would also make sure to restart the service/web as well. To test, you can try loading that tpage on all nodes and you should not see "Encryption key decryption failure" when refreshing the nodes."

          Hi, thank you for your response. How do you do the above?

          stevedennisS 1 Reply Last reply Reply Quote 0
          • stevedennisS Offline
            stevedennis inedo-engineer @sneh.patel_0294
            last edited by

            @sneh-patel_0294 to restart the services, you can do so from the Inedo Hub or the Windows Services (look for INEDOPROGETSVC and INEDOPROGETWEBSVC). If you're still using IIS, make sure to restart the app pool as well

            1 Reply Last reply Reply Quote 0
            • S Offline
              sneh.patel_0294
              last edited by

              Sorry, I meant for "To test, you can try loading that tpage on all nodes and you should not see "Encryption key decryption failure" when refreshing the nodes."

              How do you do this?

              1 Reply Last reply Reply Quote 0
              • stevedennisS Offline
                stevedennis inedo-engineer
                last edited by

                Hi @sneh-patel_0294 ,

                What I mean is, in your browser, open multiple tabs -- one for /administration/cluster on each node in the cluster, bypassing the load balancer. All nodes should show "green" for that.

                The one that shows "red" still has the wrong encryption key. Modify the encryption key, and restart the servicies, and reload the tab, and it should work fine.

                Thanks,
                Steve

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sneh.patel_0294
                  last edited by

                  Thanks! I think the restart of IIS App Pool might have helped. I don't see that failure anymore.

                  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