junichi11 edited a comment on pull request #2335:
URL: https://github.com/apache/netbeans/pull/2335#issuecomment-683351020
@matthiasblaesing As a workaround: Add "User-Agent" to `URLConnection`?
e.g. no failures with the following
```java
URLConnection connection = source.openConnection();
connection.addRequestProperty("User-Agent", "Mozilla/5.0 (X11;
Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103
Safari/537.36");
try(InputStream is = connection.getInputStream();
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists