LoginSignup
10
4

More than 5 years have passed since last update.

Keycloak を日本語にすると SPDY_PROTOCOL_ERROR が出る

Last updated at Posted at 2019-02-11

KeycloakのUIを日本語にするとエラーが出る

  • Keycloakを冗長構成で動かしてみる を参考にAWSにセットアップ
  • EC2 + RDS + ALB の構成
  • UI言語を日本語やトルコ語にすると SPDY_PROTOCOL_ERROR が出る
  • localhostでは動く
  • バージョンは 4.8.3.Final

原因

  • localhost起動のサーバヘッダを確認
  • P3P ヘッダが文字化けしている image.png

対策

  • P3P ヘッダを出力するところで適切にエンコードすべきではある
  • 暫定対策として日本語での出力を止める
  • messages_ja.properties

before

p3pPolicy=CP="これはP3Pポリシーではありません!"

after

p3pPolicy=CP="This is not a P3P policy!"
10
4
5

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
4