signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.69k stars 2.69k forks source link

Sending fails with "The server rejected our query, ..." in group chat. #2569

Closed ekohilas closed 6 years ago

ekohilas commented 6 years ago

Bug description

First time sending a youtube link using signal on Linux Mint, message sends to all recipients in group except 1.

Screenshots

bug

Platform info

Signal version: v1.14.4

Operating System: Linux mint 4.4.0-127-generic

Link to debug log

https://debuglogs.org/d877b85756df71b1450e5fd61d7b64b902d431d191b14eba874fe06b2e43e3d8

ekohilas commented 6 years ago

Re-sending after a period of time worked, although not initially.

scottnonnenberg-signal commented 6 years ago

Funny enough, based on your log the server returned a 500 error, a very uncommon thing. Not sure what happened, but I am going to close this. Please reopen if you see it happen again!

jeremymasters commented 5 years ago

I had this today also, @scottnonnenberg-signal image https://debuglogs.org/429f438e483d4eb2643ce14ef17c71b349be37a05d9e0d73bc9980aa455cea5c


ERROR 2019-03-22T16:18:22.816Z GET https://textsecure-service.whispersystems.org/v1/devices 502 Error
ERROR 2019-03-22T16:18:22.818Z background onError: HTTPError: promiseAjax: error response; code: 502
    at HTTPError ([REDACTED]\app.asar\js\modules\web_api.js:377:13)
    at resultPromise.then.result ([REDACTED]\app.asar\js\modules\web_api.js:333:13)
    at process._tickCallback (internal/process/next_tick.js:68:7)
Original stack:
Error
    at _outerAjax ([REDACTED]\app.asar\js\modules\web_api.js:371:19)
    at _ajax ([REDACTED]\app.asar\js\modules\web_api.js:472:14)
    at Object.getDevices ([REDACTED]\app.asar\js\modules\web_api.js:663:14)
    at MessageReceiver.onclose (file:///C:/Users/JeremyWiedemann/AppData/Local/Programs/signal-desktop/resources/app.asar/js/libtextsecure.js:38476:8)
    at W3CWebSocket._dispatchEvent [as dispatchEvent] ([REDACTED]\app.asar\node_modules\yaeti\lib\EventTarget.js:107:17)
    at W3CWebSocket.onConnectFailed ([REDACTED]\app.asar\node_modules\websocket\lib\W3CWebSocket.js:219:14)
    at WebSocketClient.<anonymous> ([REDACTED]\app.asar\node_modules\websocket\lib\W3CWebSocket.js:59:25)
    at WebSocketClient.emit (events.js:182:13)
    at WebSocketClient.failHandshake ([REDACTED]\app.asar\node_modules\websocket\lib\WebSocketClient.js:339:10)
    at ClientRequest.<anonymous> ([REDACTED]\app.asar\node_modules\websocket\lib\WebSocketClient.js:278:18)
ERROR 2019-03-22T16:18:22.820Z Top-level unhandled promise rejection: HTTPError: The server rejected our query, please file a bug report. (original: promiseAjax: error response; code: 502)```
willieling commented 3 years ago

Bug description

I'm getting this error multiple times when using the desktop app.

This happens for any message, not just messages containing links. It is also happening in multiple groups.

I can send messages just fine in the same group chat using my android phone.

Screenshots image

Platform info

Signal version: v1.39.5

Operating System: Windows 10 20H2 Build 19042.746 Windows Feature Experience Pack 120.2212.551.0

Link to debug log

https://debuglogs.org/2f4f0b538fb57f7778dbe5481cff0b0f8b22af81304a2d18a6d64ace491f7540

duck-rh commented 3 years ago

Quack,

I do have the same problems ("The server rejected our query, please file a bug report. (original: promiseAjax: error response; code: 503)"). Messages from the phone all work so far but most messages from signal-desktop (but not all) fail. Retrying later did not help until just now (a few hours after the first sign of the problem). I tried on two signal-desktop instances that worked fine previously (one used the day before, the other 2-3 days before) and both experienced the same issue. I did not try group chat but one-to-one messages are affected.

I'm using Signal 5.0.9 and signal-desktop 1.39.5 (official package for Debian) on Debian unstable.

\_o<

shinobinc commented 3 years ago

I'm experiencing exactly the same issue as the OP. Youtube link sent to group chat (4 people in group). Link only sent to one person in the group; didn't make it to the other two.

cpatulea commented 3 years ago

3-person group chat. Sent to one, failed to other.

{"name":"log","hostname":"","pid":32289,"level":30,"msg":"app ready","time":"2021-02-06T04:10:32.479Z","v":0} {"name":"log","hostname":"","pid":32289,"level":30,"msg":"starting version 1.39.6","time":"2021-02-06T04:10:32.479Z","v":0} ... {"name":"log","hostname":"","pid":32289,"level":50,"time":"2021-02-06T04:30:15.222Z","msg":"PUT https://textsecure-service .whispersystems.org/v1/messages/[REDACTED]899 500 Error","v":0} {"name":"log","hostname":"","pid":32289,"level":50,"time":"2021-02-06T04:30:15.234Z","msg":"Message.saveErrors: Failed to create or send message SendMessageNetworkError: The server rejected our query, please file a bug report. (original: promiseAjax: error response; code: 500)\n at new ReplayableError ([REDACTED]/app.asar/ts/textsecure/Errors.js:19:19)\n at new SendMessageNetworkError ([REDACTED]/app.asar/ts/textsecure/Errors.js:69:9)\n at [REDACTED]/app.asar/ts/textsecure/OutgoingMessage.js:172:23\n at async OutgoingMessage.sendToIdentifier ([REDACTED]/app.asar/ts/textsecure/OutgoingMessage.js:387:13)\nOriginal stack:\nHTTPError: promiseAjax: error response; code: 500\n at makeHTTPError ([REDACTED]/app.asar/ts/textsecure/WebAPI.js:389:15)\n at [REDACTED]/app.asar/ts/textsecure/WebAPI.js:354:24\nOriginal stack:\nError\n at _outerAjax ([REDACTED]/app.asar/ts/textsecure/WebAPI.js:384:21)\n at _ajax ([REDACTED]/app.asar/ts/textsecure/WebAPI.js:532:20)\n at Object.sendMessagesUnauth ([REDACTED]/app.asar/ts/textsecure/WebAPI.js:886:20)\n at OutgoingMessage.transmitMessage ([REDACTED]/app.asar/ts/textsecure/OutgoingMessage.js:159:35)\n at [REDACTED]/app.asar/ts/textsecure/OutgoingMessage.js:247:29\n at async OutgoingMessage.sendToIdentifier ([REDACTED]/app.asar/ts/textsecure/OutgoingMessage.js:387:13)","v":0}

hiqua commented 3 years ago

Debug log?

jeremymasters commented 3 years ago

Still having this issue! image

You changed the names now?

dhudetz commented 3 years ago

Still having this issue!

You might want to redact those names.

Done. Do you mind deleting your comment aswell? Thanks.