.NET v2.2 build fails with server error 504 (Gateway Time-out) when pulling packages

Solution Verified - Updated -

Issue

The build of .NET application fails with following error:

I0106 01:03:56.4432731       1 sti.go:697] Response status code does not indicate success: 504 (Gateway Time-out).
I0106 01:03:57.244261       1 sti.go:697] Retrying 'FindPackagesByIdAsyncCore' for source 'https://nexus-repository.example.com/repository/nuget-group/FindPackagesById()?id='System.Linq.Expressions'&semVerLevel=2.0.0' .

Environment

  • OpenShift Container Platform:

    • 3.11
  • S2I .NET build

  • .NET version 2.2

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