Hi,

That looks like a SSL configuration issue. And error reporting isn't being
very helpful..

Are you running the script on a remote server? Did you check that the
correct SSL certificates are installed on the server to be able to verify
the certificate served at mustafejen.se ? That would be my first guess for
chasing this error.

Romain

Le dim. 10 mars 2019 à 12:33, Per Gunnarsson via Savonet-users <
savonet-users@lists.sourceforge.net> a écrit :

> Somebody suggested it was possible to attach a source to icecast using
> https,
> so I tried with the method I saw.
>
> It did not work for me either, but I got s slightly different log file.
>
> Regards,
>
> Per Gunnarsson
>
> <><> liquidsoap: information on all versions
> ><><><><><><><><><><><><><><><><><>
> name                   liquidsoap
> all-installed-versions 1.3.6 [4.05.0]
>
>
>
> The script:
>
> set("log.file.path","/tmp/complete_case.log")
> set("log.level", 4)
>
>
> microphone =
>
> input.pulseaudio(device="alsa_input.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00.analog-mono")
> nicrophone = audio_to_stereo(microphone)
>
> output.icecast(%vorbis(quality=0.4 , samplerate=48000, channels=2),
> fallible=true,
> host="mustafejen.se",
> port=8443,
> password="difficult_password",
> mount="stream.ogg",
> description="Stream from Ersboda",
> genre="Alternative, eclectic",
> url="https://mustafejen.se/~per";,
> protocol="https",
> name="mustafejen vorbis",
> public=true,
> nicrophone)
>
>
> The log file:
>
> 2019/03/10 18:18:17 >>> LOG START
> 2019/03/10 18:18:17 [main:3] Liquidsoap 1.3.6
> 2019/03/10 18:18:17 [main:3] Using: bytes=[distributed with OCaml 4.02
> or above] pcre=7.4.1 dtools=0.4.1 duppy=0.8.0 cry=0.6.2 mm=0.4.0
> xmlplaylist=0.1.4 lastfm=0.3.2 ogg=0.5.2 vorbis=0.7.1 opus=0.1.2
> mad=0.4.5 flac=0.1.4 flac.ogg=0.1.4 dynlink=[distributed with Ocaml]
> lame=0.3.3 shine=0.2.1 gstreamer=0.3.0 fdkaac=0.2.1 theora=0.3.1
> gavl=0.1.6 bjack=0.1.5 alsa=0.2.3 ao=0.2.1 samplerate=0.1.4 taglib=0.3.3
> ssl=0.5.7 magic=0.7.3 camomile=1.0.1 inotify=2.3 yojson=1.7.0 faad=0.4.0
> soundtouch=0.1.8 portaudio=0.2.1 pulseaudio=0.1.3 ladspa=0.1.5
> dssi=0.1.2 lo=0.1.1
> 2019/03/10 18:18:17 [gstreamer.loader:3] Loaded GStreamer 1.14.2 0
> 2019/03/10 18:18:17 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz
> master.
> 2019/03/10 18:18:17 [frame:3] Frame size must be a multiple of 1764
> ticks = 1764 audio samples = 1 video samples.
> 2019/03/10 18:18:17 [frame:3] Targetting 'frame.duration': 0.04s = 1764
> audio samples = 1764 ticks.
> 2019/03/10 18:18:17 [frame:3] Frames last 0.04s = 1764 audio samples = 1
> video samples = 1764 ticks.
> 2019/03/10 18:18:17 [video.converter:4] Using preferred video converter:
> gavl.
> 2019/03/10 18:18:17 [threads:3] Created thread "gstreamer_main_loop" (1
> total).
> 2019/03/10 18:18:17 [audio.converter:4] Using preferred samplerate
> converter: libsamplerate.
> 2019/03/10 18:18:17 [threads:3] Created thread "generic queue #1".
> 2019/03/10 18:18:17 [threads:3] Created thread "generic queue #2".
> 2019/03/10 18:18:17 [threads:3] Created thread "non-blocking queue #1".
> 2019/03/10 18:18:17 [threads:3] Created thread "non-blocking queue #2".
> 2019/03/10 18:18:17 [clock:4] Currently 1 clocks allocated.
> 2019/03/10 18:18:17 [clock.wallclock_pulse:4] Starting 2 sources...
> 2019/03/10 18:18:17 [source:4] Source pulse_7675 gets up.
> 2019/03/10 18:18:17 [clock.wallclock_pulse:4] Delegating clock to active
> sources.
> 2019/03/10 18:18:17
>
> [pulse_in(alsa_input(dot)usb-C-Media_Electronics_Inc(dot)_USB_PnP_Sound_Device-00(dot)analog-mono):4]
> Activations changed:
>
> static=[pulse_in(alsa_input(dot)usb-C-Media_Electronics_Inc(dot)_USB_PnP_Sound_Device-00(dot)analog-mono)],
> dynamic=[].
> 2019/03/10 18:18:17
>
> [pulse_in(alsa_input(dot)usb-C-Media_Electronics_Inc(dot)_USB_PnP_Sound_Device-00(dot)analog-mono):4]
> Enabling caching mode: active source.
> 2019/03/10 18:18:17 [source:4] Source output.icecast_7682 gets up.
> 2019/03/10 18:18:17 [source:4] Source audio_to_stereo_7680 gets up.
> 2019/03/10 18:18:17 [audio_to_stereo_7680:4] Content kind is
> {audio=2;video=0;midi=0}.
> 2019/03/10 18:18:17
>
> [pulse_in(alsa_input(dot)usb-C-Media_Electronics_Inc(dot)_USB_PnP_Sound_Device-00(dot)analog-mono):4]
> Activations changed:
> static=[audio_to_stereo_7680:mustafejen_vorbis:mustafejen_vorbis,
>
> pulse_in(alsa_input(dot)usb-C-Media_Electronics_Inc(dot)_USB_PnP_Sound_Device-00(dot)analog-mono)],
> dynamic=[].
> 2019/03/10 18:18:17 [audio_to_stereo_7680:4] Activations changed:
> static=[mustafejen_vorbis:mustafejen_vorbis], dynamic=[].
> 2019/03/10 18:18:17 [mustafejen_vorbis:4] Activations changed:
> static=[mustafejen_vorbis], dynamic=[].
> 2019/03/10 18:18:17 [mustafejen_vorbis:4] Enabling caching mode: active
> source.
> 2019/03/10 18:18:17 [mustafejen_vorbis:3] Connecting mount stream.ogg
> for sou...@mustafejen.se...
> 2019/03/10 18:18:47 [mustafejen_vorbis:2] Connection failed: SSL
> connection() error: error:00000000:lib(0):func(0):reason(0)
> 2019/03/10 18:18:47 [mustafejen_vorbis:3] Will try again in 3.00 sec.
> 2019/03/10 18:18:47 [threads:3] Created thread "wallclock_pulse" (2 total).
> 2019/03/10 18:18:47 [clock:4] Main phase starts.
> 2019/03/10 18:18:47 [clock.wallclock_pulse:3] Streaming loop starts,
> synchronized by active sources.
> 2019/03/10 18:18:52 [mustafejen_vorbis:3] Connecting mount stream.ogg
> for sou...@mustafejen.se...
> 2019/03/10 18:19:22 [mustafejen_vorbis:2] Connection failed: SSL
> connection() error: error:00000000:lib(0):func(0):reason(0)
> 2019/03/10 18:19:22 [mustafejen_vorbis:3] Will try again in 3.00 sec.
> 2019/03/10 18:19:26 [mustafejen_vorbis:3] Connecting mount stream.ogg
> for sou...@mustafejen.se...
> 2019/03/10 18:19:56 [mustafejen_vorbis:2] Connection failed: SSL
> connection() error: error:00000000:lib(0):func(0):reason(0)
> 2019/03/10 18:19:56 [mustafejen_vorbis:3] Will try again in 3.00 sec.
> 2019/03/10 18:20:01 [mustafejen_vorbis:3] Connecting mount stream.ogg
> for sou...@mustafejen.se...
> 2019/03/10 18:20:31 [mustafejen_vorbis:2] Connection failed: SSL
> connection() error: error:00000000:lib(0):func(0):reason(0)
> 2019/03/10 18:20:31 [mustafejen_vorbis:3] Will try again in 3.00 sec.
> 2019/03/10 18:20:35 [mustafejen_vorbis:3] Connecting mount stream.ogg
> for sou...@mustafejen.se...
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Savonet-users mailing list
> Savonet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to