Skip to content
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

awscrt.exceptions.AwsCrtError: AWS_IO_DNS_INVALID_NAME: Host name was invalid for dns resolution. #2

Open
komalvpachupate opened this issue Nov 12, 2022 · 0 comments

Comments

@komalvpachupate
Copy link

Unable to resolve this

loop = asyncio.get_event_loop()
Loop
Client <amazon_transcribe.client.TranscribeStreamingClient object at 0x0000024A4129B520>
Traceback (most recent call last):
File "E:\Speech Recognition\AWS_transcribe\main.py", line 79, in
loop.run_until_complete(basic_transcribe())
File "C:\Users\Komal\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete
return future.result()
File "E:\Speech Recognition\AWS_transcribe\main.py", line 66, in basic_transcribe
stream = await client.start_stream_transcription(
File "C:\Users\Komal\AppData\Local\Programs\Python\Python310\lib\site-packages\amazon_transcribe\client.py", line 174, in start_stream_transcription
response = await self._session_manager.make_request(
File "C:\Users\Komal\AppData\Local\Programs\Python\Python310\lib\site-packages\amazon_transcribe\httpsession.py", line 206, in make_request
connection = await self._get_connection(parsed_url)
File "C:\Users\Komal\AppData\Local\Programs\Python\Python310\lib\site-packages\amazon_transcribe\httpsession.py", line 174, in _get_connection
connection = await self._create_connection(parsed_url)
File "C:\Users\Komal\AppData\Local\Programs\Python\Python310\lib\site-packages\amazon_transcribe\httpsession.py", line 143, in _create_connection
connection = await asyncio.wrap_future(connect_future)
awscrt.exceptions.AwsCrtError: AWS_IO_DNS_INVALID_NAME: Host name was invalid for dns resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant