Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Error Message


Highlight

When trying to send a message with dynamic discovery, the following error message appears: “UserCredential for Proxy Authentication is missing”.

eu.europa.ec.dynamicdiscovery.exception.ConnectionException:UserCredential for Proxy Authentication is missing. 


eu.europa.ec.dynamicdiscovery.core.security.impl.DefaultProxy.<init>(DefaultProxy.java:49)

eu.domibus.common.services.impl.DynamicDiscoveryServiceOASIS.getConfiguredProxy(DynamicDiscoveryServiceOASIS.java:142)

eu.domibus.common.services.impl.DynamicDiscoveryServiceOASIS.createDynamicDiscoveryClient(DynamicDiscoveryServiceOASIS.java:95)

Cause

When trying to send a message with dynamic discovery, you can use a proxy without user authentication for outgoing request (if it was configured)You have configured a proxy for outgoing requests that is not protected by a username and password.


Workaround/Fix

In the PMode, the values of the username and password fields must be set to null as shown below, they must not be empty:

 <prop key="domibus.proxy.enabled">true</prop>

<prop key="domibus.proxy.http.host">proxy-host</prop>

<prop key="domibus.proxy.http.port">8080</prop>

<prop key="domibus.proxy.user">null</prop>

<prop key="domibus.proxy.password">null</prop>

<prop key="domibus.proxy.nonProxyHosts">localhost</prop>

Content by Label
showLabelsfalse
max5
spacesHOME
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("domibus","pmode","security","dynamic-disovery","proxy","authentication") and type = "page" and space = "HOME"
labelsdomibus

...