duckduckgo / Android

DuckDuckGo Android App
https://play.google.com/store/apps/details?id=com.duckduckgo.mobile.android
Apache License 2.0
3.76k stars 888 forks source link

[Bug] Failed to download a PDF file from the Web site: leboncoin.fr #3381

Open bonninf opened 1 year ago

bonninf commented 1 year ago

Describe the bug

On the Web site https://www.leboncoin.fr/, the DDG app is not able to download the delivery slip.

When you sell an item on the site, you have to download a delivery slip as a PDF file which you can print then. With DDG, the following message is displayed: "Failed to download. Check internet connection."

With other browsers the download is working fine. Even with the iOS DDG app, it's possible to download this file as expected.

How to Reproduce

  1. Go to https://www.leboncoin.fr/
  2. Connect to an account
  3. Go to the menu: Mon Compte / My Account
  4. Go to the page: Transactions
  5. Select a sold product and then click on: Download the delivery slip

Expected behavior

The PDF File should be downloaded and accessible from Downloads menu

Environment

- DDG App Version: 5.163.0
- Device: Galaxy S10+ / Samsung SM-G975F/DS
- OS: Android 11
github-actions[bot] commented 1 year ago

Thank you for opening an Issue in our Repository. The issue has been forwarded to the team and we'll follow up as soon as we have time to investigate. As stated in our Contribution Guidelines, requests for feedback should be addressed via the Feedback section in the Android app.

bonninf commented 1 year ago

If this one can help, here after is the Logcat extract about the download failure:

Starting download leboncoin_bon-d-envoi_8420810c-3457-4c89-9803-a0f21a65f4e3.pdf / https://api.leboncoin.fr/api/shippingproxy/v1/parcels/8420810c-3457-4c89-9803-a0f21a65f4e3/label
FileDownloadCallback   Download started for file leboncoin_bon-d-envoi_8420810c-3457-4c89-9803-a0f21a65f4e3.pdf
RxBasedPixel            Pixel sent: m_download_request_started with params: {} {}
UrlFileDownloader       Failed to download leboncoin_bon-d-envoi_8420810c-3457-4c89-9803-a0f21a65f4e3.pdf / {"url":"https://geo.captcha-delivery.com/captcha/?initialCid=AHrlqAAAAAMAB8TK6Jx2shYAUHfLMg==&cid=1y8g6UBENHW96DjHA0_8UKRs1dzCWuGPRvAeGHuAd4Q8y8zEyxebLRBQH_QsUxVR~VhM~oPhzmQmCjGdHvoUhpSPAFRU40C~_zeJMT6d2ePrF8icuTjSLf~umHyfnXcp&referer=https%3A%2F%2Fapi.leboncoin.fr%2Fapi%2Fshippingproxy%2Fv1%2Fparcels%2F8420810c-3457-4c89-9803-a0f21a65f4e3%2Flabel&hash=05B30BD9055986BD2EE8F5A199D973&t=fe&s=285&e=469ec9baa2a80ea5c5bacfb06c848199a9c1d9a721209b785516e03ddd32c69c"}
FileDownloadCallback    Failed to download file with url https://api.leboncoin.fr/api/shippingproxy/v1/parcels/8420810c-3457-4c89-9803-a0f21a65f4e3/label (id = 4888192376848983337) and reason com.duckduckgo.downloads.api.DownloadFailReason$ConnectionRefused@8e57b6e.
RxBasedPixel            Pixel sent: m_download_request_failed with params: {} {}
RealUrlFil...allManager Removing download 4888192376848983337
WM-WorkerWrapper        Worker result SUCCESS for Work [ id=f1d66304-93e3-4348-8624-a97cdf53aad0, tags={ com.duckduckgo.downloads.impl.FileDownloadWorker } ]
bonninf commented 1 month ago

This issue still exists and it prevents the use of the Web site leboncoin.fr with the DuckDuckGo app. Do you have any new about this?