Webhook return 503 error - Sonatype Nexus Repository - Sonatype Community

Webhook return 503 error

post by youna on Nov 28, 2022

Hi,

The proxy server is currently connected to Nexus repository and is in use.

nexus repository (localhost:8081) → Squid proxy(192.168.0.XXX:3611) → NHN proxy (133.XXX.XXX.XXX:8081)

Due to security policy, I cannot connect directly to the external central repo (ex. Central Repository:)), so I configure multiple proxy servers to download and use packages.

Package downloads work smoothly, but Webhook doesn’t work at all.

If you look at the Nexus log, it returns 503 errors.

How can I solve these problems?

post by mpiggott on Nov 28, 2022

I don’t think this is a question about Nexus, the service you’ve told Nexus to connect to for WebHooks is returning a 503.

post by youna on Nov 28, 2022

If I delete the host proxy setting from HTTP on the setting screen, the webhook will operate normally, but if I set the host proxy, the webhook will receive an error of 503. If so, should I say that the 503 error occurs in the proxy?

could you tell me what is that " the service you’ve told Nexus to connect to for WebHooks is returning a 503." mean?

post by mpiggott on Nov 29, 2022

Webhooks are sent over HTTP to the server that you configured.

It seems likely that either that server is returning 503 or your HTTP proxy server is.