MP3 file open in HTTPS but not HTTP. Why?

DoumB21

New member
Registered
Joined
Nov 3, 2020
Messages
3
Points
1
Hello.

I share files that are accessible through direct URL. All kinds of files, (.txt, .zip, .png, .mp3, .wav, etc)

For some reasons, when I am in a browser, I can download all files when I am in HTTP.
But when I try in HTTPS it does not work for " music " files. I would get the error below.

1604364508118.png

I don't get the error for images, text, zip files .. only for audio files.

So if I try HTTPS / HTTP for a text file, I will be able to access the file.
But for a "mp3" for example. The browser will play the file in HTTPS, but will give me the error above in HTTP.

I can't find anything on Google that would explain that behaviour.

Anyone understands that situation?
Thanks.
 

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,501
Points
63
When you put URLs for your mp3 file on your website then they are HTTP or HTTPS?
 

DoumB21

New member
Registered
Joined
Nov 3, 2020
Messages
3
Points
1
I handle both HTTP and HTTPS in IIS.

For text/image/zip/ other types it works well.

Example (these would both work) :
Code:
http://www.mydomain.com/mytextfile.txt
https://www.mydomain.com/mytextfile.txt

But for audio files (mp3 / wav):
Code:
http://www.mydomain.com/myaudiofile.mp3
https://www.mydomain.com/myaudiofile.mp3
Only the "https" would work. The other would give me an error. Pretty weird that for audio file, the non-secured access return an error.
 

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,501
Points
63
IIS? is your website still using ASP ?
Only the "https" would work. The other would give me an error. Pretty weird that for audio file, the non-secured access return an error.
Did you add redirect code in htaccess to auto redirect from HTTP to HTTPS for all links?
 

DoumB21

New member
Registered
Joined
Nov 3, 2020
Messages
3
Points
1
There is no website. Its just a directory containing various files.
My domain points to a windows server and on that server in IIS I configured an application with bindings for both HTTP (80) and HTTPS (443).
 

Kaz Wolfe

Well-known member
Registered
Joined
Jul 7, 2016
Messages
609
Points
28
I would see a real link to check for you :)
 

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
520
Points
28
Maybe @Jerry is right, @DoumB21 may need to try to upload another file mp3 and retest if it works or not.
 
Older Threads
Replies
0
Views
913
fiz
Replies
10
Views
2,827
Replies
0
Views
1,274
fiz
Latest Threads
Replies
1
Views
24
Replies
0
Views
176
Replies
1
Views
37
Replies
2
Views
81
Similar Threads
Replies
7
Views
5,962
Replies
5
Views
3,409
Replies
1
Views
3,764

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top