Link to home
Start Free TrialLog in
Avatar of kennygeorge
kennygeorgeFlag for United States of America

asked on

Drupal AudioField: playing or downloading on SSL site

I created a DRUPAL site on GoDaddy for audiofiles of interviews.  It worked fine BEFORE I added SSL. Now, when you click on a file, it tries to launch Windows Media Player then says: "Windows Media Player cannot connect to the server. The server name might not be correct, the server might not be available, or your proxy settings might not be correct."

If you hover over the file, you can clearly see the location of the file under a PRIVATE folder.

Then if you RIGHT click on the audio file to try and download it, it creates a random name, instead of keeping the file name like a normal download.  THIS IS WHAT I NEED FIXED THE MOST!  

In Drupal, we are using the AudioField pages and allowing MP3 and WMV files.
Avatar of btan
btan

i suspect the response in cookie or session id is not in sync when send across https, there is similar discussion though using youtube, and the random filename may also be served from cache
Problem: caching => is this still an issue or not? After I posted about my caching issues I remembered that I recently used a cache clear module (for individual nodes) where I discovered that in fact now each node might have a cache for SSL and non-SSL already.
https://www.drupal.org/node/1368818

Will the Drupal be at latest version. Do check that your web server has SSL enabled and your Drupal installation has been configured to support SSL access. See the link https://www.drupal.org/project/securepages

Also check https config
If you enabled HTTPS and it only works on the homepage and your sub links are broken, it's because the VirtualHost:443 bucket needs AllowOverride All enabled so URL's can be rewritten while in HTTPS mode.
https://www.drupal.org/https-information

Another may be related  - Caching does not properly respect protocol (a problem when dealing with https)
1. If you don't have a valid ssl cert, the cached item was generated under ssl by someone, and a visitor hits a non-ssl version of the page the item included will not be displayed because the invalid cert has not been accepted.
2. If a cached item was generated on a non-ssl page and is then displayed in an ssl page a ssl error will be displayed for including non-ssl assets in the page.
https://www.drupal.org/node/1377840
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.