HISE Logo Forum
    • Categories
    • Register
    • Login

    Question about queued downloads from Amazon S3

    Scheduled Pinned Locked Moved Scripting
    50 Posts 4 Posters 2.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d.healeyD
      d.healey @DanH
      last edited by

      @DanH Not directly it seems, that's what Dan's trying to solve (and so am I now!).

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      1 Reply Last reply Reply Quote 0
      • Dan KorneffD
        Dan Korneff @d.healey
        last edited by

        @d-healey I'm still new at this, but this is a Pre-Signed URL I'm generating with the S3 SDK which contains an expiration associated with the signature.

        Dan Korneff - Producer / Mixer / Audio Nerd

        d.healeyD 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey @Dan Korneff
          last edited by d.healey

          @Dan-Korneff Have you asked WooCommerce about a solution for this?

          Also what about this - https://wordpress.org/support/topic/bandwidth-for-downloads/

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          Dan KorneffD 2 Replies Last reply Reply Quote 0
          • Dan KorneffD
            Dan Korneff @d.healey
            last edited by

            @d-healey gonna check this out now

            Dan Korneff - Producer / Mixer / Audio Nerd

            1 Reply Last reply Reply Quote 1
            • Dan KorneffD
              Dan Korneff @d.healey
              last edited by

              @d-healey Here's how it works with woocommcerce.
              https://www.download-monitor.com/kb/how-to-use-download-monitor-with-woocommerce/
              I'm gonna give it a try, but once you change your download method to "Redirect Only" as suggested, it's going to supply an amazon link which HISE can't download, and I'm back to square one.

              Dan Korneff - Producer / Mixer / Audio Nerd

              d.healeyD 1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey @Dan Korneff
                last edited by

                @Dan-Korneff

                I'm gonna give it a try, but once you change your download method to "Redirect Only" as suggested, it's going to supply an amazon link which HISE can't download, and I'm back to square one

                What you talking bout Willis? I've been using Redirect Only with Rhapsody.

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                Dan KorneffD 1 Reply Last reply Reply Quote 0
                • Dan KorneffD
                  Dan Korneff @d.healey
                  last edited by

                  @d-healey like this?

                  737809d7-f0da-45f8-8632-3cee337e12a9-image.png ![alt text](image url)

                  Dan Korneff - Producer / Mixer / Audio Nerd

                  d.healeyD 1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @Dan Korneff
                    last edited by

                    @Dan-Korneff Scroll up - https://forum.hise.audio/topic/4635/question-about-queued-downloads-from-amazon-s3/12?_=1698944591828

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    Dan KorneffD 1 Reply Last reply Reply Quote 0
                    • Dan KorneffD
                      Dan Korneff @d.healey
                      last edited by

                      @d-healey Redirect Only or X-Accel?

                      Dan Korneff - Producer / Mixer / Audio Nerd

                      d.healeyD 1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey @Dan Korneff
                        last edited by

                        @Dan-Korneff Redirect Only

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        Dan KorneffD 1 Reply Last reply Reply Quote 0
                        • Dan KorneffD
                          Dan Korneff @d.healey
                          last edited by

                          @d-healey Are you using WooCommerce Amazon S3 Storage plugin to load your files?

                          https://woo.com/products/amazon-s3-storage/

                          Dan Korneff - Producer / Mixer / Audio Nerd

                          d.healeyD 1 Reply Last reply Reply Quote 0
                          • d.healeyD
                            d.healey @Dan Korneff
                            last edited by

                            @Dan-Korneff Yup

                            Libre Wave - Freedom respecting instruments and effects
                            My Patreon - HISE tutorials
                            YouTube Channel - Public HISE tutorials

                            Dan KorneffD 1 Reply Last reply Reply Quote 0
                            • Dan KorneffD
                              Dan Korneff @d.healey
                              last edited by

                              @d-healey what about the redirect method for the S3 plugin?

                              Screenshot 2023-11-02 135456.png

                              Dan Korneff - Producer / Mixer / Audio Nerd

                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @Dan Korneff
                                last edited by

                                @Dan-Korneff I have that enabled

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                Dan KorneffD 1 Reply Last reply Reply Quote 0
                                • Dan KorneffD
                                  Dan Korneff @d.healey
                                  last edited by Dan Korneff

                                  @d-healey I cannot get S3 hosted redirected downloads to initiate from HISE.
                                  When I have all of the download methods set to Redirect, my server log looks like this when I download from the account section of my website (which successfully downloads):

                                  "GET /?download_file=122&order=wc_order_dfsfsdfsdfasdf&email=myemail%40gmail.com&key=48c61d03-8e34-45ba-b54a-03b815444c5b HTTP/1.1" 302 5 "https://www.myserver.xyz/my-account/downloads/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.69"
                                  

                                  When I initiate the download from HISE, the webserver log says:

                                  "GET /?download_file=122&order=wc_order_dfsfsdfsdfasdf&email=myemail%2540gmail.com&key=48c61d03-8e34-45ba-b54a-03b815444c5b HTTP/1.1" 302 5 "-" "juce"
                                  

                                  The Referer header is set to "-" for some reason, but I don't think that is the culprit.

                                  I've added the security measures suggested here:
                                  https://woo.com/document/digital-downloadable-product-handling/#nginx-setting

                                  Are there any other server configuration settings you can think of that would affect this?

                                  Dan Korneff - Producer / Mixer / Audio Nerd

                                  d.healeyD 1 Reply Last reply Reply Quote 0
                                  • d.healeyD
                                    d.healey @Dan Korneff
                                    last edited by

                                    @Dan-Korneff I'm using a LiteSpeed server (same config as Apache), I've never used nginx so I can't offer much advice there sorry.

                                    Libre Wave - Freedom respecting instruments and effects
                                    My Patreon - HISE tutorials
                                    YouTube Channel - Public HISE tutorials

                                    Dan KorneffD 2 Replies Last reply Reply Quote 0
                                    • Dan KorneffD
                                      Dan Korneff @d.healey
                                      last edited by

                                      @d-healey hmm.... ok. I'm gonna boot up a LAMP stack and see how it behaves. That should let me know if it's an Nginx/Apache thing.

                                      Dan Korneff - Producer / Mixer / Audio Nerd

                                      1 Reply Last reply Reply Quote 1
                                      • Dan KorneffD
                                        Dan Korneff @d.healey
                                        last edited by

                                        @d-healey OK! It does appear to be something that's different with Nginx redirect headers.
                                        Just loaded up a site with Apache and the redirects work as expected.

                                        Dan Korneff - Producer / Mixer / Audio Nerd

                                        1 Reply Last reply Reply Quote 1
                                        • First post
                                          Last post

                                        17

                                        Online

                                        1.8k

                                        Users

                                        12.0k

                                        Topics

                                        104.4k

                                        Posts