com.atlassian.applinks.api.CredentialsRequiredException: You do not have an authorized access token for the remote resource.

Atlassian JIRA | Don Willis <DO NOT USE> | 5 years ago
  1. 0

    Not sure exactly what causes this but it happens a bit on EAC's logs: {noformat} -- url: /dashboard.action | userName: esnyder | referer: https://extranet.atlassian.com/dosearchsite.action?quickSearch=true&searchQuery.queryString= com.atlassian.applinks.api.CredentialsRequiredException: You do not have an authorized access token for the remote resource. at com.atlassian.applinks.core.auth.oauth.OAuthRequestFactoryImpl.retrieveConsumerToken(OAuthRequestFactoryImpl.java:81) at com.atlassian.applinks.core.auth.oauth.OAuthRequestFactoryImpl.createRequest(OAuthRequestFactoryImpl.java:72) at com.atlassian.applinks.core.auth.ApplicationLinkRequestFactoryFactoryImpl$AbsoluteURLRequestFactory.createRequest(ApplicationLinkRequestFactoryFactoryImpl.java:151) at com.atlassian.confluence.extra.calendar3.calendarstore.DefaultJiraAccessor.getProjects(DefaultJiraAccessor.java:74) at com.atlassian.confluence.extra.calendar3.calendarstore.JiraCalendarDataStore.fromStorageFormat(JiraCalendarDataStore.java:172) at com.atlassian.confluence.extra.calendar3.calendarstore.JiraCalendarDataStore.fromStorageFormat(JiraCalendarDataStore.java:79) at com.atlassian.confluence.extra.calendar3.calendarstore.AbstractCalendarDataStore.getSubCalendar(AbstractCalendarDataStore.java:188) at com.atlassian.confluence.extra.calendar3.calendarstore.ExternalCalendarDataStore.getSubCalendar(ExternalCalendarDataStore.java:160) at com.atlassian.confluence.extra.calendar3.calendarstore.CalendarDataStoreCachingDecorator.getSubCalendar(CalendarDataStoreCachingDecorator.java:117) at com.atlassian.confluence.extra.calendar3.calendarstore.DelegatingCalendarDataStore.getSubCalendar(DelegatingCalendarDataStore.java:103) at com.atlassian.confluence.extra.calendar3.calendarstore.InternalSubscriptionCalendarDataStore.getSourceSubCalendar(InternalSubscriptionCalendarDataStore.java:157) at com.atlassian.confluence.extra.calendar3.calendarstore.InternalSubscriptionCalendarDataStore.fromStorageFormat(InternalSubscriptionCalendarDataStore.java:107) at com.atlassian.confluence.extra.calendar3.calendarstore.InternalSubscriptionCalendarDataStore.fromStorageFormat(InternalSubscriptionCalendarDataStore.java:46) at com.atlassian.confluence.extra.calendar3.calendarstore.AbstractCalendarDataStore.getSubCalendar(AbstractCalendarDataStore.java:188) at com.atlassian.confluence.extra.calendar3.calendarstore.DelegatingCalendarDataStore.getSubCalendar(DelegatingCalendarDataStore.java:103) at com.atlassian.confluence.extra.calendar3.DefaultCalendarManager.getSubCalendar(DefaultCalendarManager.java:169) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel$2.apply(CalendarWebPanel.java:168) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel$2.apply(CalendarWebPanel.java:164) at com.google.common.collect.Iterators$8.next(Iterators.java:730) at com.google.common.collect.Iterators$7.computeNext(Iterators.java:608) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:137) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:132) at com.google.common.collect.Iterators.size(Iterators.java:129) at com.google.common.collect.Collections2$FilteredCollection.size(Collections2.java:225) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel.retrieveEventsAsync(CalendarWebPanel.java:366) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel.getEventsForDashboard(CalendarWebPanel.java:187) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel.renderDashboardCalendar(CalendarWebPanel.java:141) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel.getHtml(CalendarWebPanel.java:93) at com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor$ContextAwareWebPanel.getHtml(DefaultWebPanelModuleDescriptor.java:141) at com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager$ExceptionHandlingWebPanel.getHtml(ConfluenceWebInterfaceManager.java:171) at sun.reflect.GeneratedMethodAccessor3477.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at com.atlassian.confluence.velocity.introspection.AnnotationBoxingMethod.invoke(AnnotationBoxingMethod.java:28) at com.atlassian.confluence.velocity.introspection.UnboxingMethod.invoke(UnboxingMethod.java:33) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.Foreach.performIteration(Foreach.java:393) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:316) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) {noformat} And also: {noformat} 2011-10-20 19:01:00,193 ERROR [http-9080-37] [confluence.extra.calendar3.CalendarWebPanel] waitForAllEventsToLoad Unable to read events via FutureTask -- url: /dashboard.action | userName: jpendleton java.util.concurrent.ExecutionException: com.atlassian.applinks.api.CredentialsRequiredException: You do not have an authorized access token for the remote resource. at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel.waitForAllEventsToLoad(CalendarWebPanel.java:346) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel.getEventsForDashboard(CalendarWebPanel.java:187) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel.renderDashboardCalendar(CalendarWebPanel.java:141) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel.getHtml(CalendarWebPanel.java:93) at com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor$ContextAwareWebPanel.getHtml(DefaultWebPanelModuleDescriptor.java:141) at com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager$ExceptionHandlingWebPanel.getHtml(ConfluenceWebInterfaceManager.java:171) at sun.reflect.GeneratedMethodAccessor3477.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at com.atlassian.confluence.velocity.introspection.AnnotationBoxingMethod.invoke(AnnotationBoxingMethod.java:28) at com.atlassian.confluence.velocity.introspection.UnboxingMethod.invoke(UnboxingMethod.java:33) {noformat}

    Atlassian JIRA | 5 years ago | Don Willis <DO NOT USE>
    com.atlassian.applinks.api.CredentialsRequiredException: You do not have an authorized access token for the remote resource.
  2. 0

    Not sure exactly what causes this but it happens a bit on EAC's logs: {noformat} -- url: /dashboard.action | userName: esnyder | referer: https://extranet.atlassian.com/dosearchsite.action?quickSearch=true&searchQuery.queryString= com.atlassian.applinks.api.CredentialsRequiredException: You do not have an authorized access token for the remote resource. at com.atlassian.applinks.core.auth.oauth.OAuthRequestFactoryImpl.retrieveConsumerToken(OAuthRequestFactoryImpl.java:81) at com.atlassian.applinks.core.auth.oauth.OAuthRequestFactoryImpl.createRequest(OAuthRequestFactoryImpl.java:72) at com.atlassian.applinks.core.auth.ApplicationLinkRequestFactoryFactoryImpl$AbsoluteURLRequestFactory.createRequest(ApplicationLinkRequestFactoryFactoryImpl.java:151) at com.atlassian.confluence.extra.calendar3.calendarstore.DefaultJiraAccessor.getProjects(DefaultJiraAccessor.java:74) at com.atlassian.confluence.extra.calendar3.calendarstore.JiraCalendarDataStore.fromStorageFormat(JiraCalendarDataStore.java:172) at com.atlassian.confluence.extra.calendar3.calendarstore.JiraCalendarDataStore.fromStorageFormat(JiraCalendarDataStore.java:79) at com.atlassian.confluence.extra.calendar3.calendarstore.AbstractCalendarDataStore.getSubCalendar(AbstractCalendarDataStore.java:188) at com.atlassian.confluence.extra.calendar3.calendarstore.ExternalCalendarDataStore.getSubCalendar(ExternalCalendarDataStore.java:160) at com.atlassian.confluence.extra.calendar3.calendarstore.CalendarDataStoreCachingDecorator.getSubCalendar(CalendarDataStoreCachingDecorator.java:117) at com.atlassian.confluence.extra.calendar3.calendarstore.DelegatingCalendarDataStore.getSubCalendar(DelegatingCalendarDataStore.java:103) at com.atlassian.confluence.extra.calendar3.calendarstore.InternalSubscriptionCalendarDataStore.getSourceSubCalendar(InternalSubscriptionCalendarDataStore.java:157) at com.atlassian.confluence.extra.calendar3.calendarstore.InternalSubscriptionCalendarDataStore.fromStorageFormat(InternalSubscriptionCalendarDataStore.java:107) at com.atlassian.confluence.extra.calendar3.calendarstore.InternalSubscriptionCalendarDataStore.fromStorageFormat(InternalSubscriptionCalendarDataStore.java:46) at com.atlassian.confluence.extra.calendar3.calendarstore.AbstractCalendarDataStore.getSubCalendar(AbstractCalendarDataStore.java:188) at com.atlassian.confluence.extra.calendar3.calendarstore.DelegatingCalendarDataStore.getSubCalendar(DelegatingCalendarDataStore.java:103) at com.atlassian.confluence.extra.calendar3.DefaultCalendarManager.getSubCalendar(DefaultCalendarManager.java:169) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel$2.apply(CalendarWebPanel.java:168) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel$2.apply(CalendarWebPanel.java:164) at com.google.common.collect.Iterators$8.next(Iterators.java:730) at com.google.common.collect.Iterators$7.computeNext(Iterators.java:608) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:137) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:132) at com.google.common.collect.Iterators.size(Iterators.java:129) at com.google.common.collect.Collections2$FilteredCollection.size(Collections2.java:225) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel.retrieveEventsAsync(CalendarWebPanel.java:366) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel.getEventsForDashboard(CalendarWebPanel.java:187) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel.renderDashboardCalendar(CalendarWebPanel.java:141) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel.getHtml(CalendarWebPanel.java:93) at com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor$ContextAwareWebPanel.getHtml(DefaultWebPanelModuleDescriptor.java:141) at com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager$ExceptionHandlingWebPanel.getHtml(ConfluenceWebInterfaceManager.java:171) at sun.reflect.GeneratedMethodAccessor3477.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at com.atlassian.confluence.velocity.introspection.AnnotationBoxingMethod.invoke(AnnotationBoxingMethod.java:28) at com.atlassian.confluence.velocity.introspection.UnboxingMethod.invoke(UnboxingMethod.java:33) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.Foreach.performIteration(Foreach.java:393) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:316) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) {noformat} And also: {noformat} 2011-10-20 19:01:00,193 ERROR [http-9080-37] [confluence.extra.calendar3.CalendarWebPanel] waitForAllEventsToLoad Unable to read events via FutureTask -- url: /dashboard.action | userName: jpendleton java.util.concurrent.ExecutionException: com.atlassian.applinks.api.CredentialsRequiredException: You do not have an authorized access token for the remote resource. at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel.waitForAllEventsToLoad(CalendarWebPanel.java:346) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel.getEventsForDashboard(CalendarWebPanel.java:187) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel.renderDashboardCalendar(CalendarWebPanel.java:141) at com.atlassian.confluence.extra.calendar3.CalendarWebPanel.getHtml(CalendarWebPanel.java:93) at com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor$ContextAwareWebPanel.getHtml(DefaultWebPanelModuleDescriptor.java:141) at com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager$ExceptionHandlingWebPanel.getHtml(ConfluenceWebInterfaceManager.java:171) at sun.reflect.GeneratedMethodAccessor3477.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at com.atlassian.confluence.velocity.introspection.AnnotationBoxingMethod.invoke(AnnotationBoxingMethod.java:28) at com.atlassian.confluence.velocity.introspection.UnboxingMethod.invoke(UnboxingMethod.java:33) {noformat}

    Atlassian JIRA | 5 years ago | Don Willis <DO NOT USE>
    com.atlassian.applinks.api.CredentialsRequiredException: You do not have an authorized access token for the remote resource.

    Root Cause Analysis

    1. com.atlassian.applinks.api.CredentialsRequiredException

      You do not have an authorized access token for the remote resource.

      at com.atlassian.applinks.core.auth.oauth.OAuthRequestFactoryImpl.retrieveConsumerToken()
    2. com.atlassian.applinks
      ApplicationLinkRequestFactoryFactoryImpl$AbsoluteURLRequestFactory.createRequest
      1. com.atlassian.applinks.core.auth.oauth.OAuthRequestFactoryImpl.retrieveConsumerToken(OAuthRequestFactoryImpl.java:81)
      2. com.atlassian.applinks.core.auth.oauth.OAuthRequestFactoryImpl.createRequest(OAuthRequestFactoryImpl.java:72)
      3. com.atlassian.applinks.core.auth.ApplicationLinkRequestFactoryFactoryImpl$AbsoluteURLRequestFactory.createRequest(ApplicationLinkRequestFactoryFactoryImpl.java:151)
      3 frames
    3. com.atlassian.confluence
      CalendarWebPanel$2.apply
      1. com.atlassian.confluence.extra.calendar3.calendarstore.DefaultJiraAccessor.getProjects(DefaultJiraAccessor.java:74)
      2. com.atlassian.confluence.extra.calendar3.calendarstore.JiraCalendarDataStore.fromStorageFormat(JiraCalendarDataStore.java:172)
      3. com.atlassian.confluence.extra.calendar3.calendarstore.JiraCalendarDataStore.fromStorageFormat(JiraCalendarDataStore.java:79)
      4. com.atlassian.confluence.extra.calendar3.calendarstore.AbstractCalendarDataStore.getSubCalendar(AbstractCalendarDataStore.java:188)
      5. com.atlassian.confluence.extra.calendar3.calendarstore.ExternalCalendarDataStore.getSubCalendar(ExternalCalendarDataStore.java:160)
      6. com.atlassian.confluence.extra.calendar3.calendarstore.CalendarDataStoreCachingDecorator.getSubCalendar(CalendarDataStoreCachingDecorator.java:117)
      7. com.atlassian.confluence.extra.calendar3.calendarstore.DelegatingCalendarDataStore.getSubCalendar(DelegatingCalendarDataStore.java:103)
      8. com.atlassian.confluence.extra.calendar3.calendarstore.InternalSubscriptionCalendarDataStore.getSourceSubCalendar(InternalSubscriptionCalendarDataStore.java:157)
      9. com.atlassian.confluence.extra.calendar3.calendarstore.InternalSubscriptionCalendarDataStore.fromStorageFormat(InternalSubscriptionCalendarDataStore.java:107)
      10. com.atlassian.confluence.extra.calendar3.calendarstore.InternalSubscriptionCalendarDataStore.fromStorageFormat(InternalSubscriptionCalendarDataStore.java:46)
      11. com.atlassian.confluence.extra.calendar3.calendarstore.AbstractCalendarDataStore.getSubCalendar(AbstractCalendarDataStore.java:188)
      12. com.atlassian.confluence.extra.calendar3.calendarstore.DelegatingCalendarDataStore.getSubCalendar(DelegatingCalendarDataStore.java:103)
      13. com.atlassian.confluence.extra.calendar3.DefaultCalendarManager.getSubCalendar(DefaultCalendarManager.java:169)
      14. com.atlassian.confluence.extra.calendar3.CalendarWebPanel$2.apply(CalendarWebPanel.java:168)
      15. com.atlassian.confluence.extra.calendar3.CalendarWebPanel$2.apply(CalendarWebPanel.java:164)
      15 frames
    4. Guava
      Collections2$FilteredCollection.size
      1. com.google.common.collect.Iterators$8.next(Iterators.java:730)
      2. com.google.common.collect.Iterators$7.computeNext(Iterators.java:608)
      3. com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:137)
      4. com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:132)
      5. com.google.common.collect.Iterators.size(Iterators.java:129)
      6. com.google.common.collect.Collections2$FilteredCollection.size(Collections2.java:225)
      6 frames
    5. com.atlassian.confluence
      CalendarWebPanel.getHtml
      1. com.atlassian.confluence.extra.calendar3.CalendarWebPanel.retrieveEventsAsync(CalendarWebPanel.java:366)
      2. com.atlassian.confluence.extra.calendar3.CalendarWebPanel.getEventsForDashboard(CalendarWebPanel.java:187)
      3. com.atlassian.confluence.extra.calendar3.CalendarWebPanel.renderDashboardCalendar(CalendarWebPanel.java:141)
      4. com.atlassian.confluence.extra.calendar3.CalendarWebPanel.getHtml(CalendarWebPanel.java:93)
      4 frames
    6. com.atlassian.plugin
      DefaultWebPanelModuleDescriptor$ContextAwareWebPanel.getHtml
      1. com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor$ContextAwareWebPanel.getHtml(DefaultWebPanelModuleDescriptor.java:141)
      1 frame
    7. com.atlassian.confluence
      ConfluenceWebInterfaceManager$ExceptionHandlingWebPanel.getHtml
      1. com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager$ExceptionHandlingWebPanel.getHtml(ConfluenceWebInterfaceManager.java:171)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor3477.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    9. Apache Velocity
      UberspectImpl$VelMethodImpl.invoke
      1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
      2. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
      2 frames
    10. com.atlassian.confluence
      UnboxingMethod.invoke
      1. com.atlassian.confluence.velocity.introspection.AnnotationBoxingMethod.invoke(AnnotationBoxingMethod.java:28)
      2. com.atlassian.confluence.velocity.introspection.UnboxingMethod.invoke(UnboxingMethod.java:33)
      2 frames
    11. Apache Velocity
      VelocimacroProxy.render
      1. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
      2. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
      3. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
      4. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      5. org.apache.velocity.runtime.directive.Foreach.performIteration(Foreach.java:393)
      6. org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:316)
      7. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
      8. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      9. org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
      9 frames