Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-24248

NuGet v3 proxy fails to work with HA-C

    XMLWordPrintable

    Details

      Description

      Nuget v3 proxy fails to work with Nexus HA-C with 500 response being returned when index.json is requested. The below warning is logged. I was able to reproduce the same locally with latest Nexus HA version 3.24.0 

       

      2020-06-15 15:34:46,185+0800 INFO  [qtp274135518-5903]  admin org.sonatype.nexus.repository.httpclient.internal.HttpClientFacetImpl - Repository status for nuget-api-proxy changed from READY to AVAILABLE - reason n/a for n/a

      2020-06-15 15:34:46,211+0800 WARN  [qtp274135518-5903]  admin org.sonatype.nexus.repository.httpbridge.internal.ViewServlet - Failure servicing: GET /repository/nuget-api-proxy/index.json

      com.hazelcast.nio.serialization.HazelcastSerializationException: Failed to serialize 'com.sonatype.nexus.repository.nuget.v3.models.ServiceIndex'

       at com.hazelcast.internal.serialization.impl.SerializationUtil.handleSerializeException(SerializationUtil.java:75)

       at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toBytes(AbstractSerializationService.java:157)

       at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toBytes(AbstractSerializationService.java:133)

       at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toData(AbstractSerializationService.java:118)

       at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toData(AbstractSerializationService.java:106)

       at com.hazelcast.cache.impl.AbstractInternalCacheProxy.putAsyncInternal(AbstractInternalCacheProxy.java:251)

       at com.hazelcast.cache.impl.AbstractCacheProxy.put(AbstractCacheProxy.java:198)

       at com.hazelcast.cache.impl.CacheProxy.put(CacheProxy.java:80)

       at com.hazelcast.cache.impl.CacheProxy.put(CacheProxy.java:138)

       at com.sonatype.nexus.repository.nuget.internal.v3.NugetServicesCache.cacheServiceIndex(NugetServicesCache.java:53)

       at com.sonatype.nexus.repository.nuget.internal.v3.NugetV3ProxyFacet.storeServiceIndex(NugetV3ProxyFacet.java:151)

       at com.sonatype.nexus.repository.nuget.internal.v3.NugetV3FacetSupport.storeItem(NugetV3FacetSupport.java:97)

       at com.sonatype.nexus.repository.nuget.internal.proxy.NugetProxyFacet.store(NugetProxyFacet.java:54)

       at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.doGet(ProxyFacetSupport.java:271)

       at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.lambda$1(ProxyFacetSupport.java:245)

       at org.sonatype.nexus.common.io.CooperatingFuture.performCall(CooperatingFuture.java:122)

       at com.sonatype.nexus.hazelcast.internal.io.DistributedCooperatingFuture.performCall(DistributedCooperatingFuture.java:50)

       at org.sonatype.nexus.common.io.CooperatingFuture.call(CooperatingFuture.java:64)

       at org.sonatype.nexus.common.io.ScopedCooperationFactorySupport$ScopedCooperation.cooperate(ScopedCooperationFactorySupport.java:99)

      ...

      Caused by: com.hazelcast.nio.serialization.HazelcastSerializationException: There is no suitable serializer for class com.sonatype.nexus.repository.nuget.v3.models.ServiceIndex

       at com.hazelcast.internal.serialization.impl.AbstractSerializationService.serializerFor(AbstractSerializationService.java:487)

       at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toBytes(AbstractSerializationService.java:146)

       

        Attachments

          Activity

            People

            Assignee:
            jhill Joshua Hill
            Reporter:
            msurani Mahendra Surani
            Last Updated By:
            Wes Wannemacher
            Team:
            NXRM - Trinity
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title

                  PagerDuty