Unknown nuget feed error causes nexus to crash

Last night our datadog monitor triggered to indicate our nexus server had gone offline. Inspecting the logs from the timestamp indicated the following:

*UNKNOWN com.sonatype.nexus.repository.nuget.internal.NugetFeedHandler - Unknown error
org.sonatype.nexus.common.io.CooperationException: Cooperative wait timed out on https://nexus.<domain redacted>.com/repository/nuget:FindPackagesById:{$skip=40, semVerLevel=2.0.0, id='Microsoft.Extensions.Configuration.Json'} (2 threads cooperating)
        at org.sonatype.nexus.common.io.CooperatingFuture.waitForCall(CooperatingFuture.java:167)        at org.sonatype.nexus.common.io.CooperatingFuture.cooperate(CooperatingFuture.java:81)
        at org.sonatype.nexus.common.io.ScopedCooperationFactorySupport$ScopedCooperation.cooperate(ScopedCooperationFactorySupport.java:106)        at com.sonatype.nexus.repository.nuget.orient.internal.v2.OrientNugetLocalGalleryFacetSupport.feed(OrientNugetLocalGalleryFacetSupport.java:230)
        at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
        at org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:272)
        at org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:54)        at com.sonatype.nexus.repository.nuget.internal.NugetFeedHandler.feed(NugetFeedHandler.java:69)
        at com.sonatype.nexus.repository.nuget.internal.NugetFeedHandler.doHandle(NugetFeedHandler.java:49)        at com.sonatype.nexus.repository.nuget.internal.AbstractNugetHandler.handle(AbstractNugetHandler.java:46)
        at org.sonatype.nexus.repository.view.Context.proceed(Context.java:88)

The service went into a down state and did not recover. The service had to be manually restarted after this. Any ideas on the cause from the call stack?

That is a timeout talking to a remote nuget

any idea why that would crash the service?

It shouldn’t, it may simply be a symptom rather than the problem.