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,477
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,477
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
604
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
745
fiz
Replies
10
Views
2,377
Replies
0
Views
976
fiz
Similar Threads
Replies
3
Views
1,010
Replies
7
Views
4,945
Replies
5
Views
3,144
Replies
1
Views
3,514

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