application-research / estuary-hosted-infrastructure

The main repository for EHI
MIT License
3 stars 0 forks source link

SSL failing for Technitium API #3

Closed PC-Admin closed 1 year ago

PC-Admin commented 1 year ago
TASK [Add any A DNS records with Technitium for each VM] **********************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NoneType: None
failed: [localhost] (item=Creating DNS record for dev-demo01) => {"ansible_loop_var": "item", "changed": true, "item": {"key": 133, "value": {"dns_fqdn": "dev-demo01.estuary.tech", "dns_record_type": "A", "ipv4": "10.24.10.1", "mac": {"net0": "C0:FF:EE:CA:FE:42"}, "name": "dev-demo01"}}, "msg": "non-zero return code", "rc": 1, "stderr": "Traceback (most recent call last):\n  File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 704, in urlopen\n    httplib_response = self._make_request(\n                       ^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 387, in _make_request\n    self._validate_conn(conn)\n  File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 1045, in _validate_conn\n    conn.connect()\n  File \"/usr/lib/python3/dist-packages/urllib3/connection.py\", line 414, in connect\n    self.sock = ssl_wrap_socket(\n                ^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3/dist-packages/urllib3/util/ssl_.py\", line 449, in ssl_wrap_socket\n    ssl_sock = _ssl_wrap_socket_impl(\n               ^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3/dist-packages/urllib3/util/ssl_.py\", line 493, in _ssl_wrap_socket_impl\n    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3.11/ssl.py\", line 517, in wrap_socket\n    return self.sslsocket_class._create(\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3.11/ssl.py\", line 1075, in _create\n    self.do_handshake()\n  File \"/usr/lib/python3.11/ssl.py\", line 1346, in do_handshake\n    self._sslobj.do_handshake()\nssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/usr/lib/python3/dist-packages/requests/adapters.py\", line 489, in send\n    resp = conn.urlopen(\n           ^^^^^^^^^^^^^\n  File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 788, in urlopen\n    retries = retries.increment(\n              ^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3/dist-packages/urllib3/util/retry.py\", line 592, in increment\n    raise MaxRetryError(_pool, url, error or ResponseError(cause))\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='dns.estuary.tech', port=5380): Max retries exceeded with url: /api/zones/records/get?token=fa96e6...9&domain=estuary.tech&zone=estuary.tech&listZone=true (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)')))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/home/pcadmin/.ansible/tmp/ansible-tmp-1682035709.507908-89076-266732661142595/technitium_upsert.py\", line 41, in <module>\n    response = requests.get(api_url, params=query_params)\n               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3/dist-packages/requests/api.py\", line 73, in get\n    return request(\"get\", url, params=params, **kwargs)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3/dist-packages/requests/api.py\", line 59, in request\n    return session.request(method=method, url=url, **kwargs)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3/dist-packages/requests/sessions.py\", line 587, in request\n    resp = self.send(prep, **send_kwargs)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3/dist-packages/requests/sessions.py\", line 701, in send\n    r = adapter.send(request, **kwargs)\n        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3/dist-packages/requests/adapters.py\", line 563, in send\n    raise SSLError(e, request=request)\nrequests.exceptions.SSLError: HTTPSConnectionPool(host='dns.estuary.tech', port=5380): Max retries exceeded with url: /api/zones/records/get?token=fa96...&domain=estuary.tech&zone=estuary.tech&listZone=true (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)')))\n", "stderr_lines": ["Traceback (most recent call last):", "  File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 704, in urlopen", "    httplib_response = self._make_request(", "                       ^^^^^^^^^^^^^^^^^^^", "  File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 387, in _make_request", "    self._validate_conn(conn)", "  File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 1045, in _validate_conn", "    conn.connect()", "  File \"/usr/lib/python3/dist-packages/urllib3/connection.py\", line 414, in connect", "    self.sock = ssl_wrap_socket(", "                ^^^^^^^^^^^^^^^^", "  File \"/usr/lib/python3/dist-packages/urllib3/util/ssl_.py\", line 449, in ssl_wrap_socket", "    ssl_sock = _ssl_wrap_socket_impl(", "               ^^^^^^^^^^^^^^^^^^^^^^", "  File \"/usr/lib/python3/dist-packages/urllib3/util/ssl_.py\", line 493, in _ssl_wrap_socket_impl", "    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)", "           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", "  File \"/usr/lib/python3.11/ssl.py\", line 517, in wrap_socket", "    return self.sslsocket_class._create(", "           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", "  File \"/usr/lib/python3.11/ssl.py\", line 1075, in _create", "    self.do_handshake()", "  File \"/usr/lib/python3.11/ssl.py\", line 1346, in do_handshake", "    self._sslobj.do_handshake()", "ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)", "", "During handling of the above exception, another exception occurred:", "", "Traceback (most recent call last):", "  File \"/usr/lib/python3/dist-packages/requests/adapters.py\", line 489, in send", "    resp = conn.urlopen(", "           ^^^^^^^^^^^^^", "  File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 788, in urlopen", "    retries = retries.increment(", "              ^^^^^^^^^^^^^^^^^^", "  File \"/usr/lib/python3/dist-packages/urllib3/util/retry.py\", line 592, in increment", "    raise MaxRetryError(_pool, url, error or ResponseError(cause))", "urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='dns.estuary.tech', port=5380): Max retries exceeded with url: /api/zones/records/get?token=fa96e6...&domain=estuary.tech&zone=estuary.tech&listZone=true (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)')))", "", "During handling of the above exception, another exception occurred:", "", "Traceback (most recent call last):", "  File \"/home/pcadmin/.ansible/tmp/ansible-tmp-1682035709.507908-89076-266732661142595/technitium_upsert.py\", line 41, in <module>", "    response = requests.get(api_url, params=query_params)", "               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", "  File \"/usr/lib/python3/dist-packages/requests/api.py\", line 73, in get", "    return request(\"get\", url, params=params, **kwargs)", "           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", "  File \"/usr/lib/python3/dist-packages/requests/api.py\", line 59, in request", "    return session.request(method=method, url=url, **kwargs)", "           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", "  File \"/usr/lib/python3/dist-packages/requests/sessions.py\", line 587, in request", "    resp = self.send(prep, **send_kwargs)", "           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", "  File \"/usr/lib/python3/dist-packages/requests/sessions.py\", line 701, in send", "    r = adapter.send(request, **kwargs)", "        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", "  File \"/usr/lib/python3/dist-packages/requests/adapters.py\", line 563, in send", "    raise SSLError(e, request=request)", "requests.exceptions.SSLError: HTTPSConnectionPool(host='dns.estuary.tech', port=5380): Max retries exceeded with url: /api/zones/records/get?token=fa96e6...&domain=estuary.tech&zone=estuary.tech&listZone=true (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)')))"], "stdout": "", "stdout_lines": []}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NoneType: None
}

PLAY RECAP ********************************************************************************************************************************************
localhost                  : ok=23   changed=0    unreachable=0    failed=1    skipped=10   rescued=0    ignored=0 

I'll have to revert to http for now, work a look into.

Zorlin commented 1 year ago

Don't revert to HTTP.

We'll fix the certs. Don't ever use HTTP, ever.

On Fri, Apr 21, 2023, 8:16 AM Michael @.***> wrote:

TASK [Add any A DNS records with Technitium for each VM] ** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NoneType: None failed: [localhost] (item=Creating DNS record for dev-demo01) => {"ansible_loop_var": "item", "changed": true, "item": {"key": 133, "value": {"dns_fqdn": "dev-demo01.estuary.tech", "dns_record_type": "A", "ipv4": "10.24.10.1", "mac": {"net0": "C0:FF:EE:CA:FE:42"}, "name": "dev-demo01"}}, "msg": "non-zero return code", "rc": 1, "stderr": "Traceback (most recent call last):\n File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 704, in urlopen\n httplib_response = self._make_request(\n ^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 387, in _make_request\n self._validate_conn(conn)\n File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 1045, in _validate_conn\n conn.connect()\n File \"/usr/lib/python3/dist-packages/urllib3/connection.py\", line 414, in connect\n self.sock = ssl_wrapsocket(\n ^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/urllib3/util/ssl.py\", line 449, in ssl_wrap_socket\n ssl_sock = _ssl_wrap_socketimpl(\n ^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/urllib3/util/ssl.py\", line 493, in _ssl_wrap_socket_impl\n return ssl_context.wrap_socket(sock, server_hostname=server_hostname)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3.11/ssl.py\", line 517, in wrap_socket\n return self.sslsocket_class._create(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3.11/ssl.py\", line 1075, in _create\n self.do_handshake()\n File \"/usr/lib/python3.11/ssl.py\", line 1346, in do_handshake\n self._sslobj.do_handshake()\nssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/lib/python3/dist-packages/requests/adapters.py\", line 489, in send\n resp = conn.urlopen(\n ^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 788, in urlopen\n retries = retries.increment(\n ^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/urllib3/util/retry.py\", line 592, in increment\n raise MaxRetryError(_pool, url, error or ResponseError(cause))\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='dns.estuary.tech', port=5380): Max retries exceeded with url: /api/zones/records/get?token=fa96e6...9&domain=estuary.tech&zone=estuary.tech&listZone=true (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)')))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/pcadmin/.ansible/tmp/ansible-tmp-1682035709.507908-89076-266732661142595/technitium_upsert.py\", line 41, in \n response = requests.get(api_url, params=query_params)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/requests/api.py\", line 73, in get\n return request(\"get\", url, params=params, kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/requests/api.py\", line 59, in request\n return session.request(method=method, url=url, kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/requests/sessions.py\", line 587, in request\n resp = self.send(prep, send_kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/requests/sessions.py\", line 701, in send\n r = adapter.send(request, kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/requests/adapters.py\", line 563, in send\n raise SSLError(e, request=request)\nrequests.exceptions.SSLError: HTTPSConnectionPool(host='dns.estuary.tech', port=5380): Max retries exceeded with url: /api/zones/records/get?token=fa96...&domain=estuary.tech&zone=estuary.tech&listZone=true (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)')))\n", "stderr_lines": ["Traceback (most recent call last):", " File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 704, in urlopen", " httplib_response = self._make_request(", " ^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 387, in _make_request", " self._validate_conn(conn)", " File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 1045, in _validate_conn", " conn.connect()", " File \"/usr/lib/python3/dist-packages/urllib3/connection.py\", line 414, in connect", " self.sock = ssl_wrapsocket(", " ^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/urllib3/util/ssl.py\", line 449, in ssl_wrap_socket", " ssl_sock = _ssl_wrap_socketimpl(", " ^^^^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/urllib3/util/ssl.py\", line 493, in _ssl_wrap_socket_impl", " return ssl_context.wrap_socket(sock, server_hostname=server_hostname)", " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3.11/ssl.py\", line 517, in wrap_socket", " return self.sslsocket_class._create(", " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3.11/ssl.py\", line 1075, in _create", " self.do_handshake()", " File \"/usr/lib/python3.11/ssl.py\", line 1346, in do_handshake", " self._sslobj.do_handshake()", "ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)", "", "During handling of the above exception, another exception occurred:", "", "Traceback (most recent call last):", " File \"/usr/lib/python3/dist-packages/requests/adapters.py\", line 489, in send", " resp = conn.urlopen(", " ^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 788, in urlopen", " retries = retries.increment(", " ^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/urllib3/util/retry.py\", line 592, in increment", " raise MaxRetryError(_pool, url, error or ResponseError(cause))", "urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='dns.estuary.tech', port=5380): Max retries exceeded with url: /api/zones/records/get?token=fa96e6...&domain=estuary.tech&zone=estuary.tech&listZone=true (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)')))", "", "During handling of the above exception, another exception occurred:", "", "Traceback (most recent call last):", " File \"/home/pcadmin/.ansible/tmp/ansible-tmp-1682035709.507908-89076-266732661142595/technitium_upsert.py\", line 41, in ", " response = requests.get(api_url, params=query_params)", " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/requests/api.py\", line 73, in get", " return request(\"get\", url, params=params, kwargs)", " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/requests/api.py\", line 59, in request", " return session.request(method=method, url=url, kwargs)", " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/requests/sessions.py\", line 587, in request", " resp = self.send(prep, send_kwargs)", " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/requests/sessions.py\", line 701, in send", " r = adapter.send(request, kwargs)", " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/requests/adapters.py\", line 563, in send", " raise SSLError(e, request=request)", "requests.exceptions.SSLError: HTTPSConnectionPool(host='dns.estuary.tech', port=5380): Max retries exceeded with url: /api/zones/records/get?token=fa96e6...&domain=estuary.tech&zone=estuary.tech&listZone=true (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)')))"], "stdout": "", "stdout_lines": []} An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NoneType: None }

PLAY RECAP **** localhost : ok=23 changed=0 unreachable=0 failed=1 skipped=10 rescued=0 ignored=0

I'll have to revert to http for now, work a look into.

— Reply to this email directly, view it on GitHub https://github.com/application-research/estuary-hosted-infrastructure/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKONLGNK6YDNJD2NHAP2MTXCHGVDANCNFSM6AAAAAAXGFUWEQ . You are receiving this because you are subscribed to this thread.Message ID: @.*** com>

Zorlin commented 1 year ago

Okay, the issue is you're using the wrong URL instead of the one I gave you.

It's https://dns.estuary.tech. standard port 443. No custom port BS.

On Fri, Apr 21, 2023, 9:49 AM Benjamin @.***> wrote:

Don't revert to HTTP.

We'll fix the certs. Don't ever use HTTP, ever.

On Fri, Apr 21, 2023, 8:16 AM Michael @.***> wrote:

TASK [Add any A DNS records with Technitium for each VM] ** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NoneType: None failed: [localhost] (item=Creating DNS record for dev-demo01) => {"ansible_loop_var": "item", "changed": true, "item": {"key": 133, "value": {"dns_fqdn": "dev-demo01.estuary.tech", "dns_record_type": "A", "ipv4": "10.24.10.1", "mac": {"net0": "C0:FF:EE:CA:FE:42"}, "name": "dev-demo01"}}, "msg": "non-zero return code", "rc": 1, "stderr": "Traceback (most recent call last):\n File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 704, in urlopen\n httplib_response = self._make_request(\n ^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 387, in _make_request\n self._validate_conn(conn)\n File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 1045, in _validate_conn\n conn.connect()\n File \"/usr/lib/python3/dist-packages/urllib3/connection.py\", line 414, in connect\n self.sock = ssl_wrapsocket(\n ^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/urllib3/util/ssl.py\", line 449, in ssl_wrap_socket\n ssl_sock = _ssl_wrap_socketimpl(\n ^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/urllib3/util/ssl.py\", line 493, in _ssl_wrap_socket_impl\n return ssl_context.wrap_socket(sock, server_hostname=server_hostname)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3.11/ssl.py\", line 517, in wrap_socket\n return self.sslsocket_class._create(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3.11/ssl.py\", line 1075, in _create\n self.do_handshake()\n File \"/usr/lib/python3.11/ssl.py\", line 1346, in do_handshake\n self._sslobj.do_handshake()\nssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/lib/python3/dist-packages/requests/adapters.py\", line 489, in send\n resp = conn.urlopen(\n ^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 788, in urlopen\n retries = retries.increment(\n ^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/urllib3/util/retry.py\", line 592, in increment\n raise MaxRetryError(_pool, url, error or ResponseError(cause))\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='dns.estuary.tech', port=5380): Max retries exceeded with url: /api/zones/records/get?token=fa96e6...9&domain=estuary.tech&zone=estuary.tech&listZone=true (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)')))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/pcadmin/.ansible/tmp/ansible-tmp-1682035709.507908-89076-266732661142595/technitium_upsert.py\", line 41, in \n response = requests.get(api_url, params=query_params)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/requests/api.py\", line 73, in get\n return request(\"get\", url, params=params, kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/requests/api.py\", line 59, in request\n return session.request(method=method, url=url, kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/requests/sessions.py\", line 587, in request\n resp = self.send(prep, send_kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/requests/sessions.py\", line 701, in send\n r = adapter.send(request, kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3/dist-packages/requests/adapters.py\", line 563, in send\n raise SSLError(e, request=request)\nrequests.exceptions.SSLError: HTTPSConnectionPool(host='dns.estuary.tech', port=5380): Max retries exceeded with url: /api/zones/records/get?token=fa96...&domain=estuary.tech&zone=estuary.tech&listZone=true (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)')))\n", "stderr_lines": ["Traceback (most recent call last):", " File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 704, in urlopen", " httplib_response = self._make_request(", " ^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 387, in _make_request", " self._validate_conn(conn)", " File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 1045, in _validate_conn", " conn.connect()", " File \"/usr/lib/python3/dist-packages/urllib3/connection.py\", line 414, in connect", " self.sock = ssl_wrapsocket(", " ^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/urllib3/util/ssl.py\", line 449, in ssl_wrap_socket", " ssl_sock = _ssl_wrap_socketimpl(", " ^^^^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/urllib3/util/ssl.py\", line 493, in _ssl_wrap_socket_impl", " return ssl_context.wrap_socket(sock, server_hostname=server_hostname)", " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3.11/ssl.py\", line 517, in wrap_socket", " return self.sslsocket_class._create(", " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3.11/ssl.py\", line 1075, in _create", " self.do_handshake()", " File \"/usr/lib/python3.11/ssl.py\", line 1346, in do_handshake", " self._sslobj.do_handshake()", "ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)", "", "During handling of the above exception, another exception occurred:", "", "Traceback (most recent call last):", " File \"/usr/lib/python3/dist-packages/requests/adapters.py\", line 489, in send", " resp = conn.urlopen(", " ^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/urllib3/connectionpool.py\", line 788, in urlopen", " retries = retries.increment(", " ^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/urllib3/util/retry.py\", line 592, in increment", " raise MaxRetryError(_pool, url, error or ResponseError(cause))", "urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='dns.estuary.tech', port=5380): Max retries exceeded with url: /api/zones/records/get?token=fa96e6...&domain=estuary.tech&zone=estuary.tech&listZone=true (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)')))", "", "During handling of the above exception, another exception occurred:", "", "Traceback (most recent call last):", " File \"/home/pcadmin/.ansible/tmp/ansible-tmp-1682035709.507908-89076-266732661142595/technitium_upsert.py\", line 41, in ", " response = requests.get(api_url, params=query_params)", " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/requests/api.py\", line 73, in get", " return request(\"get\", url, params=params, kwargs)", " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/requests/api.py\", line 59, in request", " return session.request(method=method, url=url, kwargs)", " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/requests/sessions.py\", line 587, in request", " resp = self.send(prep, send_kwargs)", " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/requests/sessions.py\", line 701, in send", " r = adapter.send(request, kwargs)", " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", " File \"/usr/lib/python3/dist-packages/requests/adapters.py\", line 563, in send", " raise SSLError(e, request=request)", "requests.exceptions.SSLError: HTTPSConnectionPool(host='dns.estuary.tech', port=5380): Max retries exceeded with url: /api/zones/records/get?token=fa96e6...&domain=estuary.tech&zone=estuary.tech&listZone=true (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)')))"], "stdout": "", "stdout_lines": []} An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NoneType: None }

PLAY RECAP **** localhost : ok=23 changed=0 unreachable=0 failed=1 skipped=10 rescued=0 ignored=0

I'll have to revert to http for now, work a look into.

— Reply to this email directly, view it on GitHub https://github.com/application-research/estuary-hosted-infrastructure/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKONLGNK6YDNJD2NHAP2MTXCHGVDANCNFSM6AAAAAAXGFUWEQ . You are receiving this because you are subscribed to this thread.Message ID: @.*** com>