eclipsesource / eclipsesource/J2V8

V8DebugServer Software caused connection abort: socket write error

Open
#473 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.6k
Forks
387
PR merge metrics
No merged PRs in 30d

Description

I try to use V8DebugServer but it can't work well with chrome.
when chrome Discover network targets my V8DebugServer throw a java.net.SocketException like this:

```java
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
at java.net.SocketOutputStream.write(SocketOutputStream.java:143)
at com.eclipsesource.v8.debug.V8DebugServer.sendMessage(V8DebugServer.java:288)
at com.eclipsesource.v8.debug.V8DebugServer.sendJson(V8DebugServer.java:254)
at com.eclipsesource.v8.debug.V8DebugServer.sendCompileEvent(V8DebugServer.java:439)
at com.eclipsesource.v8.debug.V8DebugServer.access$500(V8DebugServer.java:68)
at com.eclipsesource.v8.debug.V8DebugServer$EventHandler.invoke(V8DebugServer.java:505)
at com.eclipsesource.v8.V8.callVoidJavaMethod(V8.java:904)
at com.eclipsesource.v8.V8._executeVoidScript(Native Method)
at com.eclipsesource.v8.V8.executeVoidScript(V8.java:1083)
at com.eclipsesource.v8.V8.executeVoidScript(V8.java:739)
at com.yonyou.cloud.TestMain.main(TestMain.java:21)
```
i found V8DebugServer recive a event
a compileError
![image](https://user-images.githubusercontent.com/13880198/63417733-6bf3e400-c434-11e9-9a24-7c3c9397e969.png)

Thanks for someone’s help

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.