localstack.service.errors
Service operation errorsDimensions:None
Available on:
OpenTelemetry (1)
Interface Metrics (1)
Dimensions:None
Technical Annotations (85)
Configuration Parameters (9)
VisibilityTimeoutrecommended: 10S3_HOSTNAMErecommended: localstack:4566AWS_ENDPOINT_URLrecommended: http://localstack:4566KINESIS_SHARD_LIMITrecommended: InfinityDYNAMODB_ERROR_PROBABILITYrecommended: 0.0KINESIS_ERROR_PROBABILITYrecommended: 0.0integration_http_methodrecommended: POSTGATEWAY_LISTENrecommended: :4566,:80,:443PROVIDER_OVERRIDE_APIGATEWAYrecommended: next_genError Signatures (22)
ServiceUnavailableexceptionOperation failed due to a simulated faultlog pattern503http statusServiceUnavailableExceptionexceptionService'dynamodb'not accessible in'us-east-1'region due to an outagelog patterndial tcp: lookup s3.localhost.localstack.cloud: no such hostlog patterndial tcp 127.0.0.1:4566: connect: connection refusedlog patternRequestError: send request failedlog patternProvisionedThroughputExceededExceptionexceptionInternal server errorhttp status500http statusInternalServerErrorerror codeInternal Server Errorlog patternError raised during invocation: Internal Server Errorlog patternNo moto route for service apigateway on path /usageplans/<plan ID>/usage found.error codeexception while calling cloudwatch.GetMetricData: 'MetricStat'exceptionKeyError: 'MetricStat'exceptionInternalErrorerror codeAWS logs.StartQuery => 500 (InternalError)log patternTypeError: 'NoneType' object is not iterableexceptionlist index out of rangeexceptionexception while calling cloudwatch.GetMetricData: list index out of rangelog patternCLI Commands (19)
curl --location --request POST 'http://localhost.localstack.cloud:4566/_localstack/chaos/faults' --header 'Content-Type: application/json' --data '[]'remediationawslocal sqs set-queue-attributes --queue-url http://localhost:4566/000000000000/ProductEventsQueue --attributes VisibilityTimeout=10remediationcurl --location --request GET 'http://localhost.localstack.cloud:4566/_localstack/chaos/faults'diagnosticawslocal s3 cp sample.csv s3://<your-bucket-name/>diagnosticcurl --location --request POST 'http://outages.localhost.localstack.cloud:4566/outages' --header 'Content-Type: application/json' --data '[{"service": "dynamodb", "region": "us-east-1"}]'diagnosticcurl --location --request POST 'http://outages.localhost.localstack.cloud:4566/outages' --header 'Content-Type: application/json' --data '[]'remediationcurl --location --request GET 'http://outages.localhost.localstack.cloud:4566/outages'diagnosticawslocal dynamodb scan --table-name Productsdiagnosticdocker compose -f docker-compose.dev.yaml run --rm --entrypoint curl local_terraform_setup http://localstack:4566/_localstack/healthdiagnosticdocker compose -f docker-compose.dev.yaml run --rm --entrypoint rm local_terraform_setup -f localstack_providers_override.tfremediationdocker compose -f docker-compose.dev.yaml run --rm --entrypoint tflocal local_terraform_setup apply -auto-approveremediationcurl -v http://local-alb.elb.localhost.localstack.cloud/accounts/healthdiagnosticcurl -v https://50b2495d.execute-api.localhost.localstack.cloud:4566/local/accounts/healthdiagnosticawslocal cloudwatch get-metric-data --metric-data-queries file:///path/to/metrics.json --start-time 2024-10-01T00:00:0000 --end-time 2024-10-01T23:00:0000diagnosticawslocal cloudwatch put-metric-data --namespace "service/my-service" --metric-name "request.count" --dimensions call_type=service_call --value 0.2diagnosticawslocal logs get-log-events --region=ap-south-1 --log-group-name local-log-group --log-stream-name local-log-streamdiagnosticawslocal logs describe-log-groups --region=ap-south-1diagnosticawslocal logs describe-log-streams --region=ap-south-1 --log-group-name local-log-groupdiagnosticaws cloudwatch get-metric-data --endpoint-url http://localhost:4566 --start-time 2023-11-17T06:00:00+00:00 --end-time 2023-11-17T09:00:00+00:00 --metric-data-queries '[...]'diagnosticTechnical References (35)
Chaos APIcomponent/_localstack/chaos/faultsfile pathdead-letter queuesconceptChaos DashboardcomponentOutages extensioncomponenthttp://outages.localhost.localstack.cloud:4566/outagescomponenttflocalcomponentProvider Overrideconceptlocalstack_providers_override.tffile pathDocker Compose networkcomponentaws_api_gateway_integrationcomponentLambda ProxyconceptAPI GatewaycomponentIAM permissionsconceptenvironment variablesconfigurationSNS topiccomponentSQS queuecomponentmulti-region replicationconcepteventual consistencyconceptAPIGW v2 HTTP Endpointcomponentlocalhost.localstack.cloudcomponentTwistedWebcomponentGetUsagecomponentmotocomponentusage plansconcepthealth-check API endpointcomponentMetricStatcomponentExpressioncomponentprovider_v2.pyfile pathREMOVE_EMPTYconceptSEARCHconceptStartQuerycomponentawslocalcomponentget-metric-datacomponentmetric-data-queriescomponentRelated Insights (15)
DynamoDB returns 503 ServiceUnavailable during chaos fault injectioncritical
▸
SQS returns 503 Service Unavailable causing Lambda message processing failurescritical
▸
DynamoDB service unavailable during outage injectioncritical
▸
Terraform apply fails with connection refused when LocalStack runs in separate Docker containercritical
▸
Kinesis operations fail when shard limit reachedwarning
▸
Random ProvisionedThroughputExceededException errors from error injectionwarning
▸
API Gateway accepts invalid GET method for Lambda proxy integrationwarning
▸
500 Internal Server Error prevents request fulfillment due to server-side failurescritical
▸
Service or region unavailability returns 503 errors causing application failurescritical
▸
API Gateway returns 500 when proxying to ALB on port 80critical
▸
Missing API Gateway GetUsage endpoint prevents local testingwarning
▸
Microservice health check endpoint unavailablecritical
▸
CloudWatch get-metric-data with Expression parameter fails with KeyErrorwarning
▸
CloudWatch Logs StartQuery API fails with TypeError when called from Grafanawarning
▸
CloudWatch get-metric-data fails with 10 or more metric queriescritical
▸