SMS sending problem - non-english text causes such fault!?

Hi everyone.

I’m setting up sms sending gateway and faced with problem. Post request isn’t sent.

  1. I have sms gateway called alphasms (alphasms.ua). They have XML-based API.
    I.e. I need to post XML to URL.
  2. I have python script, which is making such XML-doc in format they are need.
  3. When I launch script directly from web-browser everything works fine.
  4. I have set all in ERPNext (screenshot is attached
  5. My script log says that it has been launched and formed correct XML

DEBUG:root:<?xml version="1.0" encoding="utf-8" ?>


test message тест сообщение РАЗ ДВА 3


DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): alphasms.ua

  1. There is no any error messages on screen or in logs

What I’m doing wrong? How can I check why no connection to gateway?

Help me plz

Anyone, any ideas ?

I understood, why I couldn’t send sms.
It was due to russian characters in message text.
So at this moment the question is: why russian (I think non-english) text causes such fault?

Thanks for reporting this @masakari -

Perhaps say a German, French or Spanish user can report and offer advice on their regional environment SMS setting issues?

Perhaps dig up and post an error traceback, to identify where the issue lies say a regional translation snag - be sure to check logs like /var/log/message.

For clues and pointers maybe check for forum threads like this Unicode support for SMS - #4 by Pawan

And also here too for leads and ideas Issues · frappe/erpnext · GitHub

Thank you for you help !
I’ll look your links