Skip to content

Instantly share code, notes, and snippets.

@abeluck
Created November 3, 2018 17:17
Show Gist options
  • Save abeluck/6e394cc969470945c0ec52c749e1486d to your computer and use it in GitHub Desktop.
Save abeluck/6e394cc969470945c0ec52c749e1486d to your computer and use it in GitHub Desktop.
sending 57f56c83-7b4d-4fb4-b631-3f85a1cc787b +55555555555 test
GET https://textsecure-service-staging.whispersystems.org/v2/keys/+55555555555/1
GET https://textsecure-service-staging.whispersystems.org/v2/keys/+55555555555/1 200 Success
Trying to get session for identifier: +55555555555.1
Saving new identity...
Trying to get session for identifier: +55555555555.1
PUT https://textsecure-service-staging.whispersystems.org/v1/messages/+55555555555
PUT https://textsecure-service-staging.whispersystems.org/v1/messages/+55555555555 409 Error
{ successfulNumbers: [],
errors:
[ { OutgoingMessageError: no http error
at new ReplayableError (/home/vagrant/signal-bots/node_modules/libsignal-service-javascript/src/errors.js:21:13)
at new OutgoingMessageError (/home/vagrant/signal-bots/node_modules/libsignal-service-javascript/src/errors.js:57:5)
at OutgoingMessage.registerError (/home/vagrant/signal-bots/node_modules/libsignal-service-javascript/src/outgoing_message.js:49:15)
at store.getDeviceIds.then.deviceIds (/home/vagrant/signal-bots/node_modules/libsignal-service-javascript/src/outgoing_message.js:69:23)
at process._tickCallback (internal/process/next_tick.js:68:7)
name: 'OutgoingMessageError',
functionCode: undefined,
number: '+55555555555',
reason: 'Got empty device list when loading device keys' } ],
dataMessage: <Buffer 0a 04 74 65 73 74 32 05 69 3d e5 f6 a2> }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment