Versions Compared

Key

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

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

Error Message


Highlight

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

...

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

Cause

You are using 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

...