Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

Images not loading - circle keeps spinning until image times out and disappears

Open biogon88 opened this issue 8 years ago • 11 comments

  • [x] I have searched open and closed issues for duplicates
  • [x] I am submitting a bug report for existing functionality that does not work as intended
  • [x] I have read https://github.com/signalapp/Signal-Android/wiki/Submitting-useful-bug-reports
  • [x] This isn't a feature request or a discussion topic

Bug description

Images received on Android 9 (Pixel 2) with ephemeral flag spin for the full duration, do not load or display, and then disappear. Images sent are received correctly.

Steps to reproduce

  • Receive image with downward-facing arrow
  • Click to attempt download

Actual result:

  • See spinning circle
  • Image does not load and disappears after the timeout period

Expected result:

  • Image should load

Screenshots

None available

Device info

Device: Pixel 2 Android version: 9 kernel 4.4.116-g62fd7c7873da Signal version: 4.30.6

Link to debug log

biogon88 avatar Nov 16 '18 16:11 biogon88

No log available?

brownstic avatar Nov 16 '18 16:11 brownstic

Bah. Now it's working. It's been broken for the last few weeks, on WiFi or LTE, high res, low-res, direct from sender's camera or from gallery. And now when I actively want to get the debug log it works. Next time it happens I'll capture one and post -- sorry for the trouble.

biogon88 avatar Nov 16 '18 16:11 biogon88

Has been happening for me for a while but with one exception. For me, it will never auto download anything, when you tap to do it, it will go on for an eternity with nothing happening, BUT it doens't disappear, just goes on for a long time until I come back to it sometimes later and they are there and finally downloaded. It is ridiculous, I have other apps who get much larger media and it is nearly instant. Forgot to add that in Signal it was fast and flawless before too but suddenly something changed and it went all to hell.

GuardianMajor avatar Nov 16 '18 21:11 GuardianMajor

@GuardianMajor @JRHLaw Do you have the Signal screen lock enabled? There's a known issue with downloads being delayed in that situation that'll be fixed in an upcoming release. Debug logs would allow me to confirm.

greyson-signal avatar Nov 16 '18 21:11 greyson-signal

@greyson-signal I can only speak for myself and yes, I do. It is good to know, thank you. On Android it is a bit messy to submit debug logs because it is very hard to clean out the unnecessary junk, but if you like to point me to what I am looking for, if I find it, I will know which snip of the log would be useful and I can submit it.

GuardianMajor avatar Nov 16 '18 21:11 GuardianMajor

@GuardianMajor You can look for logs like the ones mentioned here: https://github.com/signalapp/Signal-Android/issues/8370#issuecomment-439107532

If @JRHLaw gets back to me with a log and/or confirms they have a screen lock, then I can mark this as a dupe of that ticket.

Thanks!

greyson-signal avatar Nov 16 '18 21:11 greyson-signal

@greyson-signal Got it, thank you.

GuardianMajor avatar Nov 16 '18 22:11 GuardianMajor

@greyson-signal - Voilà. My guess is that you are entirely correct -- this looks like a dupe. I do have screen lock on as well as auto-download. I couldn't find anything matching since I get the bug with images and the two others (#8370 and #7748) are for voice or audio.

11-16 17:29:29.961 5709 5758 I Job : [2937440c-2ed9-4a02-a3f9-863bf215301f] AttachmentDownloadJob :: doWork() (Time since submission: 9953795 ms, Run attempt: 39, isStopped: false)
11-16 17:29:29.962 5709 5758 I Job : [2937440c-2ed9-4a02-a3f9-863bf215301f] AttachmentDownloadJob :: doWorkInternal() (Time since submission: 9953796 ms, Run attempt: 39, isStopped: false)
11-16 17:29:29.963 5709 5758 I Job : [2937440c-2ed9-4a02-a3f9-863bf215301f] AttachmentDownloadJob :: Retrying due to unmet requirements. (Time since submission: 9953797 ms, Run attempt: 39, isStopped: false) 

Will turn off auto-download as per your suggestion and see if that fixes it. Thank you!

Edit: I can't figure the markdown code to do that neat thing you did quoting the debuglog in one scrolling pane.

biogon88 avatar Nov 17 '18 04:11 biogon88

@JRHLaw No worries, it's by no means obvious that this is the same issue :)

And to do the code window thing, do three tick marks:

``` followed by your content, and then end with three tick marks ```

Thanks!

greyson-signal avatar Nov 17 '18 17:11 greyson-signal

@greyson-signal I thought I wrote back, but I don't see it, so seems I missed it somehow, I found the exact same lines in mine, so as I said before (which I can't find for the life of me) I was able to confirm it is the same thing you mentioned in the other issue, so that's confirmed on my end.

GuardianMajor avatar Nov 18 '18 00:11 GuardianMajor

Hi @greyson-signal,

An update. I turned off auto-download and the app still seems to have problems loading images. It does seem to be related since the app is either delayed (spinning circle) or fails to load before timeout only for images that are sent while the app is not unlocked and opened. If one is sent during an unlocked and foregrounded session, the image loads effectively immediately.

I seem to also be getting the same kinds of errors:

2018-12-01 11:43:16.195 PST I PassphrasePromptActivity: onCreate() 2018-12-01 11:43:16.196 PST I Job: [f77cf0ad-c893-4b00-9fb9-c341a450c883] AttachmentDownloadJob :: doWork() (Time since submission: 31082924 ms, Run attempt: 69, isStopped: false
2018-12-01 11:43:16.196 PST I Job: [f77cf0ad-c893-4b00-9fb9-c341a450c883] AttachmentDownloadJob :: doWorkInternal() (Time since submission: 31082924 ms, Run attempt: 69, isStopped: false)
2018-12-01 11:43:16.202 PST I Job: [f77cf0ad-c893-4b00-9fb9-c341a450c883] AttachmentDownloadJob :: Retrying due to unmet requirements. (Time since submission: 31082931 ms, Run attempt: 69, isStopped: false) 
2018-12-01 11:43:16.229 PST I ApplicationContext: App is now visible

biogon88 avatar Dec 01 '18 19:12 biogon88