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

Unable to link device HTTP 409 #298

Closed
jan-schreib opened this issue Jul 22, 2024 · 2 comments · Fixed by #299
Closed

Unable to link device HTTP 409 #298

jan-schreib opened this issue Jul 22, 2024 · 2 comments · Fixed by #299
Assignees

Comments

@jan-schreib
Copy link

When trying to link a new device I get a HTTP 409 response:

Error: failed to provision device: Service error: Unexpected response: HTTP 409

Caused by:
    0: Service error: Unexpected response: HTTP 409
    1: Unexpected response: HTTP 409

gurk.log:

2024-07-22T13:49:23.411440Z  INFO presage::manager::linking: generating qrcode from provisioning link: sgnl://linkdevice?uuid=hidden&pub_key=pubkey   
2024-07-22T13:49:37.948754Z  WARN libsignal_service_hyper::websocket: Websocket closing: Some(CloseFrame { code: Normal, reason: "Closed" })
2024-07-22T13:49:37.948798Z ERROR libsignal_service::websocket: SignalWebSocket: Websocket error: end of web request stream; socket closing
2024-07-22T13:49:38.287775Z ERROR put_json{service=Service path="/v1/devices/link" additional_headers=[] credentials_override=Identified(HttpAuth { username: "myphonenumber" })}:request{method=PUT endpoint=Service additional_headers=[] credentials_override=Identified(HttpAuth { username: "myphonenumber" }) path=/v1/devices/link}: libsignal_service_hyper::push_service: Failed to decode HTTP 409 response: Error decoding JSON response: missing field `missingDevices` at line 1 column 42

Version:

~$ gurk -V          
gurk 0.5.0

Also happens when building from git.
Thank you!

@gferon
Copy link
Collaborator

gferon commented Jul 22, 2024

Hi! We're aware and are currently fixing it upstream 😄

whisperfish/libsignal-service-rs@1b59154

@ffalcon31415
Copy link

ffalcon31415 commented Feb 15, 2025

I have the same error message when linking my account using gurk 0.6.1:

Error:  failed to provision device: Service error: Unexpected response: HTTP 409

Caused by:
    0: Service error: Unexpected response: HTTP 409
    1: Unexpected response: HTTP 409 

gurk.log:

2025-02-15T23:42:10.927002Z ERROR sled::config: cache capacity is limited to the cgroup memory limit: 1003921408 bytes    
2025-02-15T23:42:10.942191Z ERROR sled::config: cache capacity is limited to the cgroup memory limit: 1003921408 bytes  

Appreciate the work on this great project!

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.

3 participants