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

5.0.74版本,设备无法注册 #64

Open
zzgghhzzgghh opened this issue Oct 28, 2022 · 1 comment
Open

5.0.74版本,设备无法注册 #64

zzgghhzzgghh opened this issue Oct 28, 2022 · 1 comment

Comments

@zzgghhzzgghh
Copy link

5.0.74版本,设备无法注册

描述你遇到了什么问题(Please description your issue here)

  1. SRS版本(Version): 5.0.74

  2. SRS的日志如下(Log):
    [2022-10-28 16:06:05.347][ERROR][179051][l83c4l65][11] SIP: Receive err code=3007(HttpParseUrl)(HTTP parse url failed) : parse message : set url=sip:34020000002000000001@3402000000, jsonp=0 : init uri http://fd94:be09::5c4/sip:34020000002000000001@3402000000 : parse url http://fd94:be09::5c4/sip:34020000002000000001@3402000000 as http://fd94:be09::5c4/sip:34020000002000000001@3402000000 failed, code=1
    thread [179051][l83c4l65]: do_cycle() [src/app/srs_app_gb28181.cpp:1106][errno=11]
    thread [179051][l83c4l65]: parse_message() [src/protocol/srs_protocol_http_conn.cpp:115][errno=11]
    thread [179051][l83c4l65]: set_url() [src/protocol/srs_protocol_http_conn.cpp:365][errno=11]
    thread [179051][l83c4l65]: initialize() [src/protocol/srs_protocol_http_stack.cpp:948][errno=11](Resource temporarily unavailable)

  3. SRS的配置如下(Config):
    listen 1935;
    max_connections 1000;
    daemon off;
    srs_log_tank console;

stream_caster {
enabled on;
caster gb28181;
output rtmp://127.0.0.1/live/[stream];
listen 9000;
sip {
enabled on;
listen 5060;
serial 34020000002000000001;
realm 3402000000;
# @see https://ossrs.net/lts/zh-cn/docs/v5/doc/gb28181#config-candidate
#candidate $CANDIDATE;
candidate xx.xx.xx.xx;
}
}

http_server {
enabled on;
listen 8080;
dir ./objs/nginx/html;
}

http_api {
enabled on;
listen 1985;
}

重现(Replay)
./objs/srs -c conf/gb28181.conf, 打出以上SRS的日志,parse url failed,设备无法注册成功。

期望行为(Expect)
设备注册成功,能正常推流

@IreneLu12
Copy link

请问该问题之后是否得到了解决?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants