From sonicaaaa at gmail.com Wed Jul 1 04:07:40 2015
Content-Type: multipart/mixed; boundary="===============5780203358610292452=="
MIME-Version: 1.0
From: Paolo Antinori
To: keycloak-user at lists.jboss.org
Subject: [keycloak-user] problem with keycloak on openshift
Date: Wed, 01 Jul 2015 10:07:20 +0200
Message-ID:
--===============5780203358610292452==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Hi guys, I have deployed an instance of keycloak on openshift
following the steps described here:
https://github.com/keycloak/openshift-keycloak-cartridge
The operation apparently went ok and I have been able to login to the
instance and see kc administrative interface.
Problem is that after a while, I am no longer able to login to the
instance. Not even if I restart it.
This is the error I see when trying:
Bad Request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.
X-Forwarded-Host
/n
And I get that with both ffox and chromium on linux
this from curl:
$ curl -L -v https://kc-paolo.rhcloud.com/
* Trying 54.89.206.14...
* Connected to kc-paolo.rhcloud.com (54.89.206.14) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* SSL connection using TLS_DHE_RSA_WITH_AES_256_CBC_SHA256
* Server certificate:
* subject: CN=3D*.rhcloud.com,O=3DRed Hat Inc.,L=3DRaleigh,ST=3DNorth C=
arolina,C=3DUS
* start date: Apr 07 00:00:00 2015 GMT
* expire date: Apr 11 12:00:00 2018 GMT
* common name: *.rhcloud.com
* issuer: CN=3DDigiCert SHA2 High Assurance Server
CA,OU=3Dwww.digicert.com,O=3DDigiCert Inc,C=3DUS
> GET / HTTP/1.1
> User-Agent: curl/7.40.0
> Host: kc-paolo.rhcloud.com
> Accept: */*
>
< HTTP/1.1 400 Bad Request
< Date: Wed, 01 Jul 2015 08:06:46 GMT
< Server: Apache/2.2.15 (Red Hat)
< Content-Length: 392
< Content-Type: text/html; charset=3Diso-8859-1
< Connection: close
<
400 Bad Request
Bad Request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.
X-Forwarded-Host
/n
Apache/2.2.15 (Red Hat) Server at localhost Port 80
* Closing connection 0
any idea about what's wrong?
thank you
paolo
--===============5780203358610292452==--