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, 4 months ago by marichristie.
-
AuthorPosts
-
June 27, 2017 at 2:19 am #14344marichristieMember
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 #75930adminKeymasterThe 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 #75931marichristieMemberBrilliant. Thank you. I knew I was doing something stupid.
-
AuthorPosts
- You must be logged in to reply to this topic.