Author Topic: Error 5 on handling https stream on XP (VM)  (Read 253 times)

Couin

  • Posts: 73
Hi,

I get an Eorr 5 if I try to listen a https stream ( https://stream-eurodance90.fr/radio/8000/128.mp3 ) on a XP (Oracle Virtual Machine).

Here is my code :
Code: [Select]
LiveStream = BASS_StreamCreateURL(cmbStream.text, 0, BASS_STREAM_AUTOFREE, 0, 0)Where cmbStream.text if the combo  list where I can choose the stream url.
LiveStream value is 0 in this case .

If I try http (I allow http and https stream on the server), it's ok.

If I browse the https url in Firefox, I can listen the stream.

Any idea ?

Thanks :)

Ian @ un4seen

  • Administrator
  • Posts: 25460
Re: Error 5 on handling https stream on XP (VM)
« Reply #1 on: 2 Sep '22 - 13:07 »
That server requires TLS 1.2, which isn't supported as standard by Windows XP. BASS uses Windows' SSL/TLS support, while Firefox probably has its own support built-in. You can try enabling TLS 1.2 support in XP as described here:

   www.emailarchitect.net/easendmail/sdk/html/object_tls12.htm

Couin

  • Posts: 73
Re: Error 5 on handling https stream on XP (VM)
« Reply #2 on: 3 Sep '22 - 02:44 »
Hi Ian ,

Thanks for answer :)

I will try to find a workaround in VB6. I had the same TLS problem with https request, to add a future button "Check for update" of the software, resolved with some modules that a vbforums.Com member helped me), but not sure that I can apply to BASS .

Otherwise, I'll put a notice with explanation of your URL for users that absolutly want to listen https stream on XP.