Skip to content

Stream error is not returned #3650

Description

@oleg-boulanov

Describe the bug

See #3649

There is 403 returned by hhtp-decoder (because of invalid action, "InvokeModelWithBidirectionalStream")
But there is no error message logged, no stream error callback invoked, and the message can be found only in full trace.

Unacceptable.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

Request should fail (with 403), or stream error returned, or, at absolute minimum - 403 logged as ERROR, not as TRACE

Current Behavior

TRACE logged as:
[TRACE] http-decoder [2784] id=038D8770 Decoded header field: ":status: 403"

Reproduction Steps

Run on Bedrock Sonic EC2 instance, with no bedrock-runtime:invokemodel permission

Possible Solution

No response

Additional Information/Context

No response

AWS CPP SDK version used

1.11.705

Compiler and Version used

Visual Studio 2022, C++

Operating System and version

Windows 11/2022

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

    bugThis issue is a bug.closing-soonThis issue will automatically close in 4 days unless further comments are made.response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 10 days.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions