Bonjour à tous,
J’ai depuis ce week-end des soucis sur les notifications que j’envois sur mon téléphone.
Voici le message que j’ai dans les logs :
Send notification to [8406] with data {"type":"DISPLAY_NOTIF","payload":{"cmdId":"8406","title":"test","message":"test","answer":null,"timeout":null,"notificationId":17272596123860,"otherAskCmdId":null,"options":[],"files":[],"id":"defaultNotif","channel":"default","index":0,"time":1727259612}}
1332|[2024-09-25 12:20:19] DEBUG : JSON OUTPUT : " {\"SuccessCount\":0,\"FailureCount\":1,\"Responses\":[{\"Success\":false,\"MessageID\":\"\",\"Error\":{\"ErrorCode\":\"UNKNOWN\",\"String\":\"unknown error while making an http call: Post \\\"https:\/\/fcm.googleapis.com\/v1\/projects\/jeedomconnect\/messages:send\\\": oauth2: cannot fetch token: 400 Bad Request\\nResponse: {\\\"error\\\":\\\"invalid_grant\\\",\\\"error_description\\\":\\\"Invalid JWT: Token must be a short-lived token (60 minutes) and in a reasonable timeframe. Check your iat and exp values in the JWT claim.\\\"}\",\"Response\":null,\"Ext\":{}}}]}\n"
1333|[2024-09-25 12:20:19] DEBUG : -- SuccessCount : 0
1334|[2024-09-25 12:20:19] DEBUG : -- FailureCount : 1
1335|[2024-09-25 12:20:19] DEBUG : -- Responses :
1336|[2024-09-25 12:20:19] DEBUG : {"Success":false,"MessageID":"","Error":{"ErrorCode":"UNKNOWN","String":"unknown error while making an http call: Post \"https:\/\/fcm.googleapis.com\/v1\/projects\/jeedomconnect\/messages:send\": oauth2: cannot fetch token: 400 Bad Request\nResponse: {\"error\":\"invalid_grant\",\"error_description\":\"Invalid JWT: Token must be a short-lived token (60 minutes) and in a reasonable timeframe. Check your iat and exp values in the JWT claim.\"}","Response":null,"Ext":[]}}
1337|[2024-09-25 12:20:19] ERROR : Erreur détectée sur le dernier envoi de notification => {"SuccessCount":0,"FailureCount":1,"Responses":[{"Success":false,"MessageID":"","Error":{"ErrorCode":"UNKNOWN","String":"unknown error while making an http call: Post \"https:\/\/fcm.googleapis.com\/v1\/projects\/jeedomconnect\/messages:send\": oauth2: cannot fetch token: 400 Bad Request\nResponse: {\"error\":\"invalid_grant\",\"error_description\":\"Invalid JWT: Token must be a short-lived token (60 minutes) and in a reasonable timeframe. Check your iat and exp values in the JWT claim.\"}","Response":null,"Ext":[]}}]}
J’ai l’impression qu’il y a une erreur d’authentification sur la fonction google utilisé pour envoyer les messages.
Suis je le seul?
Savez vous quel problème peut occasionner ces erreurs?
Je vous remercie pour votre retour.
Bapt
Info JeedomConnect :
Appuyez sur le bouton 'copier' en bas de la fenêtre pour récupérer l'ensemble des informations affichées, et partagez/collez-les à chaque nouveau post sur le forum !
Jeedom Core : 4.4.17 (master)
DNS Jeedom : oui
Statut Démon : Stoppé (NA)
Version JC : 1.11.0 stable
Version OS : debian 11.11
Version PHP : 7.4.33
Bin : ok / vNotif_2
Equipements :
Tel Eléa : v1.8.0 stable sur android [os : 31] (polling) - PA
Tel Emmy : v1.8.0 stable sur android [os : 33] (polling) - PA
Iphone Christine JC : v1.8.0 stable sur ios [os : 17.5.1] (polling) - PA
JC BaptouS22 : v1.8.0 stable sur android [os : 34] (polling) - PA
Tab Salon : v1.8.0 stable sur android [os : 30] (polling) - PA
