EOF while 1 bytes expected
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 15/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- networking
Hướng nghiên cứu
The stack trace runs from RtmpClient.handleMessages through CommandsManager.readMessageResponse and BasicHeader.parseBasicHeader down to TcpStreamSocket.read, where the channel closes mid-read. Start with the RTMP read loop in RtmpClient.kt around line 341 to see when the socket is expected to close. The issue gives no reproduction or expected behaviour, so a fix needs a maintainer decision on whether this EOF is an error or a normal disconnect.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
@pedroSG94 hi i get this exception as below ,how to fix this
kotlinx.coroutines.channels.ClosedReceiveChannelException: EOF while 1 bytes expected
at io.ktor.utils.io.ByteBufferChannel.readByte(ByteBufferChannel.kt:2507)
at com.pedro.common.socket.TcpStreamSocket.read(TcpStreamSocket.kt:79)
at com.pedro.rtmp.utils.socket.TcpSocket.read(TcpSocket.kt:75)
at com.pedro.rtmp.rtmp.message.BasicHeader$Companion.parseBasicHeader(BasicHeader.kt:63)
at com.pedro.rtmp.rtmp.message.RtmpHeader$Companion.readHeader(RtmpHeader.kt:45)
at com.pedro.rtmp.rtmp.message.RtmpHeader$Companion.readHeader$default(RtmpHeader.kt:42)
at com.pedro.rtmp.rtmp.message.RtmpMessage$Companion.getRtmpMessage(RtmpMessage.kt:51)
at com.pedro.rtmp.rtmp.CommandsManager.readMessageResponse(CommandsManager.kt:128)
at com.pedro.rtmp.rtmp.RtmpClient.handleMessages(RtmpClient.kt:341)
at com.pedro.rtmp.rtmp.RtmpClient.access$handleMessages(RtmpClient.kt:59)
at com.pedro.rtmp.rtmp.RtmpClient$connect$1.invokeSuspend(RtmpClient.kt:269)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:823)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)
- Ngôn ngữ chính
- Kotlin
- Star
- 3k
- Fork
- 946
- Merge trung bình
- 4 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 9
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pedroSG94/RootEncoder
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
pedroSG94/RootEncoder#2213 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
pedroSG94/RootEncoder#2207 · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
pedroSG94/RootEncoder#2203 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
pedroSG94/RootEncoder#2192 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
pedroSG94/RootEncoder#2177 · 44 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của pedroSG94/RootEncoder
Issue tương tự
-
:maddi-inspection-kotlin:test runs out of heap in a full maddi test run; exit 1 with no failing testĐang mởbuild/ci front-end:kotlin
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
bisq-network/bisq-mobile#1948 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
afk-ok area:data-quality importer size:S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
enorm-labs/event-junkie#3301 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Negate special case for Long literals uses the wrong valueCó thể đã có người làm @bryantaustin13 đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
cqframework/clinical_quality_language#1865 ·
Maintainer thường phản hồi trong vòng 8 ngày
-
MDM: interfaceName cannot be set through managed configurationsCó thể đã có người làm @JulienUsson đã nhận hôm nay. Đang mởbug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
bk138/droidVNC-NG#404 · 1 bình luận ·