signal-golang / textsecure

TextSecure(signal) client package for Go
GNU General Public License v3.0
57 stars 26 forks source link

bundle of 401 during work with texsecure #71

Closed argon338 closed 1 year ago

argon338 commented 1 year ago

When try to do anything there is 401 error

./textsecure -showdevices INFO[0000] [textsecure] Setting log level to debug INFO[2022/11/08 14:38:27] [textsecure-crayfish] Starting crayfish-backend INFO[2022/11/08 14:38:27] Registration done.
DEBU[2022/11/08 14:38:27] [textsecure] saving config +79636044365
DEBU[2022/11/08 14:38:27] [textsecure] UpdateProfile ab334dad-75e5-4b1d-a210-bb522e8a332d argon DEBU[2022/11/08 14:38:27] [crayfish] starting crayfish e76f1cb11caad441c7961a14243d5c78fdeee2dc DEBU[2022/11/08 14:38:27] [crayfish] Starting libsignal-service web socket at ws://127.0.0.1:9081/libsignal DEBU[2022/11/08 14:38:28] [textsecure] PUT /v1/profile/ 401
INFO[2022/11/08 14:38:28] [textsecure] Checking certificate
INFO[2022/11/08 14:38:28] [textsecure] Using existing profile key credential 145 DEBU[2022/11/08 14:38:28] [textsecure-crayfish-ws] BackendStartListening DEBU[2022/11/08 14:38:28] [textsecure-crayfish-ws] websocket connecting to crayfish-server DEBU[2022/11/08 14:38:28] [textsecure-crayfish-ws] websocket Connected successfully DEBU[2022/11/08 14:38:28] [crayfish] establishing client connection... WebSocket DEBU[2022/11/08 14:38:28] [textsecure] GET /v1/devices/ 401

./textsecure -leavegroup string
INFO[0000] [textsecure] Setting log level to debug INFO[2022/11/08 14:41:28] [textsecure-crayfish] Starting crayfish-backend INFO[2022/11/08 14:41:28] Registration done.
DEBU[2022/11/08 14:41:28] [textsecure] saving config +79636044365
DEBU[2022/11/08 14:41:28] [textsecure] UpdateProfile ab334dad-75e5-4b1d-a210-bb522e8a332d argon DEBU[2022/11/08 14:41:28] [crayfish] starting crayfish e76f1cb11caad441c7961a14243d5c78fdeee2dc DEBU[2022/11/08 14:41:28] [crayfish] Starting libsignal-service web socket at ws://127.0.0.1:9081/libsignal DEBU[2022/11/08 14:41:28] [textsecure] PUT /v1/profile/ 401
INFO[2022/11/08 14:41:28] [textsecure] Checking certificate
INFO[2022/11/08 14:41:28] [textsecure] Using existing profile key credential 145 DEBU[2022/11/08 14:41:28] [textsecure] GetRegisteredContacts
DEBU[2022/11/08 14:41:28] [textsecure] read contacts from .config/contacts.yml DEBU[2022/11/08 14:41:29] [textsecure-crayfish-ws] BackendStartListening DEBU[2022/11/08 14:41:29] [textsecure-crayfish-ws] websocket connecting to crayfish-server DEBU[2022/11/08 14:41:29] [textsecure-crayfish-ws] websocket Connected successfully DEBU[2022/11/08 14:41:29] [crayfish] establishing client connection... WebSocket DEBU[2022/11/08 14:41:29] [textsecure] GET /v1/directory/auth 401
DEBU[2022/11/08 14:41:29] [textsecure] getCredentials
DEBU[2022/11/08 14:41:29] [textsecure] GetAndVerifyMultiRemoteAttestation DEBU[2022/11/08 14:41:29] [textsecure] PUT with auth /v1/attestation/c98e00a4e3ff977a56afefe7362a27e4961e4f19e211febfbb19b897e6b80b15 401 INFO[2022/11/08 14:41:29] Could not get contacts: could not get remote attestation invalid character 'C' looking for beginning of value