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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content