0

We are using OpenShift S2i build to create image for our project.

Below is the command we are using

./s2i build http://agent001:8080/tfs/IT/_git/emp-services-repo --ref=S2i registry.access.redhat.com/ubi8/dotnet-31 --copy  emp-service

It fails with the below error when restoring packages

The content at 'http://nugetenv.abc.com/nuget/FindPackagesById()?id='Microsoft.AspNetCore.Http.Abstractions'&semVerLevel=2.0.0' is not valid XML.
For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to 
Parse and pass the settings into XmlReader.Create method.

we do have the no proxy and proxy env set up in the linux box. What could be the main reason behind this error and how to trouble shoot this one ?

Riley
  • 21
  • 1
  • 5

0 Answers0