Closed paolostefan closed 9 months ago
Which version of curl/openssl are you using? This has been reported as a problem here and using the system curl fixed their issue. Looking though that issue might help you fix your bug
Curl version is 8.4.0-DEV, as mentioned in the logs above:
[INFO] 2023-11-24 09:37:56.646 CurlHttpClient [2820] Initializing Curl library with version: 8.4.0-DEV, ssl version: Schannel
Openssl version is 3.1.4 .
Which version of curl/openssl are you using? This has been reported as a problem here and using the system curl fixed their issue. Looking though that issue might help you fix your bug
BTW, in the (terrible) online docs there's no mention of how one could use the "system" curl under Windows (but anyway, I don't think it would be possible to use it without a C++ header telling my program how to call curl functions).
Because you are on Windows, there is no "system curl". Windows has WinHTTP instead.
However, WinHTTP 1.0 does not support HTTP/2 bidirectional streaming, which is required for some AWS services such as Amazon Transcribe and Amazon Lex.
https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/setup-windows.html
This curl build worked on Windows with SDK 1.11.207
Initializing Curl library with version: 8.4.0, ssl version: OpenSSL/3.1.4 (Schannel)
Downloaded from https://curl.se/windows/
Because you are on Windows, there is no "system curl". Windows has WinHTTP instead.
However, WinHTTP 1.0 does not support HTTP/2 bidirectional streaming, which is required for some AWS services such as Amazon Transcribe and Amazon Lex.
https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/setup-windows.html
Yes, I've read these docs. I did exactly what they said. BUT, nothing worked, so I resorted to using vcpkg to download and install both Curl and Openssl. AND, nothing is working yet, that's why I opened this issue.
This does not appear to be a code examples' library issue.
Expected behavior
The cpp/example_code/transcribe/get_transcript.cpp should make calls to the Transcribe API and get a valid transcription of the audio file.
Actual behavior
The built get_transcript.exe enters an error loop saying:
Steps to reproduce
Logs / stacktrace (if applicable)
Which SDK were you using?
C++
Which OS were you using?
Windows
SDK version
1.11.207
OS version
Windows 11