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!

    BuildMaster on openshift: Too many redirect

    Scheduled Pinned Locked Moved Support
    11 Posts 3 Posters 28 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.
    • M Offline
      marc.ledent_9164
      last edited by

      Hi,

      While trying to install buildmaster on openshift (docker), I have an infinite loop generating a "Too many redirect" on the browser. Here is the logfile content:

      info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://buildmaster-test.mylocaldomain/ - -
      info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 GET http://buildmaster-test.mylocaldomain/ - - - 302 0 - 1.4958ms
      info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://buildmaster-test.mylocaldomain/administration/licensing - -
      info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 GET http://buildmaster-test.mylocaldomain/administration/licensing - - - 302 0 - 94.5217ms
      info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://buildmaster-test.mylocaldomain/administration/licensing - -
      info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 GET http://buildmaster-test.mylocaldomain/administration/licensing - - - 302 0 - 1.0212ms
      info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://buildmaster-test.mylocaldomain/administration/licensing - -
      info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 GET http://buildmaster-test.mylocaldomain/administration/licensing - - - 302 0 - 12.4024ms
      info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://buildmaster-test.mylocaldomain/administration/licensing - -
      info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 GET http://buildmaster-test.mylocaldomain/administration/licensing - - - 302 0 - 9.4193ms

      Any idea of what's generating this?

      Regards,
      Marc

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @marc.ledent_9164
        last edited by

        Hi @marc-ledent_9164 ,

        We're currently investigating this.

        FYI: Based on the URL, I think that there is not a valid license... which would make sense if you just set up the instance. No license will trigger an automatic redirect to /administration/licensing to address the license. However, that page is marked is "no license required"... so it shouldn't be redirecting.

        Please stay tuned.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          marc.ledent_9164 @atripp
          last edited by

          @atripp Indeed, this is our test site, therefore no license

          1 Reply Last reply Reply Quote 0
          • rhessingerR Offline
            rhessinger inedo-engineer
            last edited by

            Hi @marc-ledent_9164,

            Just to confirm, on your test site, is it a brand new BuildMaster database also?

            Thanks,
            Rich

            Products Engineer, Inedo

            1 Reply Last reply Reply Quote 0
            • M Offline
              marc.ledent_9164
              last edited by marc.ledent_9164

              No, we are connecting to an existing database. The idea is to migrate from Windows to OpenShift

              1 Reply Last reply Reply Quote 0
              • rhessingerR Offline
                rhessinger inedo-engineer
                last edited by

                Hi @marc-ledent_9164,

                Would you be able to send me over the contents of your Configuration table on your BuildMaster database? I'm having trouble recreating this and I'm guessing it has to do with one or more of those settings. You can send it to support@inedo.com and include [QA-723] in the subject. I will keep an eye out for it that way and review it.

                Thanks,
                Rich

                Products Engineer, Inedo

                1 Reply Last reply Reply Quote 0
                • M Offline
                  marc.ledent_9164
                  last edited by

                  The email is sent

                  1 Reply Last reply Reply Quote 0
                  • rhessingerR Offline
                    rhessinger inedo-engineer
                    last edited by

                    Hi @marc-ledent_9164,

                    Thanks! I have received it. I'm going to look it over and test a few more cases and get back to you shortly.

                    Thanks,
                    Rich

                    Products Engineer, Inedo

                    1 Reply Last reply Reply Quote 0
                    • rhessingerR Offline
                      rhessinger inedo-engineer
                      last edited by

                      Hi @marc-ledent_9164,

                      So far, I'm unable to recreate this issue. Do you have a reverse-proxy (like nginx, apache, traefik, etc...) in front of it? If so, can you try to bypass that and see if the issue still happens?

                      Thanks,
                      Rich

                      Products Engineer, Inedo

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        marc.ledent_9164
                        last edited by

                        Got it!

                        The problem was that the option Onboarding.Hide...HomePage is set to "true", but the licence key was not validated (we changed from Windows to Docker version), and my docker has no internet connection, so a manual validation was required.

                        Therefore, forcing the value of the config key to "false" permits to access the interface to validate the license key.

                        Solved!

                        1 Reply Last reply Reply Quote 0
                        • rhessingerR Offline
                          rhessinger inedo-engineer
                          last edited by

                          Hi @marc-ledent_9164,

                          Ah, thanks for the extra details here. I was finally able to recreate this issue. I'm tracking the fix in BM-3770 which is expected to release in the next version of BuildMaster, which is due out this week.

                          Thanks,
                          Rich

                          Products Engineer, Inedo

                          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