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

Error 404 #306

Open
ivers1en opened this issue Jul 10, 2024 · 6 comments
Open

Error 404 #306

ivers1en opened this issue Jul 10, 2024 · 6 comments

Comments

@ivers1en
Copy link

image
image

Hello

I tried everything for days trying to find my plejd devices.
Im running HA on a RPI4

I have tried to set the plejd addon up with the MQTT in 100 different ways. Changing the name of the MQTT host, trying with IP adresses, with or without the MQTT://

Login info works on the app so thats not the problem, i tried changing the MQTT user name and passowrd.

I dont know anymore

@irisityvictorhagelback
Copy link

irisityvictorhagelback commented Jul 10, 2024

Can you reach the internet from Home assistant? Can you reach the login URL (listed in the log above).

Works from here, so I think it's probably something local (or Plejd's servers were down for a while)

(btw, the error is with respect to logging in to the Plejd API so it has nothing to do with MQTT)

@ivers1en
Copy link
Author

I actually cant reach the adresse from my internet browser.

image

I guess il send Plejd a email to ask whats going on.
I took over the Plejd site from a different user when he moved out. Might be something there.

Thank you for guiding me on the right path.

@ivers1en
Copy link
Author

Can you reach the internet from Home assistant? Can you reach the login URL (listed in the log above).

Works from here, so I think it's probably something local (or Plejd's servers were down for a while)

(btw, the error is with respect to logging in to the Plejd API so it has nothing to do with MQTT)

The guy i talked to at Plejd had no idea, but he assumed i needed the GWY-01 gateway. Is that true?

@thedalrok
Copy link

You do not need the gateway when running HA but Plejd support won’t help you since this is an unofficial plugin. Your error code 404 from your log suggests you’re not reaching Plejd cloud when trying to get a token for authorization, are you sure your HA installation can reach it. Your other screen dump showing your browser, is that from the same machine as where you are running HA? That response is expected when trying to reach the api directly from a browser and looks ok.

@ivers1en
Copy link
Author

ivers1en commented Aug 2, 2024

You do not need the gateway when running HA but Plejd support won’t help you since this is an unofficial plugin. Your error code 404 from your log suggests you’re not reaching Plejd cloud when trying to get a token for authorization, are you sure your HA installation can reach it. Your other screen dump showing your browser, is that from the same machine as where you are running HA? That response is expected when trying to reach the api directly from a browser and looks ok.

My HA is running on a RPI. The photos are from my browser on the computer where i access HA trough a tunnel using cloudflare.

The last picture witht the error is from my computers browser and when i think about it seems silly to post that.

When you asked if i am sure that my HA can access the plejd api, i am not sure how to test this? I used my login information that i use on the app " and the info is correct"

I am abit lost

@SweVictor
Copy link
Collaborator

So - The browser response you get (403) means unauthorized, which is expected. Meaning "it's working". (from the browser on the computer).

Trying from my HA instance to reach the same path I got the below. I used the "Terminal" addon (from the sidebar in the UI ), but you could do it over SSH or similar as well.

image

If you restart the Plejd addon - do you get the same? (404)
404 means "not found" which is a bit strange. That typically means you reach the server (Plejd's API) but that the specific path is not found.

As thedalrok wrote the plugin is unsupported, meaning Plejd won't help...

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

4 participants