proxy with username and password doesn't work: java.io.IOException: Authentication failure

Solution Verified - Updated -

Issue

  • I 'm trying to connect to a URL. JBoss is deployed in a server where a proxy is needed with a username and password to go to the internet. I configured proxy with system parameters (http.proxyHost, http.proxyPort, http.proxyUsername, http.proxyPassword), but my JBoss log shows a java.io.IOException: Authentication failure, and the proxy log shows an anonymous access.

Environment

  • JBoss Enterprise Application Platform (EAP)
  • Java (JBoss is not needed for this scenario)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.