Closed fr1sty closed 4 months ago
You cannot use the loopback address. Use the machine IP address or the container hostname.
I never got message receiving to work, if changing the address does not work then I would direct you to the upstream project. This project simply repackages the upstream for easy installation for HAOS users.
I’m able to send messages to my phone using the integration. But I can’t get receiving messages to work. I set everything up like in the manual. The integration is running in json-rpc mode. `- resource: "http://127.0.0.1:8080/v1/receive/"
headers:
Content-Type: application/json
sensor:
and `... trigger:
Looking in the logs is giving me the following errors
2024-02-13 19:40:19.985 DEBUG (MainThread) [homeassistant.components.rest.data] Updating from http://127.0.0.1:8080/v1/receive/{mynumber} 2024-02-13 19:40:20.002 DEBUG (MainThread) [homeassistant.components.rest] Finished fetching rest data data in 0.017 seconds (success: True) 2024-02-13 19:40:20.002 DEBUG (MainThread) [homeassistant.components.rest.data] Data fetched from resource: Bad Request {"error":"websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header"} 2024-02-13 19:40:20.002 WARNING (MainThread) [homeassistant.components.rest.util] REST result could not be parsed as JSON 2024-02-13 19:40:20.003 DEBUG (MainThread) [homeassistant.components.rest.util] Erroneous JSON: Bad Request {"error":"websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header"}
I'm sorry for the layout, i can't seem to fix it. For better reading I also posted it here https://community.home-assistant.io/t/unable-to-receive-messages-using-signal-messenger-integration/689580