Perdu avec telegramm

bonjour,

je suis débutant et ja i un soucis avec Telegram
Mon certificat SSL est valide
le port 443 bien ouvert (j ai accès à jeedom via adresse https://xxxx.ddns.net)
le token est le bon
mon pseudo sur Telegram est bien saisi

quand je lance un msg sur le bot j ai bien les coches verte mais il ne me répond pas ni sur téléphone ni sur l appli pc
rien n apparait sur les logs sur jeedom
pour l histoire j en suis a ma deuxième install est lors de la première j avais réussi à le faire fonctionner…

Jai lu pas mal de chose sur le fofo ici mais rien ne m a permis de débloquer ma situation.

merci par avance de votre aide

fred

Bonjour,
Qu’est ce qu’un certificat ssl valide d’après toi ? Comment pouvons nous en être sûr ?
Il manque des logs aussi, en debug.

je verifié sur ce site le ssl : Check SSL Certificate

et ma page de log est vide…

Montre nous ta page réseau stp

voila :slight_smile:

voici le log debug au redemarage du pluggin :


[2020-12-04 15:48:01][DEBUG] : {"ok":true,"result":true,"description":"Webhook is already set"}
[2020-12-04 15:48:01][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=telegram function=remove callInstallFunction=1
[2020-12-04 15:48:05][INFO] : Début d'activation du plugin
[2020-12-04 15:48:06][INFO] : Info sur le démon : {"launchable_message":"","launchable":"nok","state":"nok","log":"nok","auto":0}
[2020-12-04 15:48:06][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=telegram function=install callInstallFunction=1

bon j ai trouvé la solution…je reprends tout à zero

et j ai bien fait !! en tout cas merci pour votre aide

Et c’est quoi la solution que tu as trouvée ?

hello,
j ai tout réinstallé de zero avec un soucis sur l install de letsencrypt qui m a répondu « certbot deprecated » du coup je suis allé sur le site https://certbot.eff.org/ et jai suivi la manip d 'installation :

  1. SSH into the serverSSH into the server running your HTTP website as a user with sudo privileges.
  2. Install snapdYou’ll need to install snapd and make sure you follow any instructions to enable classic snap support.
    Follow these instructions on snapcraft’s site to install snapd.install snapd
  3. Ensure that your version of snapd is up to dateExecute the following instructions on the command line on the machine to ensure that you have the latest version of snapd.

sudo snap install core; sudo snap refresh core

  1. Remove any Certbot OS packagesIf you have any Certbot packages installed using an OS package manager like apt, dnf, or yum, you should remove them before installing the Certbot snap to ensure that when you run the command certbot the snap is used rather than the installation from your OS package manager. The exact command to do this depends on your OS, but common examples are sudo apt-get remove certbot, sudo dnf remove certbot, or sudo yum remove certbot.
  2. Install CertbotRun this command on the command line on the machine to install Certbot.

sudo snap install --classic certbot

  1. Prepare the Certbot commandExecute the following instruction on the command line on the machine to ensure that the certbot command can be run.

sudo ln -s /snap/bin/certbot /usr/bin/certbot

  1. Choose how you’d like to run Certbot
  • Either get and install your certificates…Run this command to get a certificate and have Certbot edit your Apache configuration automatically to serve it, turning on HTTPS access in a single step.

sudo certbot --apache

  • Or, just get a certificateIf you’re feeling more conservative and would like to make the changes to your Apache configuration by hand, run this command.

sudo certbot certonly --apache
8. Test automatic renewalThe Certbot packages on your system come with a cron job or systemd timer that will renew your certificates automatically before they expire. You will not need to run Certbot again, unless you change your configuration. You can test automatic renewal for your certificates by running this command:

sudo certbot renew --dry-run

The command to renew certbot is installed in one of the following locations:

  • /etc/crontab/
  • /etc/cron./
  • systemctl list-timers
  1. Confirm that Certbot workedTo confirm that your site is set up properly, visit https://yourwebsite.com/ in your browser and look for the lock icon in the URL bar.

Et du coup tout fonctionne à nouveau :slight_smile:

3 « J'aime »

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.