Exception will throw if you open URL with delay
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
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- android, java, javascript
- Lĩnh vực
- cli, mobile-dev, networking
Hướng nghiên cứu
Tái hiện vấn đề với tns create app và tns debug android, bao gồm cả các trường hợp URL bị trễ và hai tab. Bắt đầu từ các stack frame của NanoWSD.java và NanoHTTPD.java, sau đó theo dõi cách luồng gỡ lỗi Android xử lý một kết nối đã đóng hoặc bị trễ. Hoàn tất khi các kịch bản này không còn tạo ra ngoại lệ broken-pipe đã được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Tell us about the problem
exception will throw if you open URL with delay
Which platform(s) does your issue occur on?
Android
Please provide the following version numbers that your issue occurs with:
- CLI: 4.1.0-rc
- Runtime(s): 4.1.1-rc
Please tell us how to recreate the issue in as much detail as possible.
- tns create app
- tns debug android
Please don't open the URL. Open it after 10 min(for example). You will see the following exception:
System.err: java.io.IOException: Broken pipe
System.err: at android.net.LocalSocketImpl.write_native(Native Method)
System.err: at android.net.LocalSocketImpl.-wrap2(Unknown Source:0)
System.err: at android.net.LocalSocketImpl$SocketOutputStream.write(LocalSocketImpl.java:154)
System.err: at fi.iki.elonen.NanoWSD$WebSocketFrame.write(NanoWSD.java:700)
System.err: at fi.iki.elonen.NanoWSD$WebSocket.sendFrame(NanoWSD.java:271)
System.err: at fi.iki.elonen.NanoWSD$WebSocket.close(NanoWSD.java:135)
System.err: at fi.iki.elonen.NanoWSD$WebSocket.handleCloseFrame(NanoWSD.java:184)
System.err: at fi.iki.elonen.NanoWSD$WebSocket.handleWebsocketFrame(NanoWSD.java:218)
System.err: at fi.iki.elonen.NanoWSD$WebSocket.readWebsocket(NanoWSD.java:246)
System.err: at fi.iki.elonen.NanoWSD$WebSocket.access$200(NanoWSD.java:65)
System.err: at fi.iki.elonen.NanoWSD$WebSocket$1.send(NanoWSD.java:88)
System.err: at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:1011)
System.err: at fi.iki.elonen.NanoHTTPD$LocalClientHandler.run(NanoHTTPD.java:251)
System.err: at java.lang.Thread.run(Thread.java:764)
another case to reproduce this exception is:
- tns create app
- tns debug android
- copy URL from terminal and open 2 tabs.
- close the second tab and you will see the exception.
- Ngôn ngữ chính
- JavaScript
- Star
- 1.1k
- Fork
- 204
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 8
Hướng dẫn đóng góp
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 NativeScript/nativescript-cli
-
in-progress
NativeScript/nativescript-cli#6140 · 2 bình luận · 1 người được giao ·
-
NativeScript/nativescript-cli#6090 · 1 người được giao ·
-
in progress
NativeScript/nativescript-cli#6015 · 1 reaction · 1 người được giao ·
-
question
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
NativeScript/nativescript-cli#5992 · 5 bình luận ·
-
feature-pending-triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
NativeScript/nativescript-cli#5975 ·
Tất cả issue của NativeScript/nativescript-cli
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
avniproject/avni-client#2135 ·
-
automated broken-link
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
agent/security hive/hosted-available-lke648397-260827-5n31 security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
babalae/bettergi-scripts-list#3674 ·
-
A-Release-Notes C-Editing D-Modest S-Ready-For-Implementation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
bevyengine/bevy-website#2595 ·