Skip to content

Authed Connection Lambda => Neptune can time out #1300

@ChiefStief

Description

@ChiefStief

Notes

Results in lambda error:
{
"level": "ERROR",
"message": "Unexpected server error thrown.",
"timestamp": "2026-02-19T19:52:02.310Z",
"service": "service_undefined",
"cold_start": false,
"function_arn": "arn:aws:lambda:us-east-1:803355017063:function:Dev-ApiStack-BusinessBusinessIdGetLambda940C96FF-vCdEBuz8OYtD",
"function_memory_size": "128",
"function_name": "Dev-ApiStack-BusinessBusinessIdGetLambda940C96FF-vCdEBuz8OYtD",
"function_request_id": "9eca8dd6-edce-4531-9011-b673a122bcfc",
"sampling_rate": 0,
"xray_trace_id": "1-699769e1-1588ade54378813c564dd995",
"error": {
"name": "Error",
"location": "/var/task/node_modules/gremlin/lib/driver/connection.js:289",
"message": "Unexpected server response code 403 with body:\n{"code":"AccessDeniedException","requestId":"56ce3bba-cdfc-871e-d664-3f12fce8ffb8","detailedMessage":"Signature expired: 20260219T193319Z is now earlier than 20260219T194702Z (20260219T195202Z - 5 min.)","message":"Signature expired: 20260219T193319Z is now earlier than 20260219T194702Z (20260219T195202Z - 5 min.)"}",
"stack": "Error: Unexpected server response code 403 with body:\n{"code":"AccessDeniedException","requestId":"56ce3bba-cdfc-871e-d664-3f12fce8ffb8","detailedMessage":"Signature expired: 20260219T193319Z is now earlier than 20260219T194702Z (20260219T195202Z - 5 min.)","message":"Signature expired: 20260219T193319Z is now earlier than 20260219T194702Z (20260219T195202Z - 5 min.)"}\n at #handleUnexpectedResponse (/var/task/node_modules/gremlin/lib/driver/connection.js:289:19)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)"
}
}

Questions

Assumptions

May be caused by cached connection between lambda runs and hitting same lambda more often unearthed bad setup

Estimate

Tasks

  • TODO
  • Automated tests
  • API Docs
  • Postman collection
  • PR opened with labels / reviewers / assignee / linked-issue

Implementation Notes

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions