-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
- I have searched open and closed issues for duplicates
Bug Description
Attempting to set up a standalone device according to the development setup instructions gives an HTTPError (code 402) when requesting an SMS verification code. The log contains an HTTP 401 error immediately after the app is started up.
Steps to Reproduce
- Follow the development setup instructions at CONTRIBUTING.md to set up a standalone application for development.
Actual Result:
After starting the application with yarn start
, I get the following error in the debug log:
ERROR 2021-02-06T21:34:35.754Z GET https://textsecure-service-staging.whispersystems.org/v1/config 401 Error
ERROR 2021-02-06T21:34:35.756Z Top-level unhandled promise rejection: HTTPError: promiseAjax: error response; code: 401
at makeHTTPError ([REDACTED]/Signal-Desktop/ts/textsecure/WebAPI.js:413:15)
at [REDACTED]/Signal-Desktop/ts/textsecure/WebAPI.js:378:24
Original stack:
Error
at _outerAjax ([REDACTED]/Signal-Desktop/ts/textsecure/WebAPI.js:408:21)
at _ajax ([REDACTED]/Signal-Desktop/ts/textsecure/WebAPI.js:561:20)
at Object.getConfig ([REDACTED]/Signal-Desktop/ts/textsecure/WebAPI.js:623:31)
at Object.refreshRemoteConfig ([REDACTED]/Signal-Desktop/ts/RemoteConfig.js:35:36)
at invokeFunc ([REDACTED]/Signal-Desktop/node_modules/lodash/lodash.js:10359:23)
at leadingEdge ([REDACTED]/Signal-Desktop/node_modules/lodash/lodash.js:10369:26)
at Object.debounced [as maybeRefreshRemoteConfig] ([REDACTED]/Signal-Desktop/node_modules/lodash/lodash.js:10436:20)
at Object.initRemoteConfig ([REDACTED]/Signal-Desktop/ts/RemoteConfig.js:20:19)
at file://[REDACTED]/Signal-Desktop/ts/background.js:502:36
After clicking "Send SMS" in the "Create your Signal Account" page, I get the error
HTTPError: The server rejected our query, please file a bug report. (original: promiseAjax: error response; code: 402)
and no text message. The corresponding error in the debug log is
ERROR 2021-02-08T18:34:00.385Z GET https://textsecure-service-staging.whispersystems.org/v1/accounts/sms/code/+[REDACTED]648 402 Error
Expected Result:
I should receive a text message with a verification code, without error.
Screenshots
Platform Info
Signal Version: v1.40.0-beta.4 (commit 2ecd2d2)
Operating System: Arch Linux (kernel version 5.10.13-arch1-1)
Linked Device Version: N/A
Link to Debug Log
https://debuglogs.org/b4c302cba829e599fed1b8f809070e8dcc127932eb50c6e199a8a0b96ea7b4c5