https stream
#4229
Replies: 1 comment
-
ref this config: Lines 1 to 29 in 7951bf3 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
need mpd and m3u8 https stream getting this error in log
[2024-11-12 04:00:00.600][ERROR][1266][7000z92i][22] Failed, code=1023(ConfigInvalid)(Configuration is invalid) : check config : check normal : https stream depends on http
thread [1266][7000z92i]: do_main() [./src/main/srs_main_server.cpp:222][errno=22]
thread [1266][7000z92i]: check_config() [./src/app/srs_app_config.cpp:2305][errno=22]
thread [1266][7000z92i]: check_normal_config() [./src/app/srs_app_config.cpp:2537][errno=22](Invalid argument)
[2024-11-12 04:03:18.218][INFO][1317][3870wik0] SRS/7.0.20(Hang), MIT
[2024-11-12 04:03:18.218][INFO][1317][3870wik0] authors: Winlin[email protected] XiaoZhihong[email protected] Winlin[email protected] ZhaoWenjie[email protected] ShiWei[email protected] XiaoZhihong[email protected] WuPengqiang[email protected] XiaLixin[email protected] LiPeng[email protected] ChenGuanghua[email protected] ChenHaibo[email protected] ZhangJunqin[email protected] and https://github.com/ossrs/srs/blob/develop/trunk/AUTHORS.md#contributors
[2024-11-12 04:03:18.218][INFO][1317][3870wik0] cwd=/root/srs/trunk, work_dir=./, build: 2024-11-11 20:45:12, configure: , uname: Linux vmi2159782.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux, osx: 0, env: 0, pkg:
[2024-11-12 04:03:18.218][INFO][1317][3870wik0] configure detail: --prefix=/usr/local/srs --config=conf/srs.conf --osx=off --hls=on --hds=off --dvr=on --ssl=on --https=on --ssl-1-0=off --ssl-local=off --sys-ssl=off --transcode=on --ingest=on --stat=on --http-callback=on --http-server=on --stream-converter=on --http-api=on --utest=off --srt=on --sys-srt=off --rtc=on --h265=on --gb28181=off --simulator=off --cxx11=on --cxx14=off --backtrace=on --ffmpeg-fit=on --sys-ffmpeg=off --ffmpeg-opus=off --nasm=on --srtp-nasm=on --sys-srtp=off --clean=on --gperf=off --gmc=off --gmd=off --gmp=off --gcp=off --gprof=off --static=off --shared-st=off --shared-srt=reserved --shared-ffmpeg=reserved --shared-srtp=reserved --log-verbose=off --log-info=off --log-trace=on --log-level_v2=on --gcov=off --apm=off --debug=off --debug-stats=off --cross-build=off --sanitizer=on --sanitizer-static=off --sanitizer-log=off --cygwin64=off --single-thread=on --signal-api=off --generic-linux=off --build-cache=on --cc=gcc --cxx=g++ --ar=ar --ld=ld --randlib=randlib
[2024-11-12 04:03:18.218][INFO][1317][3870wik0] srs checking config...
[2024-11-12 04:03:18.219][INFO][1317][3870wik0] ips, iface[0] eth0 ipv4 0x11043 194.163.178.138
[2024-11-12 04:03:18.219][INFO][1317][3870wik0] devices, internet eth0 194.163.178.138
[2024-11-12 04:03:18.219][WARN][1317][3870wik0][22] stats network use index=0, ip=194.163.178.138, ifname=eth0
[2024-11-12 04:03:18.219][WARN][1317][3870wik0][22] stats disk not configed, disk iops disabled.
[2024-11-12 04:03:18.220][ERROR][1317][3870wik0][22] Failed, code=1023(ConfigInvalid)(Configuration is invalid) : check config : check normal : https stream depends on http
thread [1317][3870wik0]: do_main() [./src/main/srs_main_server.cpp:222][errno=22]
thread [1317][3870wik0]: check_config() [./src/app/srs_app_config.cpp:2305][errno=22]
thread [1317][3870wik0]: check_normal_config() [./src/app/srs_app_config.cpp:2537][errno=22](Invalid argument)
[2024-11-12 04:06:07.640][INFO][1356][30e98ah3] SRS/7.0.20(Hang), MIT
[2024-11-12 04:06:07.640][INFO][1356][30e98ah3] authors: Winlin[email protected] XiaoZhihong[email protected] Winlin[email protected] ZhaoWenjie[email protected] ShiWei[email protected] XiaoZhihong[email protected] WuPengqiang[email protected] XiaLixin[email protected] LiPeng[email protected] ChenGuanghua[email protected] ChenHaibo[email protected] ZhangJunqin[email protected] and https://github.com/ossrs/srs/blob/develop/trunk/AUTHORS.md#contributors
[2024-11-12 04:06:07.640][INFO][1356][30e98ah3] cwd=/root/srs/trunk, work_dir=./, build: 2024-11-11 20:45:12, configure: , uname: Linux vmi2159782.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux, osx: 0, env: 0, pkg:
[2024-11-12 04:06:07.640][INFO][1356][30e98ah3] configure detail: --prefix=/usr/local/srs --config=conf/srs.conf --osx=off --hls=on --hds=off --dvr=on --ssl=on --https=on --ssl-1-0=off --ssl-local=off --sys-ssl=off --transcode=on --ingest=on --stat=on --http-callback=on --http-server=on --stream-converter=on --http-api=on --utest=off --srt=on --sys-srt=off --rtc=on --h265=on --gb28181=off --simulator=off --cxx11=on --cxx14=off --backtrace=on --ffmpeg-fit=on --sys-ffmpeg=off --ffmpeg-opus=off --nasm=on --srtp-nasm=on --sys-srtp=off --clean=on --gperf=off --gmc=off --gmd=off --gmp=off --gcp=off --gprof=off --static=off --shared-st=off --shared-srt=reserved --shared-ffmpeg=reserved --shared-srtp=reserved --log-verbose=off --log-info=off --log-trace=on --log-level_v2=on --gcov=off --apm=off --debug=off --debug-stats=off --cross-build=off --sanitizer=on --sanitizer-static=off --sanitizer-log=off --cygwin64=off --single-thread=on --signal-api=off --generic-linux=off --build-cache=on --cc=gcc --cxx=g++ --ar=ar --ld=ld --randlib=randlib
[2024-11-12 04:06:07.640][INFO][1356][30e98ah3] srs checking config...
[2024-11-12 04:06:07.640][INFO][1356][30e98ah3] ips, iface[0] eth0 ipv4 0x11043 194.163.178.138
[2024-11-12 04:06:07.640][INFO][1356][30e98ah3] devices, internet eth0 194.163.178.138
[2024-11-12 04:06:07.640][WARN][1356][30e98ah3][22] stats network use index=0, ip=194.163.178.138, ifname=eth0
[2024-11-12 04:06:07.640][WARN][1356][30e98ah3][22] stats disk not configed, disk iops disabled.
[2024-11-12 04:06:07.642][ERROR][1356][30e98ah3][22] Failed, code=1023(ConfigInvalid)(Configuration is invalid) : check config : check normal : https stream depends on http
thread [1356][30e98ah3]: do_main() [./src/main/srs_main_server.cpp:222][errno=22]
thread [1356][30e98ah3]: check_config() [./src/app/srs_app_config.cpp:2305][errno=22]
thread [1356][30e98ah3]: check_normal_config() [./src/app/srs_app_config.cpp:2537][errno=22](Invalid argument)
srs.conf
http_server {
https {
# Whether enable HTTPS Streaming.
# Overwrite by env SRS_HTTP_SERVER_HTTPS_ENABLED
# default: off
enabled on;
# The listen endpoint for HTTPS Streaming.
# Overwrite by env SRS_HTTP_SERVER_HTTPS_LISTEN
# default: 8088
listen 8088;
# The SSL private key file, generated by:
# openssl genrsa -out server.key 2048
# Overwrite by env SRS_HTTP_SERVER_HTTPS_KEY
# default: ./conf/server.key
key /etc/letsencrypt/archive/xxxx.in/privkey1.pem;
# The SSL public cert file, generated by:
# openssl req -new -x509 -key server.key -out server.crt -days 3650 -subj "/C=CN/ST=Beijing/L=Beijing/O=Me/OU=Me/CN=ossrs.net"
# Overwrite by env SRS_HTTP_SERVER_HTTPS_CERT
# default: ./conf/server.crt
cert /etc/letsencrypt/archive/xxxxxe.in/fullchain1.pem;
}
}
lets encrypt ssl
Beta Was this translation helpful? Give feedback.
All reactions