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
-
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.4193msAny idea of what's generating this?
Regards,
Marc
-
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.
-
@atripp Indeed, this is our test site, therefore no license
-
Just to confirm, on your test site, is it a brand new BuildMaster database also?
Thanks,
Rich
-
No, we are connecting to an existing database. The idea is to migrate from Windows to OpenShift
-
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
-
The email is sent
-
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
-
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
-
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!
-
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