Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to configure IPV6 startup #1920

Closed
ajianzheng opened this issue Aug 25, 2020 · 1 comment · Fixed by #2581
Closed

Failed to configure IPV6 startup #1920

ajianzheng opened this issue Aug 25, 2020 · 1 comment · Fixed by #2581
Assignees
Labels
Bug It might be a bug. TransByAI Translated by AI/GPT.
Milestone

Comments

@ajianzheng
Copy link

ajianzheng commented Aug 25, 2020

Description'

Please ensure that the markdown structure is maintained.

Description of the problem encountered:
Failed to configure IPV6 startup.

The server has an IPV6 address and domain name.
Linode server.

  1. SRS version: v3.0-r0
  1. The log of SRS is as follows (Log):
[2020-08-25 10:35:45.369][Trace][11070][0] configure detail: --prefix=/usr/local/srs --with-hls --with-hds --with-dvr --with-ssl --with-transcode --with-ingest --with-stat --with-http-callback --with-http-server --with-stream-caster --with-http-api --with-librtmp --without-research --without-utest --without-gperf --without-gmc --without-gmd --without-gmp --without-gcp --without-gprof --log-trace --cc=gcc --cxx=g++ --ar=ar --ld=ld --randlib=randlib
[2020-08-25 10:35:45.369][Trace][11070][0] srs checking config...
[2020-08-25 10:35:45.369][Error][11070][0][0] Failed, code=1023 : check config : check normal : **listen.port=32809704** is invalid
thread [11070][0]: do_main() [src/main/srs_main_server.cpp:175][errno=0]
thread [11070][0]: check_config() [src/app/srs_app_config.cpp:3455][errno=0]
thread [11070][0]: check_normal_config() [src/app/srs_app_config.cpp:3556][errno=0]
  1. The configuration of SRS is as follows (Config):
listen              [::]:1935 ipv6only=on;
listen              1935;
max_connections     1000;
srs_log_tank        file;
srs_log_file        ./objs/srs.log;
http_api {
    enabled         on;
    listen          1985;
}
http_server {
    enabled         off;
    listen          8080;
    dir             ./objs/nginx/html;
}
stats {
    network         0;
    disk            sda sdb xvda xvdb;
}
vhost __defaultVhost__ {
}

Replay

Reproducible, compile and install.

Expect

Expected behavior.

监听地址

Listening address.

TRANS_BY_GPT3

@winlinvip
Copy link
Member

winlinvip commented Dec 1, 2020

This may need to be looked at.

TRANS_BY_GPT3

@winlinvip winlinvip added this to the SRS 4.0 release milestone Aug 26, 2021
@winlinvip winlinvip added the Bug It might be a bug. label Aug 26, 2021
chen-guanghua added a commit to chen-guanghua/srs that referenced this issue Sep 5, 2021
@winlinvip winlinvip linked a pull request Sep 5, 2021 that will close this issue
@winlinvip winlinvip changed the title 配置IPV6启动失败 Failed to configure IPV6 startup Jul 29, 2023
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug It might be a bug. TransByAI Translated by AI/GPT.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants