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

HomeConnect Node does not connect anymore #99

Open
afrixx opened this issue Oct 18, 2024 · 16 comments
Open

HomeConnect Node does not connect anymore #99

afrixx opened this issue Oct 18, 2024 · 16 comments

Comments

@afrixx
Copy link

afrixx commented Oct 18, 2024

Hello,

my home connect event node cannot connect anymore to the API Server.
The credentials did not change.

When I click at the "Start authorization" button in Node Red, another tab opens with 403 Error (https://api.home-connect.com/...).
Did the API change?
Does anybody have the same problem?

Thank you!
Andreas

@drbacke
Copy link

drbacke commented Oct 21, 2024

Same Problem here. Error 403

@TheDooney78
Copy link

Same problem for me. I always get error 403

@pnuding
Copy link

pnuding commented Oct 23, 2024

Same issue - checked I can sign in to the Home Connect developer page normally, but the node-red authorization flow now fails as described above.
Has anyone managed to report the issue to Home Connect? I've tried using the contact form but get a message that "Antibot verification failed" so it won't let me submit

@afrixx
Copy link
Author

afrixx commented Oct 23, 2024

It seems to be a temporary issue. In between it worked again, but also failed again.

I wrote a message to the support (the second sending attempt worked without Antibot verification error), but did not get any response.

@michelscholte
Copy link

See my post "Error 403 since last week #98"which I closed a few weeks ago.. After making an issue I got an email back from the developer team:

Hello Michel.

Sorry for inconvenience, we are aware of this issue, and we are fixing it.

Please try again in a day or two and let me know if there will be still a problem.

Best Regards,

Your Home Connect Developer Team

https://developer.home-connect.com/

Last week, everything was working smoothly, but starting today, I'm getting the same 403 error again.
Hopefully, this is just a temporary issue. I'll reach out via email once more and keep you updated.

@pnuding
Copy link

pnuding commented Nov 8, 2024

Still broken 😢

@drbacke
Copy link

drbacke commented Nov 8, 2024

Same Here

@drbacke
Copy link

drbacke commented Nov 8, 2024

For authorization the below link -> 403 Forbidden:
URL/Code Example:
https://api.home-connect.com/security/oauth/authorize?client_id=XY&response_type=code&redirect_uri=XY
For me it doesn't work all the time

@michelscholte
Copy link

I haven't received any further responses from support, but the system has been working for me now for almost two weeks (just after my last post). The issue now only occurs when Node-RED is restarted. To resolve it, I do these steps:

Check the "Use Simulation" checkbox.
Sign in and accept the prompts.
Click Update and Deploy in Node-RED.
Uncheck the "Use Simulation" box.
Sign in and accept again.
Click Update and Deploy in Node-RED once more.
After these steps, the connection is re-established (in my case).

Knipsel.

You can also try using the computer-name instead of the IP address in the Callback URL, both in Node-RED and on the developer webpage. I had some trouble with this also.
Knipsel

@pnuding
Copy link

pnuding commented Nov 8, 2024

Thanks michelscholte! Neither the checking/unchecking nor the changing to the computer name (i had the IP address before) solved it. But i found that deleting my existing homeconnect application and setting up a new one did work. I've now used the computer name, haven't tried if it would have accepted the IP address

@drbacke
Copy link

drbacke commented Nov 8, 2024

Yes that worked. The Hostname was Not accepted, an IP results in 403.
Server as hostname is also prohibited😵‍💫

@8xiom
Copy link

8xiom commented Dec 8, 2024

Stumbled across the same problem. Thanks to @michelscholte for the hint. Unfortunately, this only works once in my case. As soon as I reconfigure the node (which is necessary because I have still to figure out the correct way to receive the data from my HC appliance, a Siemens coffee machine) the authorization is lost. I have to do the steps over and over again, only works once.

@FireWizard52
Copy link

@8xiom wrote:

Unfortunately, this only works once in my case. As soon as I reconfigure the node (which is necessary because I have still to figure out the correct way to receive the data from my HC appliance, a Siemens coffee machine) the authorization is lost. I have to do the steps over and over again, only works once.

I have the same problem. As soon as I have created a new application, it works once.
If I reconfigure the node, I receive: "auth not ready".

@belveder79
Copy link

Does not work for me either - Simulator works but regular does not.

I just came across a different concern and wanted to hear your thoughts about that...

@FireWizard52
Copy link

FireWizard52 commented Jan 21, 2025

Hello @belveder79

I just came across a different #100 and wanted to hear your thoughts about that...

See my answer in that other topic.

@FireWizard52
Copy link

I think I found something.

I had the same issue if I use http://hostname:1880/homeconnect/auth/callback. It works once.
It connects and you will get your appliances, but as soon as you change the node, it disconnect and will not connect again.

I changed the callback URL into http://hostname:1880//oauth2/auth/callback.
I found this information at: https://github.com/pckhib/node-red-contrib-homeconnect?tab=readme-ov-file

It started to work immediately for me. However if I add a new Home Connect Request node it disconnects again. Playing a little bit with the authorization and switching the callback URL shows again "ready" for all "Request" nodes and "connected" for the "Event". So I think the authorization node is somewhat buggy.

I have never tried it with the IP address, so I cannot confirm, that this shows the same behavior.

I suggest to other users with the same problem to test that other callback URL and report back.

Best Regards

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

8 participants