Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
4
Help us understand the problem. What is going on with this article?
@dorachan

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

More than 1 year has passed since last update.

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!"
4
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
dorachan

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
4
Help us understand the problem. What is going on with this article?