Versions Compared

Key

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

Error Message

...

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

Highlight

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 are using a proxy 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:

...