PythonHacks
PythonHacks copied to clipboard
awscrt.exceptions.AwsCrtError: AWS_IO_DNS_INVALID_NAME: Host name was invalid for dns resolution.
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
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.