SMS-Gateway (modern api) https Temporary failure in name resolution

CMK version: 2.2.0p3.cre
OS version: Ubuntu 20.04

Hello everyone,
when I am using the notification rule sms (modern api)(Teltonika-TRB140) with a https-address I get the following error:

Content of field “Summary”:

requests.exceptions.ProxyError: HTTPSConnectionPool(host='p-x-smsgw-p.ms.wvk.lwl.org', port=443): Max retries exceeded with url: /cgi-bin/sms_send (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f732d0e18d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')))

Content of field “Comment”:

Traceback (most recent call last): -- File "/omd/sites/cmk/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn -- conn = connection.create_connection( -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- File "/omd/sites/cmk/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection -- for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- File "/omd/sites/cmk/lib/python3.11/socket.py", line 962, in getaddrinfo -- for res in _socket.getaddrinfo(host, port, family, type, proto, flags): -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- socket.gaierror: [Errno -3] Temporary failure in name resolution -- -- During handling of the above exception, another exception occurred: -- -- Traceback (most recent call last): -- File "/omd/sites/cmk/lib/python3.11/site-packages/urllib3/connectionpool.py", line 700, in urlopen -- self._prepare_proxy(conn) -- File "/omd/sites/cmk/lib/python3.11/site-packages/urllib3/connectionpool.py", line 996, in _prepare_proxy -- conn.connect() -- File "/omd/sites/cmk/lib/python3.11/site-packages/urllib3/connection.py", line 358, in connect -- self.sock = conn = self._new_conn() -- ^^^^^^^^^^^^^^^^ -- File "/omd/sites/cmk/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn -- raise NewConnectionError( -- urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f732d0e18d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution -- -- During handling of the above exception, another exception occurred: -- -- Traceback (most recent call last): -- File "/omd/sites/cmk/lib/python3.11/site-packages/requests/adapters.py", line 489, in send -- resp = conn.urlopen( -- ^^^^^^^^^^^^^ -- File "/omd/sites/cmk/lib/pytho

However, if I specify the URL of the via a web browser, everything goes through cleanly.

Here is my sms-notification rule configuration with https = ERROR:

Here is my sms-notification rule configuration with http = OK:

Our network uses a central Windows PKI and I have specified our root CA in the “Global settings” in checkmk:

I am surprised that the name
http://p-x-smsgw-p.ms.wvk.lwl.org
can be resolved, but
https://p-x-smsgw-p.ms.wvk.lwl.org
cannot.

I would be very grateful for any suggestion for a solution :slight_smile: