Problème SMS, Huawei,Json mal formé

Bonjour @tux1c0,
Je n’arrive pas à avoir un envoi/réception de SMS, c’est assez erratique (parfois oui, souvent non).
C’est identique sur 2 de mes routeurs (B715 et B818) connectés chez Free.
Et idem sur un B525 connecté chez Syma(SFR).
J’ai supprimé le plugin , réinstallé, rien n’y fait.

Les erreurs dans le debug ci dessous.
Merci de ton attention
Philippe

[2021-09-20 12:37:51][DEBUG] : title:
[2021-09-20 12:37:51][DEBUG] : message:
[2021-09-20 12:38:23][DEBUG] : ['{"huawei_lte_api": "1.4.12"}', '{"message": ""}', (<class 'requests.exceptions.ConnectionError'>, ConnectionError(MaxRetryError("HTTPConnectionPool(host='192.168.3.20', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff7056a6dd8>: Failed to establish a new connection: [Errno 110] Connection timed out'))")), <traceback object at 0x7ff7056a99c8>)]
[2021-09-20 12:38:23][DEBUG] : Sending:
[2021-09-20 12:38:23][DEBUG] : sendsms [Informatique][Routeur 3.20][Envoyer SMS]
[2021-09-20 12:40:03][DEBUG] : tableau frequency from JSON: Array
[2021-09-20 12:40:34][DEBUG] : ['{"huawei_lte_api": "1.4.12"}', (<class 'requests.exceptions.ConnectionError'>, ConnectionError(MaxRetryError("HTTPConnectionPool(host='192.168.3.20', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f19c6095c50>: Failed to establish a new connection: [Errno 110] Connection timed out'))")), <traceback object at 0x7f19c60b28c8>)]
[2021-09-20 12:40:34][DEBUG] : PreOutput: ['{"huawei_lte_api": "1.4.12"}', (<class 'requests.exceptions.ConnectionError'>, ConnectionError(MaxRetryError("HTTPConnectionPool(host='192.168.3.20', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f19c6095c50>: Failed to establish a new connection: [Errno 110] Connection timed out'))")), <traceback object at 0x7f19c60b28c8>)]
[2021-09-20 12:40:34][DEBUG] : PostOutput: Array
[2021-09-20 12:40:34][DEBUG] : 0: {"huawei_lte_api": "1.4.12"}', (<class 'requests.exceptions.ConnectionError'>, ConnectionError(MaxRetryError("HTTPConnectionPool(host='192.168.3.20', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f19c6095c50>: Failed to establish a new connection: [Errno 110] Connection timed out'))")), <traceback object at 0x7f19c60b28c8>}
[2021-09-20 12:40:34][DEBUG] :  - Erreur de syntaxe ; JSON malformé

Hello
le log indique un problème de connexion au routeur. A-t-il un firewall intégré qui bloquerait la connexion de temps en temps ? J’ai eu ce comportement dans le passé car le plugin le sollicite trop et il se met en sécurité.

Merci Tux,
Effectivement mes 3 routeurs ont le firewall ON.
Je les ai passé sur OFF et j’ai pu envoyé/recevoir un SMS sur l’un d’eux.
Je vais faire plus de tests. J’ai pfsense comme firewall principal;je pense que’il n’y a pas de soucis pour supprimer ceux des routeurs?
J’essaye de récupérer la valeur des datas selon l’opérateur. Chez Free, on les récupère par un SMS (555) et je vois dans le log que le script identifie les données reçues dans le SMS retour de Free.
Comment puis je moi récupérer ce montant comme valeur?image
Merci de ton attention