You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When compiling and installing version 3.0 alpha4 (3.0.71), there are occasional log reports of a connect error with code=3090. If this error continues to occur consecutively, it will result in the inability to stream.
Environment
Operating System: Ubuntu 16.04
SRS Version: 3.0 alpha4 (3.0.71)
Source Server A (192.100.20.20) Configuration File:
The bug has been reproduced, and the key information is as follows:
Frequent occurrence of [Error][29866][3918][11] connect error code=3090 : service cycle : rtmp: stream service : discover coworkers issue.
Sometimes it is able to successfully output the found logs.
http: cluster redirect 192.100.20.
9:1935 ok, url=http://192.100.20.9:1985/api/v1/clusters?vhost=push-pek-test.xxx.com&ip=push-pek-test.xxx.com&app=live&stream=hJgeKBMPazyp&coworker=192.1
00.20.9:1985, response={"code":0,"data":{"query":{"ip":"push-pek-test.xxx.co
m","vhost":"push-pek-test.xxx.com","app":"live","stream":"hJgeKBMPazyp"},"or
igin":{"ip":"192.100.20.9","port":1935,"vhost":"push-pek-test.xxx.com","api"
:"192.100.20.9:1985","routers":["192.100.20.9:1985"]}}}
Expected Behavior
It is expected that the source nodes can find each other, stream normally, and the latency will not be affected by the number of source nodes in the polling process.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered:
Currently, this error is being reported continuously. I have deployed 2 sets, and one of the environments in the source station cluster does not report this error.
This problem may only occur when there are more than 2 servers in the source station cluster, for example:
origin serverA: 19350/9090, configure coworker as serverB/9091 and serverC/9092.
origin serverB: 19351/9091, configure coworker as serverA/9090 and serverC/9092.
origin serverC: 19352/9092, configure coworker as serverA/9090 and serverB/9091.
The configuration file has added a third origin server configuration, origin.cluster.serverC.conf, which can be used to reproduce this issue.
Start an edge server:
Edge server: 1935, origin server serverB/19351/9091.
Reproduction steps:
Push the stream to serverC/19352 and play the stream on the edge. The edge will fetch the stream from serverB/9091 as the origin.
ServerB will first ask serverA/9090 if there is a stream, and at this point, it returns an origin: null error.
To reproduce, you can debug serverB to identify this issue.
When ServerB is in SrsRtmpConn::playing, which means it is fetching the stream from the origin (edge), it will first ask ServerA if it has the stream. This is because ServerB does not have the stream itself.
After finding that there is no stream, it directly returns an error. However, if it is origin:null, which clearly indicates that there is no stream, it should continue to ask the next origin server.
winlinvip
changed the title
源站集群查找 co-workers 时偶发性的查找不到源站节点
When searching for co-workers in the origin server cluster, occasional inability to find the origin server nodes occurs.
Jul 29, 2023
Description
When compiling and installing version 3.0 alpha4 (3.0.71), there are occasional log reports of a connect error with code=3090. If this error continues to occur consecutively, it will result in the inability to stream.
Environment
Ubuntu 16.04
3.0 alpha4 (3.0.71)
Reproduction
The steps to reproduce the bug are as follows:
Expected Behavior
It is expected that the source nodes can find each other, stream normally, and the latency will not be affected by the number of source nodes in the polling process.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: