Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloadable Product: Dropbox Link Failed to Download #21985

Open
nickpiro opened this issue Mar 28, 2019 · 28 comments
Open

Downloadable Product: Dropbox Link Failed to Download #21985

nickpiro opened this issue Mar 28, 2019 · 28 comments
Labels
Area: Catalog Component: Catalog Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: ready for dev Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch

Comments

@nickpiro
Copy link

nickpiro commented Mar 28, 2019

When creating a downloadable product with a URL link from dropbox, the user receives 'Download Failed' error message when trying to download off dropbox page. When you go to dropbox link directly, not inline with the website URL structure, the download is successful.

Preconditions (*)

  1. Magento CE 2.2.5
  2. Dropbox Link

Steps to reproduce (*)

  1. Create Downloadable Product
  2. Add Downloadable Information Link
    Here's the link we're using, it's a couple PSD files:
    https://www.dropbox.com/sh/cl7udnrebkifw0q/AACMd34tw-SygMG-Eax6Bevfa?dl=0
  3. Make file type URL and add dropbox URL.

Downloadable-Product

  1. Save product.
  2. Add Product to Cart & Checkout
  3. Goto My Account, Downloadable Products, and access product via link.
  4. Dropbox opens. When click 'Direct Download' message pops up 'Download Failed'

Expected result (*)

  1. Download should not fail.

Actual result (*)

  1. Download Fails

Failed-Download

@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Mar 28, 2019
@magento-engcom-team
Copy link
Contributor

Hi @nickpiro. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento-engcom-team give me 2.3-develop instance - upcoming 2.3.x release

For more details, please, review the Magento Contributor Assistant documentation.

@nickpiro do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • yes
  • no

@nickpiro
Copy link
Author

@magento-engcom-team give me 2.2.5 instance

@magento-engcom-team
Copy link
Contributor

Hi @nickpiro. Thank you for your request. I'm working on Magento 2.2.5 instance for you

@magento-engcom-team
Copy link
Contributor

Hi @nickpiro, here is your Magento instance.
Admin access: https://i-21985-2-2-5.instances.magento-community.engineering/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.

@nickpiro
Copy link
Author

I was able to reproduce the issue in Magento 2.2.5 vanilla.

@nickpiro
Copy link
Author

@magento-engcom-team give me 2.2.8 instance

@magento-engcom-team
Copy link
Contributor

Hi @nickpiro. Thank you for your request. I'm working on Magento 2.2.8 instance for you

@magento-engcom-team
Copy link
Contributor

Hi @nickpiro, here is your Magento instance.
Admin access: https://i-21985-2-2-8.instances.magento-community.engineering/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.

@nickpiro
Copy link
Author

Was able to reproduce the issue in Magento 2.2.8 vanilla.

@nickpiro
Copy link
Author

@magento-engcom-team give me 2.3-develop instance

@magento-engcom-team
Copy link
Contributor

Hi @nickpiro. Thank you for your request. I'm working on Magento 2.3-develop instance for you

@magento-engcom-team
Copy link
Contributor

Hi @nickpiro, here is your Magento instance.
Admin access: https://i-21985-2-3-develop.instances.magento-community.engineering/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.

@nickpiro
Copy link
Author

I was able to reproduce the issue in Magento 2.3-develop.

@ghost ghost self-assigned this Mar 28, 2019
@magento-engcom-team
Copy link
Contributor

Hi @engcom-backlog-nazar. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 4. Verify that the issue is reproducible on 2.3-develop branch

    Details- Add the comment @magento-engcom-team give me 2.3-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 5. Verify that the issue is reproducible on 2.2-develop branch.

    Details- Add the comment @magento-engcom-team give me 2.2-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x

  • Next steps are available in case you are a member of Community Maintainers.

  • 6. Add label Issue: Confirmed once verification is complete.

  • 7. Make sure that automatic system confirms that report has been added to the backlog.

@ghost ghost added Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Component: Catalog Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed labels Mar 28, 2019
@ghost ghost removed their assignment Mar 28, 2019
@magento-engcom-team
Copy link
Contributor

✅ Confirmed by @engcom-backlog-nazar
Thank you for verifying the issue. Based on the provided information internal tickets MAGETWO-98935, MAGETWO-98936 were created

Issue Available: @engcom-backlog-nazar, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

@magento-engcom-team magento-engcom-team added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Mar 28, 2019
@nickpiro
Copy link
Author

nickpiro commented Apr 2, 2019

Any word on when this would be worked on?

@serhiyzhovnir serhiyzhovnir self-assigned this Apr 10, 2019
@m2-assistant
Copy link

m2-assistant bot commented Apr 10, 2019

Hi @serhiyzhovnir. Thank you for working on this issue.
Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:

  • 1. Add/Edit Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 2. Verify that the issue is reproducible on 2.3-develop branch

    Details- Add the comment @magento-engcom-team give me 2.3-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 3. Verify that the issue is reproducible on 2.2-develop branch.

    Details- Add the comment @magento-engcom-team give me 2.2-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x

  • 4. If the issue is not relevant or is not reproducible any more, feel free to close it.

@kamzata
Copy link

kamzata commented May 13, 2019

Similar issue happened earlier on Magento 1.x. Check this out: https://www.magentosolved.com/downloadable-products-error-occurred/

Anyway, I think you should use dropbox url like this (notice the parameter 1 at the url end instead of 0): https://www.dropbox.com/sh/cl7udnrebkifw0q/AACMd34tw-SygMG-Eax6Bevfa?dl=1

I've just tested some url formats and I think the problem lies in how header response code is handled:

I'm checking \vendor\magento\module-downloadable\Controller\Download.php. What do you think guys?

I don't know if this can help but I'm using NGINX web server behind a NGINX reverse proxy.

@serhiyzhovnir serhiyzhovnir removed their assignment May 13, 2019
@kamzata
Copy link

kamzata commented May 22, 2019

@kamzata just tested some of your theories.

When I test the URL with ?d1=1 or ?dl=0 parameter, I don't even get redirected to Dropbox.

When I remove the ?dl=0 or ?dl=1 I am redirected to Dropbox, but the download fails on the Dropbox side!

Yeah, exactly. You're right. Dropbox URL with ?d1=1 or ?dl=0 parameter fail and don't even redirected to Dropbox meanwhile without parameter it redirects to Dropbox but the download fails on the Dropbox side. So, even this latter, doesn't work either.

@kamzata
Copy link

kamzata commented Jul 16, 2019

Any news? This is a big issue for me. My stores have basically only downloadable products and because of this I cannot migrate to Magento 2 at the moment.

@dmanners
Copy link
Contributor

dmanners commented Nov 8, 2019

Hi @nickpiro could you try this with the host https://dl.dropboxusercontent.com instead of dropbox in your urls. I think the problem is that there is always an extra step between the drop box urls and the actual content but the user content urls would be the actual file.

@kamzata
Copy link

kamzata commented Nov 20, 2019

Just tested on Magento 2.3.3 and it still doesn't work. This bug it's a nightmare for me since my products are basically all on dropbox.

This is the new error message: "Something went wrong while getting the requested content."

@kamzata
Copy link

kamzata commented Nov 20, 2019

@magento-engcom-team magento-engcom-team added this to Ready for Dev in Community Backlog Mar 24, 2020
@sidolov sidolov added this to Ready for Grooming in Low Priority Backlog Sep 3, 2020
@sidolov sidolov added this to Ready for Development in Low Priority Backlog Sep 24, 2020
@ghost ghost removed this from Ready for Dev in Community Backlog Oct 20, 2020
@ghost ghost removed this from Ready for Development in Low Priority Backlog Oct 20, 2020
@ghost ghost removed Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development labels Oct 20, 2020
@kamzata
Copy link

kamzata commented Nov 4, 2020

Sadly, the address https://dl.dropboxusercontent.com/....?dl=1 doesn't return anymore a 200 code but now a 307 redirect code and all my files are no more downloadable!!! That's a big issue for me since my store has only downloadable files so I'm off of the market!!! By the way... I'm using Magento 2.4.1 and this issue is still present!

@sdzhepa sdzhepa added the Priority: P2 A defect with this priority could have functionality issues which are not to expectations. label Nov 6, 2020
@m2-community-project m2-community-project bot added this to Ready for Development in High Priority Backlog Nov 6, 2020
@engcom-Hotel engcom-Hotel added Area: Catalog Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed and removed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed labels Aug 25, 2021
@github-jira-sync-bot
Copy link

❌ Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.magento.com/browse/AC-766

@kamzata
Copy link

kamzata commented Aug 26, 2021

The issue is still present in Magento 2.4.3!

@quterorta
Copy link
Contributor

The issue is not reproduced in Magento 2.4.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Catalog Component: Catalog Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: ready for dev Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch
Projects
High Priority Backlog
  
Ready for Development
Development

No branches or pull requests

10 participants