signalapp / Signal-Desktop

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

Cannot Send And Receive Pictures (Attachments) In China #2311

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hello, I live in China. Both ios and Mac versions can be connected online "signal" The "message transmission" and "voice transmission" are all very smooth. What makes me incredible is that without a VPN, pictures cannot be sent and received smoothly. After you start the VPN, you can receive and send pictures smoothly.

gasi-signal commented 6 years ago

@EthereumD Thanks for your report. We use Amazon S3 for storing and retrieving pictures (attachments) and it presumably might be blocked or interfered with in China. Can you provide your debug logs View > Debug Log so we can investigate the issue?

ghost commented 6 years ago

This is my LOG record

{"name":"log","hostname":"UbuntuD.local","pid":1129,"level":30,"msg":"Send pre-checks took 34 milliseconds","time":"2018-05-02T07:26:38.064Z","v":0}
{"name":"log","hostname":"UbuntuD.local","pid":1129,"level":30,"msg":"Sending message to conversation +[REDACTED]977 with timestamp 1525245998083","time":"2018-05-02T07:26:38.083Z","v":0}
{"name":"log","hostname":"UbuntuD.local","pid":1129,"level":30,"msg":"GET https://textsecure-service.whispersystems.org/v1/attachments","time":"2018-05-02T07:26:38.164Z","v":0}
{"name":"log","hostname":"UbuntuD.local","pid":1129,"level":30,"msg":"GET https://textsecure-service.whispersystems.org/v1/attachments 200 Success","time":"2018-05-02T07:26:39.017Z","v":0}
{"name":"log","hostname":"UbuntuD.local","pid":1129,"level":30,"msg":"PUT https://whispersystems-textsecure-attachments.s3-accelerate.amazonaws.com/5711478513148402606?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180502T072638Z&X-Amz-SignedHeaders=content-type%3Bhost&X-Amz-Expires=3600&X-Amz-Credential=AKIAJHWS3AOTJTASHBDA%2F20180502%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=35a7cd1472cb527d989b36774e0f1f1174d45bec36cddda10d8760f2b6c2de98","time":"2018-05-02T07:26:39.018Z","v":0}
{"name":"log","hostname":"UbuntuD.local","pid":1129,"level":30,"msg":"GET https://whispersystems-textsecure-attachments.s3-accelerate.amazonaws.com/4587000215491679508?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180502T071743Z&X-Amz-SignedHeaders=content-type%3Bhost&X-Amz-Expires=3600&X-Amz-Credential=AKIAJHWS3AOTJTASHBDA%2F20180502%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=1ba71f3147dea80a273671e52f62bfbb1cd4c2de8b3252a8333b63e9932030fa 0 Error","time":"2018-05-02T07:27:01.836Z","v":0}
{"name":"log","hostname":"UbuntuD.local","pid":1129,"level":30,"msg":"Sending a keepalive message","time":"2018-05-02T07:27:08.418Z","v":0}
{"name":"log","hostname":"UbuntuD.local","pid":1129,"level":30,"msg":"trimming conversation +[REDACTED]977 of 1 old messages","time":"2018-05-02T07:27:40.992Z","v":0}
{"name":"log","hostname":"UbuntuD.local","pid":1129,"level":30,"msg":"Sending a keepalive message","time":"2018-05-02T07:28:03.674Z","v":0}
{"name":"log","hostname":"UbuntuD.local","pid":1129,"level":30,"msg":"GET https://whispersystems-textsecure-attachments.s3-accelerate.amazonaws.com/5629760716930873938?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180502T072142Z&X-Amz-SignedHeaders=content-type%3Bhost&X-Amz-Expires=3600&X-Amz-Credential=AKIAJHWS3AOTJTASHBDA%2F20180502%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=9a1e5a0a31e2054530a277efce0650f45c901cc944c61afccf2e4e8f7ece5f76 0 Error","time":"2018-05-02T07:28:10.465Z","v":0}
{"name":"log","hostname":"UbuntuD.local","pid":1129,"level":30,"msg":"GET https://whispersystems-textsecure-attachments.s3-accelerate.amazonaws.com/5629760716930873938?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180502T072142Z&X-Amz-SignedHeaders=content-type%3Bhost&X-Amz-Expires=3600&X-Amz-Credential=AKIAJHWS3AOTJTASHBDA%2F20180502%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=9a1e5a0a31e2054530a277efce0650f45c901cc944c61afccf2e4e8f7ece5f76","time":"2018-05-02T07:28:11.473Z","v":0}
ghost commented 6 years ago

Repeatedly repeat this command

INFO 2018-05-02T07:21:42.974Z GET https://whispersystems-textsecure-attachments.s3-accelerate.amazonaws.com/5629760716930873938?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180502T072142Z&X-Amz-SignedHeaders=content-type%3Bhost&X-Amz-Expires=3600&X-Amz-Credential=AKIAJHWS3AOTJTASHBDA%2F20180502%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=9a1e5a0a31e2054530a277efce0650f45c901cc944c61afccf2e4e8f7ece5f76

ghost commented 6 years ago

PING whispersystems-textsecure-attachments.s3-accelerate.amazonaws.com (54.192.74.236): 56 data bytes 64 bytes from 54.192.74.236: icmp_seq=0 ttl=238 time=162.762 ms 64 bytes from 54.192.74.236: icmp_seq=1 ttl=238 time=162.928 ms

gasi-signal commented 6 years ago

@EthereumD Thanks for the partial log. Can you submit (upload) your entire log and link to it here? It has more diagnostic information that would help us debug the issue.

gasi-signal commented 6 years ago

@EthereumD If this issue persists, please reach out to our support team: https://support.signal.org/hc/en-us/requests/new