Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

HTTP 500 When pushing docker image



  • Hi,

    when pushing one image to the ProGet Server we get a HTTP 500 error.

    16:00:45  + docker push vl-dev-repo.ki.lan/sst-coco-oci-prod/sub-coco-cli:test
    16:00:45  The push refers to repository [vl-dev-repo.ki.lan/sst-coco-oci-prod/sub-coco-cli]
    16:00:45  5476da93a45d: Preparing
    16:00:45  94cff3c0f1ca: Preparing
    16:00:45  26e17999f588: Preparing
    16:00:45  3668ef704aa2: Preparing
    16:00:45  8248b221e3e1: Preparing
    16:00:45  9e3250a6c86c: Preparing
    16:00:45  1d76ae469fc3: Preparing
    16:00:45  0168265636e1: Preparing
    16:00:45  53cd28cbdad5: Preparing
    16:00:45  43d0adb5e44f: Preparing
    16:00:45  cca10bba424a: Preparing
    16:00:45  d3fd88d75ece: Preparing
    16:00:45  d157eb985080: Preparing
    16:00:45  974a466e1a0a: Preparing
    16:00:45  3819aa7bbe8b: Preparing
    16:00:45  4c13ea2c0b02: Preparing
    16:00:45  2ed6a19677f5: Preparing
    16:00:45  d2f7abddd607: Preparing
    16:00:45  53babe930602: Preparing
    16:00:45  9e3250a6c86c: Waiting
    16:00:45  1d76ae469fc3: Waiting
    16:00:45  0168265636e1: Waiting
    16:00:45  53cd28cbdad5: Waiting
    16:00:45  43d0adb5e44f: Waiting
    16:00:45  cca10bba424a: Waiting
    16:00:45  2ed6a19677f5: Waiting
    16:00:45  d3fd88d75ece: Waiting
    16:00:45  d2f7abddd607: Waiting
    16:00:45  53babe930602: Waiting
    16:00:45  d157eb985080: Waiting
    16:00:45  974a466e1a0a: Waiting
    16:00:45  3819aa7bbe8b: Waiting
    16:00:45  4c13ea2c0b02: Waiting
    16:00:45  3668ef704aa2: Layer already exists
    16:00:45  26e17999f588: Layer already exists
    16:00:45  8248b221e3e1: Layer already exists
    16:00:45  1d76ae469fc3: Layer already exists
    16:00:45  9e3250a6c86c: Layer already exists
    16:00:45  0168265636e1: Layer already exists
    16:00:45  53cd28cbdad5: Layer already exists
    16:00:45  43d0adb5e44f: Layer already exists
    16:00:45  cca10bba424a: Layer already exists
    16:00:45  d3fd88d75ece: Layer already exists
    16:00:45  d157eb985080: Layer already exists
    16:00:45  974a466e1a0a: Layer already exists
    16:00:45  94cff3c0f1ca: Pushed
    16:00:45  3819aa7bbe8b: Layer already exists
    16:00:45  4c13ea2c0b02: Layer already exists
    16:00:45  d2f7abddd607: Layer already exists
    16:00:45  2ed6a19677f5: Layer already exists
    16:00:57  53babe930602: Retrying in 5 seconds
    [...]
    16:01:20  53babe930602: Retrying in 1 second
    16:01:30  5476da93a45d: Pushed
    16:01:32  53babe930602: Retrying in 15 seconds
    [...]
    16:02:13  53babe930602: Retrying in 1 second
    16:02:23  received unexpected HTTP status: 500 Internal Server Error
    

    In the container logs we can see:

    info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
          Request finished HTTP/1.1 PATCH http://vl-dev-repo.ki.lan/v2/sst-coco-oci-prod/sub-coco-cli/blobs/uploads/32b375c9-b883-4836-8aa7-49fc1f849ada - 202 0 - 8424.9972ms
    info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
          Request starting HTTP/1.1 PUT http://vl-dev-repo.ki.lan/v2/sst-coco-oci-prod/sub-coco-cli/blobs/uploads/32b375c9-b883-4836-8aa7-49fc1f849ada?digest=sha256%3A10af00adc39beb81a045806ad9605cea669cf8deb097de90d0aa1bdc21ea1342 - - 0
    A 500 error occurred in sst-coco-oci-prod: Nullable object must have a value.
    info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
          Request finished HTTP/1.1 PUT http://vl-dev-repo.ki.lan/v2/sst-coco-oci-prod/sub-coco-cli/blobs/uploads/32b375c9-b883-4836-8aa7-49fc1f849ada?digest=sha256%3A10af00adc39beb81a045806ad9605cea669cf8deb097de90d0aa1bdc21ea1342 - 500 1091 application/json 38.1785ms
    

    We had a similar issue in the past, which seemed to be fixed with version 25.0.10, but it now reappeared.
    I updated to 25.0.12 now, but the issue existed in 25.0.10 as well as in 25.0.12.


  • inedo-engineer

    Hi @wechselberg-nisboerge_3629 ,

    This is definitely a strange error; are you using PostgreSQL by chance?

    I'm seeing 53babe930602: Retrying... a few times. Is this consistently happening with this layer? Is there anything special about it (big, small, etc)?

    Thanks,
    Alana


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation