signal-cli-rest-api icon indicating copy to clipboard operation
signal-cli-rest-api copied to clipboard

New Signal device does not appear within Signal App

Open skynan22 opened this issue 1 year ago • 7 comments

The problem

Setting up HA Signal Addon (Version 0.83; Port 8181, Modus:normal) and starting to register a second device for existing Signal account/number nothing happens after scanning QR code within Signal App (App for iOS latest version).

log in HA says, but there is no hint why nothing happens within Signal App, after scanning the QR code:

  • set -e

  • [ -z /config ]

  • usermod -u 1000 signal-api usermod: no changes

  • groupmod -g 1000 signal-api

  • chown 1000:1000 -R /config

  • cat

  • cap_prefix=-cap_

  • cat /proc/sys/kernel/cap_last_cap

  • seq -s ,-cap_ 0 40

  • caps=-cap_0,-cap_1,-cap_2,-cap_3,-cap_4,-cap_5,-cap_6,-cap_7,-cap_8,-cap_9,-cap_10,-cap_11,-cap_12,-cap_13,-cap_14,-cap_15,-cap_16,-cap_17,-cap_18,-cap_19,-cap_20,-cap_21,-cap_22,-cap_23,-cap_24,-cap_25,-cap_26,-cap_27,-cap_28,-cap_29,-cap_30,-cap_31,-cap_32,-cap_33,-cap_34,-cap_35,-cap_36,-cap_37,-cap_38,-cap_39,-cap_40

  • [ normal = json-rpc ]

    • awkhostname {print $1} -I
  • export HOST_IP=172.30.33.5

  • exec setpriv --reuid=1000 --regid=1000 --init-groups --inh-caps=-cap_0,-cap_1,-cap_2,-cap_3,-cap_4,-cap_5,-cap_6,-cap_7,-cap_8,-cap_9,-cap_10,-cap_11,-cap_12,-cap_13,-cap_14,-cap_15,-cap_16,-cap_17,-cap_18,-cap_19,-cap_20,-cap_21,-cap_22,-cap_23,-cap_24,-cap_25,-cap_26,-cap_27,-cap_28,-cap_29,-cap_30,-cap_31,-cap_32,-cap_33,-cap_34,-cap_35,-cap_36,-cap_37,-cap_38,-cap_39,-cap_40 signal-cli-rest-api -signal-cli-config=/config time="2024-05-08T09:39:32Z" level=info msg="Started Signal Messenger REST API" [GIN] 2024/05/08 - 09:39:55 | 200 | 1.491111622s | 192.168.2.83 | GET "/v1/qrcodelink?device_name=HomeAssistant"

Are you using the latest released version?

  • [X] Yes

Have you read the troubleshooting page?

  • [X] Yes

What type of installation are you running?

Home Assistant Signal Addon

In which mode are you using the docker container?

Normal Mode

What's the architecture of your host system?

x86-64

Additional information

No response

skynan22 avatar May 08 '24 09:05 skynan22

I'm having the same issue. I used Postman to send the HTTP requests and everything works fine up to the point where I read the QR code with Signal version 7.16 for iOS. After confirming the device link, the linked device does not appear in the application. There are no error messages shown.

Jaakko-Oksanen avatar Jun 26 '24 11:06 Jaakko-Oksanen

Update (right after I posted this comment): Check out this thread: https://github.com/bbernhard/signal-cli-rest-api/issues/497

I think the issue stems from the iOS version demanding a device name. For example, when I link my Windows PC to my iOS Signal account, the Windows device asks me to provide a name. Once I do that, the iOS Signal app sees the linked device.

I'm running into the same problem where I'm running the signal-cli on a Raspberry Pi and when I scan the QR code with the iOS device (iPad), nothing happens. When I scan it with my Android phone, the cli registers almost immediately.

arejmaniak avatar Jul 10 '24 02:07 arejmaniak

+1 Can't link with iOS anymore. In the past there was (at least on my side) always the problem of the linked device not showing instantly in the signal app. Sometimes it took several attempts until it worked. But now it's not working at all even after ten or more attempts. I tried in normal and json-rpc mode but no luck. Version 0.145-dev did not work either. Some help would be great. Thanks.

LightningRhino avatar Jul 15 '24 10:07 LightningRhino

I have the same problem, but now on my pixel 5, yesterday I downloaded the app from the play market

Optega avatar Jul 17 '24 05:07 Optega

+1. Unable to link device

ablaszkiewicz avatar Jul 17 '24 14:07 ablaszkiewicz

I abandoned the iOS linkage but Android still worked for me. What I did instead was use the signal CLI to verify and register the phone number as a primary device instead of using the iOS device as the primary and linking as a secondary device.

arejmaniak avatar Jul 18 '24 16:07 arejmaniak

bbernhard/signal-cli-rest-api:0.164-dev seems to work. At least for me.

LightningRhino avatar Jul 29 '24 20:07 LightningRhino

Closing due to inactivity. If its still an issue, please create a new issue.

bbernhard avatar Mar 14 '25 19:03 bbernhard