Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

502 Bad Gateway from Download email link.

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › 502 Bad Gateway from Download email link.

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 11 months ago by marichristie.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 27, 2017 at 2:19 am #14344
    marichristie
    Member

    a) What part of the product isn’t working? Download link in email.

    b) What are you trying to achieve? file downloaded from browser from the link in the email.

    c) What causes the error to show up? Clicking the link

    d) What version of the plugin are you using? Version 7.4.7

    e) Provide a link to the exact page where the problem is seen: This is the file I am testing with as I narrow down problems, but it happens with all of them.

    f) Which product you are using? eStore

    g) Did you modify the plugin code? No.

    [06/27/2017 2:08 AM] – Status : Link details retrieved using file key. Link ID: 16

    [06/27/2017 2:08 AM] – Status : Global download limit counting is enabled. Count limit: 3 Access count: 0

    [06/27/2017 2:08 AM] – Status : Checking global download expiry time.

    [06/27/2017 2:08 AM] – Status : Global time expiry check success! This link is valid.

    [06/27/2017 2:08 AM] – Status : Handing download request from IP Address: 73.203.84.86

    [06/27/2017 2:08 AM] – Status : Unresolved DL file path = [http://mariannechristie.com/la-deesse-noire_-the-black-goddess-preview-mariana-gabrielle/]

    [06/27/2017 2:08 AM] – Warning : Invalid URL conversion target = /var/chroot/home/content/a2pewpnas01_data02/80/4004580/html/la-deesse-noire_-the-black-goddess-preview-mariana-gabrielle/

    And yet, “502 Bad Gateway. The server returned an invalid or incomplete response.”

    June 28, 2017 at 12:36 am #75930
    admin
    Keymaster

    The file URL you specified is incorrect (you specified the url of a webpage not a file). You can’t download just the URL of webpage. It needs to be a static file. A file that can be downloaded.

    An URL of a file should always contain an extension. For example:

    example.com/myfiles/mybook.pdf

    I think you are trying to link to your ePub file. The correct URL would be the following. See how it has .epub at the end?

    [http://mariannechristie.com/wp-content/uploads/2017/06/La-Deesse-Noire_-The-Black-Goddess-Preview-Mariana-Gabrielle.epub]

    What the following video tutorial which will explain how you can get the file URL of an uploaded file:

    https://www.tipsandtricks-hq.com/guide-to-wordpress-media-uploader-6783

    June 30, 2017 at 2:08 am #75931
    marichristie
    Member

    Brilliant. Thank you. I knew I was doing something stupid.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ