Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pb Accès Broker (résolu) et accès portail GRDF (nouveau) #82

Open
karba78 opened this issue Nov 9, 2024 · 2 comments
Open

Pb Accès Broker (résolu) et accès portail GRDF (nouveau) #82

karba78 opened this issue Nov 9, 2024 · 2 comments

Comments

@karba78
Copy link

karba78 commented Nov 9, 2024

Hello
mon addon Gazpar2MQTT ne se connect plus, sans avoir change de fichiers de config
seulement effectue des mises a jour de HomeAssistant
je me connecte parfaitement avec les memes paramètres depuis MQTT explorer
j ai d autres addons (2 zigbee2mqtt) qui se connectent sans problème.
rechecke toutes les configs.
qq un d autre a eu le meme problème et en changeant le topic cela a résolu le pb, pas ici
merci

sur la console du broker j ai
2024-11-09 20:53:14: mosquitto version 2.0.18 running
2024-11-09 20:53:14: New connection from ::1:43980 on port 1883.
2024-11-09 20:53:14: Client disconnected due to protocol error.
estrangement dans les logs il ne voit pas. l adresse ip du client gazpar2mqtt:
New connection from ::1:43980 on port 1883.
contrairement aux autres
New connection from 172.30.33.3:60828 on port 1883.

et sur la console de GazPar2MQTT j ai

2024-11-09 21:13:06,417 INFO -----------------------------------------------------------
2024-11-09 21:13:06,418 INFO # Connexion to Mqtt broker #
2024-11-09 21:13:06,419 INFO -----------------------------------------------------------
2024-11-09 21:13:06,419 INFO Connect to Mqtt broker...
2024-11-09 21:13:06,420 DEBUG Mqtt connect : activation of callbacks
2024-11-09 21:13:06,421 DEBUG Mqtt connect : connection to broker core-mosquitto :1883...
2024-11-09 21:13:06,424 ERROR Unable to connect to Mqtt broker. Please check that broker is running, or check broker configuration.

etrangement

@karba78
Copy link
Author

karba78 commented Nov 9, 2024

j ai fait un retour a la ligne après
MQTT_HOST: core-mosquitto

hostname or ip adress of the MQTT broker.

au lieu de
MQTT_HOST: core-mosquitto. # hostname or ip adress of the MQTT broker.
et ca s est reconnecte
maintenant problème d auth avec GRDF

@karba78
Copy link
Author

karba78 commented Nov 9, 2024

2024-11-09 21:45:10,309 INFO Connexion to GRDF, try 2/14...
2024-11-09 21:45:10,335 DEBUG Starting new HTTPS connection (1): monespace.grdf.fr:443
2024-11-09 21:45:10,408 DEBUG https://monespace.grdf.fr:443 "GET /client/particulier/accueil HTTP/1.1" 302 None
2024-11-09 21:45:10,425 DEBUG Starting new HTTPS connection (1): connexion.grdf.fr:443
2024-11-09 21:45:10,696 DEBUG https://connexion.grdf.fr:443 "GET /oauth2/aus5y2ta2uEHjCWIR417/v1/authorize?response_type=code&scope=openid+profile+email&client_id=0oa95ese18blzdg3p417&state=%2Fclient%2Fparticulier%2Faccueil&redirect_uri=https://monespace.grdf.fr/_codexch&nonce=Cwh91ja7uNpLE5V-9k3cXswGaom-Oq37OHuLKIUSzNk&by_pass_okta=1&capp=meg HTTP/1.1" 200 None
2024-11-09 21:45:10,713 DEBUG Cookies ok.
2024-11-09 21:45:10,715 DEBUG auth_nonce: 44bb4d264ad0312928ffe0b1f19fe22e
2024-11-09 21:45:10,715 DEBUG Logging ...
2024-11-09 21:45:10,716 DEBUG Logging payload : {'email': '[email protected]', 'password': 'yyyyyy', 'capp': 'meg', 'goto': 'https://sofa-connexion.grdf.fr:443/openam/oauth2/externeGrdf/authorize'}
2024-11-09 21:45:10,726 DEBUG Starting new HTTPS connection (1): login.monespace.grdf.fr:443
2024-11-09 21:45:10,801 DEBUG https://login.monespace.grdf.fr:443 "POST /sofit-account-api/api/v1/auth HTTP/1.1" 302 None
2024-11-09 21:45:10,809 DEBUG Logging returned :

<title>302 Found</title><script type="text/javascript" src="/ruxitagentjs_ICA7NVfgqrux_10291240606133530.js" data-dtconfig="rid=RID_-1017566506|rpid=-635261157|domain=grdf.fr|reportUrl=/rb_28b71b64-4e54-4ada-9d42-8518f652345d|app=ba8bbae595af8ce5|cuc=2hlb4rsn|mel=100000|featureHash=ICA7NVfgqrux|dpvc=1|ssv=4|lastModification=1729504266862|tp=500,50,0|rdnt=0|uxrgce=1|bp=3|agentUri=/ruxitagentjs_ICA7NVfgqrux_10291240606133530.js"></script>

302 Found


nginx/1.19.0

@karba78 karba78 changed the title RROR Unable to connect to Mqtt broker. Please check that broker is running, or check broker configuration. Pb Accès Broker (résolu) et accès portail GRDF (nouveau) Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant