无法处理请求http:// localhost:9000 / api / ce / submit?projectKey

时间:2017-11-21 04:39:26

标签: sonarqube

我正面临着几个项目的SQ扫描问题。

 2017.11.20 20:26:36 ERROR web[AV/cUNmR+tiFEjO/AAAg][o.s.s.w.WebServiceEngine] Fail to process request http://localhost:9000/api/ce/submit?projectKey=com.org.app:app&projectName=ReactorProject

java.lang.IllegalStateException: Can't read file part at org.sonar.server.ws.ServletRequest.readPart(ServletRequest.java:102) at org.sonar.server.ws.ServletRequest.readInputStreamParam(ServletRequest.java:85) at org.sonar.api.server.ws.internal.ValidatingRequest.paramAsInputStream(ValidatingRequest.java:83)
at org.sonar.server.ce.ws.SubmitAction.handle(SubmitAction.java:10

 .......................

Caused by: java.io.IOException: org.apache.tomcat.util.http.fileupload.FileUploadException: Unexpected EOF read on the socket
at org.apache.catalina.connector.Request.parseParts(Request.java:2919)
at org.apache.catalina.connector.Request.parseParameters(Request.java:3215)
at org.apache.catalina.connector.Request.getParameter(Request.java:1145)

Caused by: org.apache.tomcat.util.http.fileupload.FileUploadException: Unexpected EOF read on the socket
at org.apache.tomcat.util.http.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:308)
at org.apache.catalina.connector.Request.parseParts(Request.java:2871)
        ... 52 common frames omitted



Caused by: java.io.EOFException: Unexpected EOF read on the socket
at org.apache.coyote.http11.Http11InputBuffer.fill(Http11InputBuffer.java:718)
at org.apache.coyote.http11.Http11InputBuffer.access$300(Http11InputBuffer.java:40)
        at org.apache.coyote.http11.Http11InputBuffer$SocketInputBuffer.doRead(Http11InputBuffer.java:1063)
        at org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:140)
        at org.apache.coyote.http11.Http11InputBuffer.doRead(Http11InputBuffer.java:257)
        at org.apache.coyote.Request.doRead(Request.java:574)
        at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:326)
        at org.apache.catalina.connector.InputBuffer.checkByteBufferEof(InputBuffer.java:642)
        at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:349)
        at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:183)
        at org.apache.tomcat.util.http.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStream.java:977)
        at org.apache.tomcat.util.http.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:881)
        at java.io.InputStream.read(Unknown Source)
        at org.apache.tomcat.util.http.fileupload.util.Streams.copy(Streams.java:98)
        at org.apache.tomcat.util.http.fileupload.util.Streams.copy(Streams.java:68)
        at org.apache.tomcat.util.http.fileupload.MultipartStream.readBodyData(MultipartStream.java:571)
        at org.apache.tomcat.util.http.fileupload.MultipartStream.discardBodyData(MultipartStream.java:595)
        at org.apache.tomcat.util.http.fileupload.MultipartStream.skipPreamble(MultipartStream.java:613)
        at org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl.findNextItem(FileUploadBase.java:874)
        at org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:854)
        at org.apache.tomcat.util.http.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:256)
        at org.apache.tomcat.util.http.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:280)
        ... 53 common frames omitted

我正在使用嵌入式H2数据库。

Sonar版本为6.5并安装在Windows 7上。

当压缩内容为&lt;

时,文件上传成功完成。大小为50 KB(我猜,根据它对我的影响)。

这对我来说总是失败:

[INFO] Analysis report generated in 1022ms, dir size=384 KB
[INFO] Analysis reports compressed in 3019ms, zip size=190 KB

除此之外的任何事情都会因上述异常而失败。

您是否了解任何限制上传到SQ服务器的文件大小的设置?

任何帮助都将受到高度赞赏。

0 个答案:

没有答案