This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250624 - Uploading log files doesn't work
Summary: Uploading log files doesn't work
Status: REOPENED
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks: 258010
  Show dependency tree
 
Reported: 2015-02-23 10:16 UTC by cezariusz
Modified: 2016-02-16 09:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Error message (20.75 KB, image/png)
2015-02-23 10:16 UTC, cezariusz
Details
New messages log. (96.90 KB, image/png)
2015-04-13 09:58 UTC, cezariusz
Details
New error message (18.61 KB, image/png)
2015-04-13 10:03 UTC, cezariusz
Details
New messages log. (96.90 KB, application/octet-stream)
2015-04-13 11:14 UTC, cezariusz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cezariusz 2015-02-23 10:16:17 UTC
Created attachment 152151 [details]
Error message

I had two exceptions today, IDE suggested me to report the problem, but it has failed. I did it many times before and it worked without any problems. I use my account and password to upload reports.

Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b18
System: Windows 7 version 6.1 running on amd64; Cp1250; pl_PL (nb)
Comment 1 cezariusz 2015-02-23 10:17:20 UTC
In messages.log:

INFO [org.netbeans.modules.uihandler.Installer]: findIdentity: 71566a22-aa10-4869-a7fa-bf7b3da9d866_d2104f83-6601-4855-91b7-629548fd20f7
INFO [org.netbeans.modules.uihandler.Installer]
java.net.SocketException: Software caused connection abort: recv failed
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:150)
	at java.net.SocketInputStream.read(SocketInputStream.java:121)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:703)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1534)
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:90)
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1431)
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1429)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessController.doPrivileged(AccessController.java:713)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1428)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
	at org.netbeans.modules.uihandler.Installer.uLogs(Installer.java:1407)
	at org.netbeans.modules.uihandler.Installer.uploadLogs(Installer.java:1222)
	at org.netbeans.modules.uihandler.Installer.access$1600(Installer.java:122)
[catch] at org.netbeans.modules.uihandler.Installer$Submit.uploadAndPost(Installer.java:2147)
	at org.netbeans.modules.uihandler.Installer$Submit.access$1400(Installer.java:1654)
	at org.netbeans.modules.uihandler.Installer$Submit$1$2.run(Installer.java:2047)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Comment 2 Tomas Hurka 2015-02-23 12:04:36 UTC
I am missing messages.log file.
Comment 3 cezariusz 2015-02-23 12:28:29 UTC
I can't send you the full messages.log file because there are some classified information (too many to filter them by hand). But believe me or not, there is no more information about the connection error than I posted in the comment #1.
Comment 4 Tomas Hurka 2015-02-23 13:40:51 UTC
Ok, I cannot investigate the issue without information from messages.log. I just verified that the server part is working fine and we are getting new reports. Closing as works-for-me until we have more info.
Comment 5 cezariusz 2015-04-13 09:57:52 UTC
Uploading works at home, but doesn't work at my office. Probably it has something to do with our corporate proxy. I'll attach the messages.log (nothing there) and a new error message from the dev version, which has additional info.
Comment 6 cezariusz 2015-04-13 09:58:32 UTC
Created attachment 153157 [details]
New messages log.
Comment 7 cezariusz 2015-04-13 10:03:20 UTC
Created attachment 153158 [details]
New error message

Note the "Length Required" information in the error message.
Comment 8 cezariusz 2015-04-13 10:06:59 UTC
Product Version: NetBeans IDE Dev (Build 201504100001)
Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b18
System: Windows 7 version 6.1 running on amd64; Cp1250; pl_PL (nb)

We are using squid/2.7.STABLE6 as the proxy.
Comment 9 Tomas Hurka 2015-04-13 11:09:42 UTC
Why do you attaching messages.log as image/png?
Comment 10 cezariusz 2015-04-13 11:14:50 UTC
Created attachment 153159 [details]
New messages log.

Sorry, I habitually changed to PNG.
Comment 11 Tomas Hurka 2015-04-13 11:26:04 UTC
ok, messages.log shows that you are using direct connection (i.e. no proxy).

INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy resolver: Windows
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy reloading succeeded.
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy - mode: direct
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy: fell to default (correct if direct mode went before)
Comment 12 cezariusz 2015-04-13 11:29:39 UTC
It works as a transparent proxy - no need to configure anything, no way to bypass it.
Comment 14 Tomas Hurka 2015-04-13 11:49:14 UTC
(In reply to cezariusz from comment #12)
> It works as a transparent proxy 
It would be good to mention it in advance. 

Reassigning to ide/logger to investigate, why http request is missing "Content-Length" header field. 
Note that this problem looks similar to issue #231359.