Skip to content

I am getting a model timeout #147

Description

@bcatalin

After 8 minutes (more or less) I am getting a model timeout like this one.

Error processing response stream for session j7WimTYOfJYKQw4VAAAD: ModelTimeoutException: Model has timed out in processing the request. Try your request again. at de_ModelTimeoutExceptionRes (/home/ubuntu/PROJECTS/AI/VOICE/websocket-nodejs/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js:1632:21) at de_ModelTimeoutException_event (/home/ubuntu/PROJECTS/AI/VOICE/websocket-nodejs/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js:1940:10) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async /home/ubuntu/PROJECTS/AI/VOICE/websocket-nodejs/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js:1819:32 at async Object.deserializer (/home/ubuntu/PROJECTS/AI/VOICE/websocket-nodejs/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js:127:37) at async SmithyMessageDecoderStream.asyncIterator (/home/ubuntu/PROJECTS/AI/VOICE/websocket-nodejs/node_modules/@smithy/eventstream-codec/dist-cjs/index.js:438:28) at async NovaSonicBidirectionalStreamClient.processResponseStream (/home/ubuntu/PROJECTS/AI/VOICE/websocket-nodejs/dist/client.js:403:30) at async NovaSonicBidirectionalStreamClient.initiateSession (/home/ubuntu/PROJECTS/AI/VOICE/websocket-nodejs/dist/client.js:270:13) { '$fault': 'client', '$metadata': { httpStatusCode: undefined, requestId: undefined, extendedRequestId: undefined, cfId: undefined } } Error in session: { source: 'responseStream', message: 'Error processing response stream', details: 'Model has timed out in processing the request. Try your request again.' }

How can I overcome this? My application will need like minimum one hour.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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