Fenix: [Bug] Can't download images that require cookies to be passed to the request (CloudFlare)

Created on 21 Jul 2020  路  11Comments  路  Source: mozilla-mobile/fenix

Steps to reproduce

  1. Go to a website behind CloudFlare or similar protection.
  2. Try to download an image hosted on the same domain.

Expected behavior

The image is saved.

Actual behavior

The download fails with "failed to download". This is because the cookies saved by CloudFlare are required for any request to a resource on the domain, but when downloading an image only they are not sent.

I tried this using Chromium on Android and it works.

See also #12182.

Device information

  • Android device: OnePlus 7T
  • Fenix version: 79.0.0-beta.9 (Build #2015752523)
    AC: 48.0.5, c14ffa848
    GV: 79.0-20200713185329
    AS: 61.0.7
Download engverified 馃悶 bug

Most helpful comment

Any update on this?

Hopefully https://github.com/mozilla-mobile/android-components/pull/8433 will fix this issue.

All 11 comments

Please check this behavior on nightly. There has been some work in this area and the problem may be solved there. If it is not fixed on nightly then this is a likely dupe of #7531

@kbrosnan I thought Nightly was deprecated, since it gave me a message saying it was no longer going to receive security updates. Then it directed me to download Firefox Beta instead on the Play Store.

The message shown on nighlty is that nightlies can be unstable, if you want something more stable, please download beta.
It has been added as some users used nightly as their main browser and were in trouble when there was some kind of regressions or crashes introduced in nightly.

However, Firefox Preview Nighly has been deprecated, you should now use Firefox Nightly <org.mozilla.fenix>

Oh I see, I got the deprecation message specifically and ended up with two copies of Nightly, that would explain it. I'll try Nightly instead.

@Ruin0x11 did you get this to work?

No, it still doesn't work.

Screenshot_20200728-221034_Firefox_Nightly

Nightly 200725 06:01 (Build #22070613)
AC: 52.0.20200724130127, 71b462d5b
GV: 80.0a1-20200723095657
AS: 61.0.10

Any update on this?

Any update on this?

Hopefully https://github.com/mozilla-mobile/android-components/pull/8433 will fix this issue.

I think this should be fixed nightly, @Ruin0x11 could you give a try? :)
QA team could you help us to verify :)

Verified as fixed on Nightly 201110 05:01 (Build #2015774761) GV 84.0a1 from 11/10 with the devices:

  • Motorola Moto G6 (Android 8);
  • Google Pixel 2 (Android 9);
  • Huawei P9 Lite (Android 7).

The images from https://i.warosu.org/data/jp/img/ are downloaded.
Also, this is not reproducible on the latest Beta 83.0.0-beta.4 GV 83 from 11/9 and on the latest Release 82.1.3 GV 82 from 11/9.

I will remove the qa:needed label and close this issue.

Was this page helpful?
0 / 5 - 0 ratings