legacy-knowledge-base
公開されました Sep. 10, 2025

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

written-by

Tímea Bihari

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

learn-legacy-article-disclaimer-text

問題

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

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base