{"errorMessage": "encoding with 'idna' codec failed (UnicodeError: label empty or too long)", "errorType": "UnicodeError", "requestId": "96e22107-2feb-4bea-8bb4-b5907c17a837", "stackTrace": [" File \"/var/task/lambda_function.py\", line 39, in lambda_handler\n with urllib.request.urlopen(keys_url) as f:\n", " File \"/var/lang/lib/python3.11/urllib/request.py\", line 216, in urlopen\n return opener.open(url, data, timeout)\n", " File \"/var/lang/lib/python3.11/urllib/request.py\", line 519, in open\n response = self._open(req, data)\n", " File \"/var/lang/lib/python3.11/urllib/request.py\", line 536, in _open\n result = self._call_chain(self.handle_open, protocol, protocol +\n", " File \"/var/lang/lib/python3.11/urllib/request.py\", line 496, in _call_chain\n result = func(*args)\n", " File \"/var/lang/lib/python3.11/urllib/request.py\", line 1391, in https_open\n return self.do_open(http.client.HTTPSConnection, req,\n", " File \"/var/lang/lib/python3.11/urllib/request.py\", line 1348, in do_open\n h.request(req.get_method(), req.selector, req.data, headers,\n", " File \"/var/lang/lib/python3.11/http/client.py\", line 1303, in request\n self._send_request(method, url, body, headers, encode_chunked)\n", " File \"/var/lang/lib/python3.11/http/client.py\", line 1349, in _send_request\n self.endheaders(body, encode_chunked=encode_chunked)\n", " File \"/var/lang/lib/python3.11/http/client.py\", line 1298, in endheaders\n self._send_output(message_body, encode_chunked=encode_chunked)\n", " File \"/var/lang/lib/python3.11/http/client.py\", line 1058, in _send_output\n self.send(msg)\n", " File \"/var/lang/lib/python3.11/http/client.py\", line 996, in send\n self.connect()\n", " File \"/var/lang/lib/python3.11/http/client.py\", line 1468, in connect\n super().connect()\n", " File \"/var/lang/lib/python3.11/http/client.py\", line 962, in connect\n self.sock = self._create_connection(\n", " File \"/var/lang/lib/python3.11/socket.py\", line 839, in create_connection\n for res in getaddrinfo(host, port, 0, SOCK_STREAM):\n", " File \"/var/lang/lib/python3.11/socket.py\", line 974, in getaddrinfo\n for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\n"]}