Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sonatype Nexus 3 504 Gateway Timeout when pushing to hosted Docker repository

I am getting 504 GATEWAY_TIMEOUT when pushing to a hosted Docker repo on Sonatype Nexus 3. I'm trying to push a multi-GB layer:

    451c9f0946ad: Image already exists
    97444a62d0da: Image already exists
    3acdb070c7f5: Image already exists
    78362681bd49: Image already exists
    5890a244c36a: Pushing [==================================================>] 2.403 GB
    Received unexpected HTTP status: 504 GATEWAY_TIMEOUT

It seems to error after about 4 to 4.5 minutes. I don't see a way to adjust the timeout on the Nexus side. Any ideas?

like image 423
viyh Avatar asked Dec 30 '25 08:12

viyh


1 Answers

You'll get error 504 from a reverse proxy running in front of Nexus, not from Nexus itself. Do you have nginx or Apache or similar running in front of the server? If so check the configuration there.

like image 149
rseddon Avatar answered Jan 03 '26 15:01

rseddon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!