Uploaded image for project: 'Nuxeo Enhanced Viewer'
  1. Nuxeo Enhanced Viewer
  2. NEV-434

Fix invalid_grant on refresh token request in context of NEV

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.5.0
    • Fix Version/s: 10.6.0, arender-2.0.0
    • Component/s: None
    • Tags:
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #33
    • Story Points:
      2

      Description

      We want to fix the issue below observed on production:

      2021-04-27 16:43:29,204 ERROR [http-nio-8080-exec-1038] [com.arondor.viewer.common.documentservice.RemoteActionExecutor] An error occured while executing a remote actionTry 4 -  from ClientDocumentService
      org.nuxeo.client.spi.NuxeoClientRemoteException: HTTP/400: invalid_grant
      	at org.nuxeo.client.spi.auth.oauth2.OAuth2Client.executeRequest(OAuth2Client.java:117)
      	at org.nuxeo.client.spi.auth.oauth2.OAuth2Client.refreshToken(OAuth2Client.java:98)
      	at com.nuxeo.ecm.arender.client.NuxeoClientFactoryImpl$1.refreshToken(NuxeoClientFactoryImpl.java:110)
      	at org.nuxeo.client.spi.auth.OAuth2AuthInterceptor.intercept(OAuth2AuthInterceptor.java:52)
      	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
      	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
      	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:254)
      	at okhttp3.RealCall.execute(RealCall.java:92)
      	at retrofit2.OkHttpCall.execute(OkHttpCall.java:186)
      	at org.nuxeo.client.NuxeoClient.fetchResponse(NuxeoClient.java:274)
      	at org.nuxeo.client.objects.AbstractConnectable.fetchResponse(AbstractConnectable.java:65)
      	at org.nuxeo.client.objects.Document$AbstractAdapter.get(Document.java:972)
      	at org.nuxeo.client.objects.Document$AbstractAdapter.get(Document.java:948)
      	at com.nuxeo.ecm.arender.connector.NuxeoARenderAdapter.download(NuxeoARenderAdapter.java:31)
      	at com.nuxeo.ecm.arender.client.NuxeoClientFacade.streamBlob(NuxeoClientFacade.java:158)
      	at com.nuxeo.ecm.arender.connector.BlobDocumentAccessor.getInputStream(BlobDocumentAccessor.java:76)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: