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

cannot link device #101

Closed
greweln opened this issue Sep 10, 2021 · 6 comments · Fixed by #102
Closed

cannot link device #101

greweln opened this issue Sep 10, 2021 · 6 comments · Fixed by #102

Comments

@greweln
Copy link

greweln commented Sep 10, 2021

I'm scaning the barcode with both Samsung and Apple phone but getting either "network error", ""no device found", "device approuved"(but doesn't appear under linked devices).
Any advice?

@0xd13ad10c
Copy link

Can confirm something similar is happening to me on initial start up as well.

I scan the bar code and the following error gets sent to command line:

Linking new device with device name: gurk@IceCube
Error: libsignal-service sending error: Unexpected response: HTTP 404

Caused by:
    0: Unexpected response: HTTP 404
    1: Unexpected response: HTTP 404

I noticed that afterwards the device is linked with unnamed device but then no json file or config is created.

@boxdot
Copy link
Owner

boxdot commented Sep 22, 2021

I am afraid this problem might be either in presage or even deeper in https://github.com/whisperfish/libsignal-service-rs. Maybe you could try to link with RUST_LOG=debug exported. This might show a better log for tracking the issue.

@corporealshift
Copy link

I'm getting the same error. I tried with RUST_LOG=debug and didn't have any better messages come through =(

> RUST_LOG=debug gurk
Linking new device with device name: gurk@Kyle's-MacBook-Pro
Error: libsignal-service sending error: Unexpected response: HTTP 404

Caused by:
    0: Unexpected response: HTTP 404
    1: Unexpected response: HTTP 404
    ```

@gferon
Copy link
Collaborator

gferon commented Sep 30, 2021

Should be easy to reproduce, I'll give it a look ASAP!

boxdot pushed a commit that referenced this issue Oct 1, 2021
* Uses the fix merged in whisperfish/presage#36
* This fixes issues with linking devices (#101)
@chaseadam
Copy link

still getting this error with 0.2.2 https://github.com/boxdot/gurk-rs#ad23e250

@gferon
Copy link
Collaborator

gferon commented Oct 12, 2021

@chaseadam sorry, you're right! once #105 it should work. (ah, the joy of dependencies across multiple git repositories 😄)

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

Successfully merging a pull request may close this issue.

6 participants