Coder Social home page Coder Social logo

Comments (9)

korapp avatar korapp commented on June 3, 2024

Does visiting [your_ha_ur]/api/ also return a 404? (Trailing slash is important)

from plasma-homeassistant.

CleanShirtUK avatar CleanShirtUK commented on June 3, 2024

Visiting http://[SERVER-IP]:8123/api/ results in 401: Unauthorized... So I'm assuming that means I'm barking up the wrong tree right, and something in my HA setup?

from plasma-homeassistant.

korapp avatar korapp commented on June 3, 2024

401 in this case is expected because no token was passed. The step was to make sure the API is reachable.

Is it possible that you don't have a default_config: or at least frontend: entry in the server configuration?
In most instances, the default_config component is enabled which indirectly provides the WebSocket API (dependency chain: default_config > frontend > websocket_api) but maybe you have a more custom configuration.

from plasma-homeassistant.

NWAF-NAN00K avatar NWAF-NAN00K commented on June 3, 2024

I was getting the same error when I used the url of homeassistant with a trailing slash at the end, ie http://homeassistant.local:8123/. With traling slash You can see wrong profile url in applet config: http://homeassistant:8123//profile. Without the trailing slash, the applet connected to homeassistant without errors. However, I also created a special - non admin user for the plasma applet.

However, the applet behaves strangely when entering the url. When the traling slash is deleted from existing url, the apply button not became active. The applet does not take this as a "change".

from plasma-homeassistant.

github-actions avatar github-actions commented on June 3, 2024

This issue is stale because it has been open for 30 days with no activity.

from plasma-homeassistant.

D3SOX avatar D3SOX commented on June 3, 2024

I think I have the same issue

Is it possible that you don't have a default_config: or at least frontend: entry in the server configuration?

I don't think so

image

Homeassistant logs says:

WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from xxx.xxx.xxx.xxx. Requested URL: '/api/websocket'. (None)

I can connect via Insomnium
image

from plasma-homeassistant.

korapp avatar korapp commented on June 3, 2024

Can you see HomeAssistant entry in kwalletmanager?

from plasma-homeassistant.

github-actions avatar github-actions commented on June 3, 2024

This issue is stale because it has been open for 30 days with no activity.

from plasma-homeassistant.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.