Uploaded image for project: 'Creative Pro by Nuxeo'
  1. Creative Pro by Nuxeo
  2. NBM-754

Investigate lambda errors (403 when calling /nuxeo/site/lambda/error )

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.3
    • Fix Version/s: 0.3.3
    • Component/s: Infrastructure

      Description

      Lambda gets a 403 on calling:
      2018-07-10T01:00:45.250Z ac165a7c-83dc-11e8-87d4-fb810c3f41f3 request: https://nbm-staging.nuxeo.io/nuxeo/site/lambda/error/90ba83e6-0fc9-4403-9ff3-4d010047658a

      majority of conversions seem to work, but looks like when one of them it's in error, the lambda tries to go back to Nuxeo to post the error code and the request it's rejected.
      Most probably coming from CloudFront/ WAF

      2018-07-10T01:00:45.266Z ac165a7c-83dc-11e8-87d4-fb810c3f41f3 Error on upload { AccessDenied: Access Denied
      at Request.extractError (/var/task/node_modules/aws-sdk/lib/services/s3.js:568:35)
      at Request.callListeners (/var/task/node_modules/aws-sdk/lib/sequential_executor.js:105:20)
      at Request.emit (/var/task/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
      at Request.emit (/var/task/node_modules/aws-sdk/lib/request.js:682:14)
      at Request.transition (/var/task/node_modules/aws-sdk/lib/request.js:22:10)
      at AcceptorStateMachine.runTo (/var/task/node_modules/aws-sdk/lib/state_machine.js:14:12)
      at /var/task/node_modules/aws-sdk/lib/state_machine.js:26:10
      at Request.<anonymous> (/var/task/node_modules/aws-sdk/lib/request.js:38:9)
      at Request.<anonymous> (/var/task/node_modules/aws-sdk/lib/request.js:684:12)
      at Request.callListeners (/var/task/node_modules/aws-sdk/lib/sequential_executor.js:115:18)
      message: 'Access Denied',
      code: 'AccessDenied',
      region: null,
      time: 2018-07-10T01:00:45.266Z,
      requestId: 'DA3152ABF4812B63',
      extendedRequestId: 'HRw0rUZslIGoVJiOH2yE3E0+iHWavyPfz1FXY32S/IIXOUQU9pfEPv3FNKIpbROWYKtrBiD9lqA=',
      cfId: undefined,
      statusCode: 403,
      retryable: false,
      retryDelay: 4.209570862434386 }
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: