問題
- Liferay DXPからMarketplaceにログインしようとしている(コントロールパネル > Marketplace > Purchased or Store)
- 以下のOAuth Exceptionが発生します:
ERROR [http-nio-8080-exec-6][PortletServlet:118] Unable to process portlet com_liferay_marketplace_store_web_portlet_MarketplacePurchasedPortlet: org.scribe.exceptions.OAuthException: Response body is incorrect. Can't extract token and secret from this: 'oauth_problem=timestamp_refused&oauth_acceptable_timestamps=1688902758-1688903358'
javax.portlet.PortletException: org.scribe.exceptions.OAuthException: Response body is incorrect. Can't extract token and secret from this: 'oauth_problem=timestamp_refused&oauth_acceptable_timestamps=1688902758-1688903358'
at com.liferay.portal.kernel.portlet.LiferayPortlet.callActionMethod(LiferayPortlet.java:200) ~[portal-kernel.jar:?]
環境
- Liferay DXP 7.0+
解決策
- タイムゾーンはJVMレベルでGMTに設定する必要がある。
- サーバーの時間が正確であることを確認してください。 正確な時間とのズレが2分以上になると、このエラーになることもある。
追加情報
会員限定記事
Liferay エンタープライズ サブスクリプションをお持ちのお客様は1500件を超えるベストプラクティス、トラブルシューティング、その他のソリューション記事を閲覧できます。ログインすると、記事全体をお読みいただけます。
ログイン