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.
Summary: | java.io.IOException: Server returned HTTP response code: 403 for URL: | ||
---|---|---|---|
Product: | ide | Reporter: | Lukas Hasik <lhasik> |
Component: | Exceptions Reporter | Assignee: | jcatchpoole <jcatchpoole> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | blaha, dkolar, jglick, jhorvath, jsedek, jtulach, juhrik, mmirilovic |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | application.jar |
Description
Lukas Hasik
2008-03-05 10:02:21 UTC
Jack, can you help us, no Java program seems to be able to connect to netbeans.org, can collab fix it somehow? I'm attaching simple java application: code: URL postURL = new URL(args[0]); URLConnection conn = postURL.openConnection(); InputStream stream = conn.getInputStream(); BufferedReader reader = new BufferedReader(new InputStreamReader(stream)); String str = reader.readLine(); System.out.println(str); reader.close(); stream.close(); usage: java -jar application.jar http://www.netbeans.org -> result IOException java -jar application.jar http://www.google.com ->first page line is printed you can verify functionality using this simple app Created attachment 57795 [details]
application.jar
*** Issue 129264 has been marked as a duplicate of this issue. *** let's show error message instead of throwing exception on an IOException connection failture changeset: 71596:fc12fc2621f1 *** Issue 129333 has been marked as a duplicate of this issue. *** *** Issue 129252 has been marked as a duplicate of this issue. *** I this issue has already been fixed on Collab side as well as workarounded on our side. |