SMS with bulksms.com - error

Good day all,
I’m trying to set up the sms centre in ERPNext. Currently, I have an account with bulksms.com and this is the provider I would like to try with.

Here is their API page.
Basically, this should be the format:

https://bulksms.vsms.net/eapi/submission/send_sms/2/2.0?username=john&password=abcd1234&message=Hi+Mom+%26+Dad&msisdn=44123123456,44123123457

So I set up my account this way:

And now I am trying to send myself a test sms, this way

But I got this error every time (I have tried it on the production branch and on the development branch as well.)

What am I missing? Did anybody managed to setup sms with bulksms.com?

Thanks in advance for your help.

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 55, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 36, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 854, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 67, in runserverobj
frappe.desk.form.run_method.runserverobj(method, docs=docs, dt=dt, dn=dn, arg=arg, args=args)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/form/run_method.py”, line 35, in runserverobj
r = doc.run_method(method)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 601, in run_method
return Document.hook(fn)(self, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 765, in composer
return composed(self, method, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 748, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 595, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/selling/doctype/sms_center/sms_center.py”, line 79, in send_sms
send_sms(receiver_list, cstr(self.message))
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/doctype/sms_settings/sms_settings.py”, line 66, in send_sms
send_via_gateway(arg)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/doctype/sms_settings/sms_settings.py”, line 79, in send_via_gateway
status = send_request(ss.sms_gateway_url, args)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/doctype/sms_settings/sms_settings.py”, line 96, in send_request
conn.request(‘GET’, api_url + urllib.urlencode(args), headers = headers) # send request
File “/usr/lib/python2.7/httplib.py”, line 979, in request
self._send_request(method, url, body, headers)
File “/usr/lib/python2.7/httplib.py”, line 1013, in _send_request
self.endheaders(body)
File “/usr/lib/python2.7/httplib.py”, line 975, in endheaders
self._send_output(message_body)
File “/usr/lib/python2.7/httplib.py”, line 835, in _send_output
self.send(msg)
File “/usr/lib/python2.7/httplib.py”, line 797, in send
self.connect()
File “/usr/lib/python2.7/httplib.py”, line 778, in connect
self.timeout, self.source_address)
File “/usr/lib/python2.7/socket.py”, line 553, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -2] Name or service not known

I’m getting the same error with messagebird.com

Have you found a solution to this?

Nope…
Update the version of erpnext. doing bench update

Your ERPNEXT instance is unable to resolve bulksms.vsms.net. You need to figure out why.

Some possible problems that come to mind

Is it a self-hosted installation?
if yes, make sure you have set in DNS Server

This error can be solved by the people of bulksms.com in a better way. Their bulk SMS Customer care officers can solve this issue