Skip to content

Inconsistent Connection of AWS Bedrock from Lambda #302

Open
@prashantsolanki975

Description

@prashantsolanki975

Hi Team!
We are trying to use AWS Bedrock from Lambda but there is some inconsistency again and again.

Sometime the Bedrock is connected and model gets invoked. but other times in the same lambda function with the same query/input it gets timeout.

[ERROR] 2024-09-12T02:53:02.888Z fed8c773-6e8d-47e0-9f15-23258903983a Unexpected error: Connect timeout on endpoint URL: "https://bedrock-runtime.ap-south-1.amazonaws.com/model/meta.llama3-8b-instruct-v1%3A0/invoke"

[ERROR] 2024-09-12T03:00:32.202Z fed8c773-6e8d-47e0-9f15-23258903983a Unexpected error: Connect timeout on endpoint URL: "https://bedrock-runtime.us-west-2.amazonaws.com/model/amazon.titan-embed-text-v2%3A0/invoke"

We are trying to use two different models from different region.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions