isamert / scli

a simple terminal user interface for signal messenger (using signal-cli)
GNU General Public License v3.0
449 stars 39 forks source link

Cannot link: `Network Error` in the app. #153

Closed mizzunet closed 2 years ago

mizzunet commented 2 years ago

I'm getting "Network Error" after scanning QR and then clicking Link device in Android app. I tried several times.

Here's how I generated QR image

Though I was able to link with signal-cli. After this issue, I unlinked and linked with signal-cli and it works.

mizzunet commented 2 years ago

Hmm. I resolved it. My shell is fish, I ran scli link in bash and I got it approved.

signal-cli link -n "optional device name" | tee >(xargs -L 1 qrencode -t utf8) also was ran at bash, in fish it wasn't returning anything. And when I canceled it I got an error related piping,

✘  ~  signal-cli link -n "signal-cli" | tee >(xargs -L 1 qrencode -t utf8)
^Cfish: Invalid redirection target:
signal-cli link -n "signal-cli" | tee >(xargs -L 1 qrencode -t utf8)
                                      ^
exquo commented 2 years ago

Yes sounds like something's up with the shell setup. (Maybe the network settings?)

I've tried in a fresh install of fish, and it has worked fine.