-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
example streaming app fails with "A complete signal was sent without the preceding empty frame" #2765
Comments
I should have noted this additional piece of info -- I did change the example slightly to authenticate based on access key/secret access key credentials since this is what I want to do (note: I have deleted the access key used for the test after the fact). So the code with my slight change looked like this
When I look at the log file generated, what is interesting is that I see a 403 Forbidden with a message that the IAM role does not have permissions
Given that I am trying to authenticate based on an access key / secret access key, and not the IAM role that the EC2 instance has, I am confused about why it is using the IAM role to authenticate with. |
I'm able to successfully compile and run the unmodified sample on debian 12. I think you might be running into these errors because of IAM permissions aren't set up correctly and/or the curl version you are using might be causing problems. Can you take a look at this issue here to make sure you are using the correct curl version? To make sure the IAM role that you are using is correct can you reply with the JSON permissions you have attached to your access key? |
Greetings! It looks like this issue hasn’t been active in longer than a week. We encourage you to check if this is still an issue in the latest release. Because it has been longer than a week since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or add an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one. |
I'm going to close for now. I switched to using the websockets api, and I am pretty happy with that. |
|
Describe the bug
When I try building and running the "getTranscript" example (aws-doc-sdk-examples/cpp/example_code/transcribe) it fails like this:
at that point it hangs.
cmake output when building the example
API log file at debug level
aws_sdk_2023-11-21-15.log
I have seen other issues noting similar issues, but those were mainly on windows (and there were no good resolutions that I could find). This is a debian 12 build. I am using the latest version of libcurl (8.4.0) because I first tried the version installed with debian 12 and found the same issue. I was hoping an upgrade to libcurl might resolve the issue but it did not.
As noted, I have seen several different issues opened for similar errors and no real resolutions: #1743, #599, #1805, #1806, #1747. This is causing me to lose confidence in the SDK, frankly. Should I be writing to the lower-level websocket interface? This would not be my preference, as it is more complex, but I need something that works. I will note that earlier versions of the SDK (1.8.129) worked fine for me; it is only when trying to upgrade to the latest that things stopped working.
Expected Behavior
I expected the example app to return transcripts
Current Behavior
No transcripts were returned, instead the error "A complete signal was sent without the preceding empty frame."
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
1.11.202
Compiler and Version used
gcc (Debian 12.2.0-14) 12.2.0
Operating System and version
debian 12
The text was updated successfully, but these errors were encountered: