App service to pull image from Nexus

Orzechowski, Paweł 10 Reputation points
2025-02-14T14:13:39.34+00:00

I want to setup App Service deployment that will be pulling images from private registry - Nexus3.

I have VNET setup and pulling images over vnet is enabled. URL, username and password are properly provided.

In deployment center logs I'm getting error:

Unauthorized. Image registry server should return proper challenge with header WWW-Authenticate.

nslookup for registry works, and registry should be returning:

WWW-Authenticate: BASIC realm="Sonatype Nexus Repository Manager"

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,968 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Achraf Ben Alaya 1,311 Reputation points MVP
    2025-02-16T13:36:46.3+00:00

    Hello ,

    you need to check :

    1- you have the right username and password in the deployment settings.
    2-confirm auth header is correctly sent using basic auth : Authorization: Basic <base64_encoded(username:password)>

    3- check from vnet that you can access the Nexus , nslookup from the console .
    4-Check if Nexsus3 is configured to allow auth from external system or not .

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.