Legacy Knowledge Base
公開されました Jul. 2, 2025

Liferay アプリ画面経由でログインすると HTTP 500 エラーが発生する

Written By

Alfonso Crisci

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • ユーザーは、 Liferay Screens for Androidの Liferay DXP で認証できない場合があります。 Web サーバーのログに次のエラーが記録される場合があります。
    POST /c/portal/login HTTP/1.1" 500 
    また、モバイル デバイスには次のように表示される場合があります。
    Cookie invalid or empty

Environment

  • Liferay DXP 7.0+
  • Liferay Screens

解決策

a) ログインモード cookieを使用している場合:

  1. アプリケーション サーバーを停止する
  2. この行を portal-ext.properties ファイルに追加します: auth.token.ignore.origins=com.liferay.portal.action.LoginAction
  3. アプリケーション サーバーを起動する
  4. コントロール パネル > 構成 > アクセス "サーバー アクセス ポリシー" に移動します。
  5. SYSTEM_USER_PASSWORD を無効にして、[保存] をクリックします。
  6. SYSTEM_USER_PASSWORD を再度有効にして保存する

b) ログインモード oauth2を使用している場合:

  1. コントロール パネル > 構成 > アクセス "サーバー アクセス ポリシー" に移動します。
  2. SYSTEM_USER_PASSWORD を無効にして、[保存] をクリックします。
  3. SYSTEM_USER_PASSWORD を再度有効にして保存する
  4. すべてのポータル インスタンスに対して操作を繰り返します

Did this article resolve your issue ?

Legacy Knowledge Base