PythonHacks icon indicating copy to clipboard operation
PythonHacks copied to clipboard

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

Open komalvpachupate opened this issue 3 years ago • 0 comments

Unable to resolve this

loop = asyncio.get_event_loop() Loop <ProactorEventLoop running=False closed=False debug=False> 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.

komalvpachupate avatar Nov 12 '22 18:11 komalvpachupate