You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
10-14 17:31:53.645 13150-14116/org.thoughtcrime.securesms W/PushServiceSocket: Push service URL: http://192.168.1.102:5665
10-14 17:31:53.646 13150-14116/org.thoughtcrime.securesms W/PushServiceSocket: Opening URL: http://192.168.1.102:5665/v1/attachments/
10-14 17:31:53.662 13150-14116/org.thoughtcrime.securesms W/PushServiceSocket: Got attachment content location: https://signalbucketmtech.s3.amazonaws.com/2310449486897847259?AWSAccessKeyId=AKIAITENYGFRZFH6YIWA&Expires=1476450048&Signature=KH63Pfe%2FcpDkWA4wGvfCe178XVw%3D
10-14 17:31:54.167 13150-14116/org.thoughtcrime.securesms W/PushMediaSendJob: java.io.IOException: Bad response: 400 Bad Request
at org.whispersystems.textsecure.internal.push.PushServiceSocket.uploadAttachment(PushServiceSocket.java:482)
at org.whispersystems.textsecure.internal.push.PushServiceSocket.sendAttachment(PushServiceSocket.java:360)
at org.whispersystems.textsecure.api.TextSecureMessageSender.createAttachmentPointer(TextSecureMessageSender.java:358)
at org.whispersystems.textsecure.api.TextSecureMessageSender.createAttachmentPointers(TextSecureMessageSender.java:341)
at org.whispersystems.textsecure.api.TextSecureMessageSender.createMessageContent(TextSecureMessageSender.java:186)
at org.whispersystems.textsecure.api.TextSecureMessageSender.sendMessage(TextSecureMessageSender.java:123)
at org.thoughtcrime.securesms.jobs.PushMediaSendJob.deliver(PushMediaSendJob.java:127)
at org.thoughtcrime.securesms.jobs.PushMediaSendJob.onSend(PushMediaSendJob.java:69)
at org.thoughtcrime.securesms.jobs.SendJob.onRun(SendJob.java:43)
at org.thoughtcrime.securesms.jobs.MasterSecretJob.onRun(MasterSecretJob.java:18)
at org.whispersystems.jobqueue.JobConsumer.runJob(JobConsumer.java:76)
at org.whispersystems.jobqueue.JobConsumer.run(JobConsumer.java:46)
10-14 17:31:54.167 13150-14116/org.thoughtcrime.securesms W/JobConsumer: org.thoughtcrime.securesms.transport.RetryLaterException: java.io.IOException: Bad response: 400 Bad Request
at org.thoughtcrime.securesms.jobs.PushMediaSendJob.deliver(PushMediaSendJob.java:136)
at org.thoughtcrime.securesms.jobs.PushMediaSendJob.onSend(PushMediaSendJob.java:69)
at org.thoughtcrime.securesms.jobs.SendJob.onRun(SendJob.java:43)
at org.thoughtcrime.securesms.jobs.MasterSecretJob.onRun(MasterSecretJob.java:18)
at org.whispersystems.jobqueue.JobConsumer.runJob(JobConsumer.java:76)
at org.whispersystems.jobqueue.JobConsumer.run(JobConsumer.java:46)
Caused by: java.io.IOException: Bad response: 400 Bad Request
at org.whispersystems.textsecure.internal.push.PushServiceSocket.uploadAttachment(PushServiceSocket.java:482)
at org.whispersystems.textsecure.internal.push.PushServiceSocket.sendAttachment(PushServiceSocket.java:360)
at org.whispersystems.textsecure.api.TextSecureMessageSender.createAttachmentPointer(TextSecureMessageSender.java:358)
at org.whispersystems.textsecure.api.TextSecureMessageSender.createAttachmentPointers(TextSecureMessageSender.java:341)
at org.whispersystems.textsecure.api.TextSecureMessageSender.createMessageContent(TextSecureMessageSender.java:186)
at org.whispersystems.textsecure.api.TextSecureMessageSender.sendMessage(TextSecureMessageSender.java:123)
The text was updated successfully, but these errors were encountered:
I have the upload working on Android on my side. Have you tried the exact steps from Luca? From what I see, your issue could be related to text secure server config file. The default port for push server is 9090. I run push and text secure server on the same server so in my case the config in text secure .yml file would be:
You need to set the correct configuration in yml file from text secure server: s3: accessKey: xxxx accessSecret: xxx attachmentsBucket: xxx
If I remember well, you also need to regenerate the keys till you get them without special chars (only numbers and letters)
Make sure you create your bucket in US Standard region. The signal code works with s3 signature v3 only. The other regions require signature V4 for presigned url requests and you will need to update the code.
Still not done with this step but so far I got this: Go to S3 Console/Bucket/Properties/Permissions and add a CORS file with the config bellow. This will get you over cross domain http request error in signal desktop.
10-14 17:31:53.645 13150-14116/org.thoughtcrime.securesms W/PushServiceSocket: Push service URL: http://192.168.1.102:5665
10-14 17:31:53.646 13150-14116/org.thoughtcrime.securesms W/PushServiceSocket: Opening URL: http://192.168.1.102:5665/v1/attachments/
10-14 17:31:53.662 13150-14116/org.thoughtcrime.securesms W/PushServiceSocket: Got attachment content location: https://signalbucketmtech.s3.amazonaws.com/2310449486897847259?AWSAccessKeyId=AKIAITENYGFRZFH6YIWA&Expires=1476450048&Signature=KH63Pfe%2FcpDkWA4wGvfCe178XVw%3D
10-14 17:31:54.167 13150-14116/org.thoughtcrime.securesms W/PushMediaSendJob: java.io.IOException: Bad response: 400 Bad Request
at org.whispersystems.textsecure.internal.push.PushServiceSocket.uploadAttachment(PushServiceSocket.java:482)
at org.whispersystems.textsecure.internal.push.PushServiceSocket.sendAttachment(PushServiceSocket.java:360)
at org.whispersystems.textsecure.api.TextSecureMessageSender.createAttachmentPointer(TextSecureMessageSender.java:358)
at org.whispersystems.textsecure.api.TextSecureMessageSender.createAttachmentPointers(TextSecureMessageSender.java:341)
at org.whispersystems.textsecure.api.TextSecureMessageSender.createMessageContent(TextSecureMessageSender.java:186)
at org.whispersystems.textsecure.api.TextSecureMessageSender.sendMessage(TextSecureMessageSender.java:123)
at org.thoughtcrime.securesms.jobs.PushMediaSendJob.deliver(PushMediaSendJob.java:127)
at org.thoughtcrime.securesms.jobs.PushMediaSendJob.onSend(PushMediaSendJob.java:69)
at org.thoughtcrime.securesms.jobs.SendJob.onRun(SendJob.java:43)
at org.thoughtcrime.securesms.jobs.MasterSecretJob.onRun(MasterSecretJob.java:18)
at org.whispersystems.jobqueue.JobConsumer.runJob(JobConsumer.java:76)
at org.whispersystems.jobqueue.JobConsumer.run(JobConsumer.java:46)
10-14 17:31:54.167 13150-14116/org.thoughtcrime.securesms W/JobConsumer: org.thoughtcrime.securesms.transport.RetryLaterException: java.io.IOException: Bad response: 400 Bad Request
at org.thoughtcrime.securesms.jobs.PushMediaSendJob.deliver(PushMediaSendJob.java:136)
at org.thoughtcrime.securesms.jobs.PushMediaSendJob.onSend(PushMediaSendJob.java:69)
at org.thoughtcrime.securesms.jobs.SendJob.onRun(SendJob.java:43)
at org.thoughtcrime.securesms.jobs.MasterSecretJob.onRun(MasterSecretJob.java:18)
at org.whispersystems.jobqueue.JobConsumer.runJob(JobConsumer.java:76)
at org.whispersystems.jobqueue.JobConsumer.run(JobConsumer.java:46)
Caused by: java.io.IOException: Bad response: 400 Bad Request
at org.whispersystems.textsecure.internal.push.PushServiceSocket.uploadAttachment(PushServiceSocket.java:482)
at org.whispersystems.textsecure.internal.push.PushServiceSocket.sendAttachment(PushServiceSocket.java:360)
at org.whispersystems.textsecure.api.TextSecureMessageSender.createAttachmentPointer(TextSecureMessageSender.java:358)
at org.whispersystems.textsecure.api.TextSecureMessageSender.createAttachmentPointers(TextSecureMessageSender.java:341)
at org.whispersystems.textsecure.api.TextSecureMessageSender.createMessageContent(TextSecureMessageSender.java:186)
at org.whispersystems.textsecure.api.TextSecureMessageSender.sendMessage(TextSecureMessageSender.java:123)
The text was updated successfully, but these errors were encountered: