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
There is an error in SSL operation, which can affect other SSL connections.
Reason:
The error value of SSL operation is stored in thread-local variables. When the operation fails, the ERR_peek_error() called internally by SSL_get_error() does not retrieve the error value. Other coroutines calling SSL_get_error may retrieve the residual error value from other operations.
Current known solution:
When an error occurs in SSL operation and the error code is obtained, it is necessary to call ERR_clear_error() to clear the error list.
Scope:
This applies to the tls/dtls-related parts of versions 4.0/5.0 and similar.
### Playback Address 1: [https://192.168.110.49:8088/live/livestream.flv](https://192.168.110.49:8088/live/livestream.flv)
Successful playback.
### Playback Address 2: [https://serverip:8088/live/livestream.flv](https://serverip:8088/live/livestream.flv)
Playback Address 2 failed (ERR_CERT_AUTHORITY_INVALID), which also caused Playback Address 1 to fail (ERR_INCOMPLETE_CHUNKED_ENCODING).
Expect
An SSL error in one connection does not affect other SSL connections.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered:
winlinvip
changed the title
SSL操作出现错误,会导致其他SSL连接受影响(SSL_read r0=-1, r1=1)
SSL: SSL_get_error get the error of other coroutine. SSL操作出现错误,会导致其他SSL连接受影响(SSL_read r0=-1, r1=1)
Apr 9, 2023
winlinvip
changed the title
SSL: SSL_get_error get the error of other coroutine. SSL操作出现错误,会导致其他SSL连接受影响(SSL_read r0=-1, r1=1)
SSL: SSL_get_error gets the error of another coroutine. Errors in SSL operations can affect other SSL connections (SSL_read r0=-1, r1=1).
Jul 29, 2023
Description
Question:
There is an error in SSL operation, which can affect other SSL connections.
Reason:
The error value of SSL operation is stored in thread-local variables. When the operation fails, the ERR_peek_error() called internally by SSL_get_error() does not retrieve the error value. Other coroutines calling SSL_get_error may retrieve the residual error value from other operations.
Current known solution:
When an error occurs in SSL operation and the error code is obtained, it is necessary to call ERR_clear_error() to clear the error list.
Scope:
This applies to the tls/dtls-related parts of versions 4.0/5.0 and similar.
SRS Log:
SRS Config:
Replay
Step 1: Start the image
Step 2: Modify the local hosts file by adding a domain resolution line
Step 3: Open two playback pages simultaneously
Step 4: Stream the content
Step 5: Start playing
Expect
An SSL error in one connection does not affect other SSL connections.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: