On Wed, Jun 29, 2016 at 4:42 PM, Ralf Schenk <rs@databay.de> wrote:



Am 29.06.2016 um 14:35 schrieb Yedidyah Bar David:
On Wed, Jun 29, 2016 at 3:28 PM, Ralf Schenk <rs@databay.de> wrote:



Am 29.06.2016 um 13:58 schrieb Yedidyah Bar David:
On Wed, Jun 29, 2016 at 12:50 PM, Ralf Schenk <rs@databay.de> wrote:

Hello,

i upgraded hosted engine 3.6.6 to 4.0. Now I can't access the Web-UI:

If I access the UI via https://engine-mciii.rxmgmt.databay.de I get the Error-Page "The client is not authorized to request an authorization. It's required to access the system using FQDN."

I used the same FQDN during setup and even in the Upgrade Process this was used according to "Configuration Preview" below:

What can I do to get UI working ? Do I have a problem with case sensistivity ? (The triple-"I" in the FQDN) ?


          --== CONFIGURATION PREVIEW ==--

          Default SAN wipe after delete           : False
          Firewall manager                        : firewalld
          Update Firewall                         : False
          Host FQDN                               : engine-mcIII.rxmgmt.databay.de


Since you input it with capital I's, that's what the server expects.
Most likely your browser converts it to lowercase.

For now, I suggest to cleanup and setup again with lowercase letters only.

You might also open one or more bugs about this:

1. engine-setup should require lower-case letters only. Not sure about that.
Perhaps it should at least warn.

2. The engine should convert to lowercase before comparing, when deciding if
the fqdn is correct.

For reference:

FQDNs _can_ be both lowercase and uppercase (and mixed case), but are
case _insensitive_. Meaning, software that has to decide if two names
are equal has to ignore case-only differences.

However, it seems that when your browser converts to lowercase, it's
doing the right thing. Didn't check myself all the links in the
conclusion of [1], but that's what it implies.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1059169

Best,



Hello,

I know that FQDNs are cas insensitive. I only used the name because its a Roman Number 3 "III". It was only for better visibility/readability.

Nevertheless the string-comparison in engine should be done case-insensitive.

Did you open a bug about that?



Hello,

reported as: https://bugzilla.redhat.com/show_bug.cgi?id=1351217

Thanks!
 

Bye

--


Ralf Schenk
fon +49 (0) 24 05 / 40 83 70
fax +49 (0) 24 05 / 40 83 759
mail rs@databay.de
 
Databay AG
Jens-Otto-Krag-Straße 11
D-52146 Würselen
www.databay.de

Sitz/Amtsgericht Aachen • HRB:8437 • USt-IdNr.: DE 210844202
Vorstand: Ralf Schenk, Dipl.-Ing. Jens Conze, Aresch Yavari, Dipl.-Kfm. Philipp Hermanns
Aufsichtsratsvorsitzender: Wilhelm Dohmen




--
Didi