Liferay DXPからMarketplaceにログインしようとするとOAuthエラーが発生する

問題

  • 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分以上になると、このエラーになることもある。

追加情報

この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています