Issues with container proxy repo

I’m trying to setup a docker/container Proxy repo on Nexus3 OSS.
Yet it seems the URL or are not correct, I always get this error:

docker pull nexus.demodomain.net/repository/opencode/bwi/bundesmessenger/backend/container-images/bundesmessenger-call:0.2.6-jammy-production

Error response from daemon: error parsing HTTP 404 response body: invalid character ‘<’ looking for beginning of value: "\n<!DOCTYPE html>\n<html lang="en">\n<head>\n <title>404 - Sonatype Nexus Repository</title>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>\n\n\n <link rel="icon" type="image/png" href="../../../../../../../../../static/rapture/resources/safari-favicon-32x32.png?3.64.0-04" sizes="32x32">\n <link rel="mask-icon" href="../../../../../../../../../static/rapture/resources/favicon-white.svg?3.64.0-04" color="#00bb6c">\n <link rel="icon" type="image/png" href="../../../../../../../../../static/rapture/resources/favicon.svg?3.64.0-04" sizes="16x16">\n\n <link rel="stylesheet" type="text/css" href="../../../../../../../../../static/css/nexus-content.css?3.64.0-04"/>\n</head>\n<body>\n<div class="nexus-header">\n <a href="../../../../../../../../..">\n <div class="product-logo">\n <img src="../../../../../../../../../static/rapture/resources/nxrm-reverse-icon.png?3.64.0-04" alt="Product logo"/>\n \n <div class="product-id">\n <div class="product-id__line-1">\n <span class="product-name">Sonatype Nexus Repository\n \n <div class="product-id__line-2">\n <span class="product-spec">OSS 3.64.0-04\n \n \n </a>\n\n\n<div class="nexus-body">\n <div class="content-header">\n <img src="../../../../../../../../../static/rapture/resources/icons/x32/exclamation.png?3.64.0-04" alt="Exclamation point" aria-role="presentation"/>\n <span class="title">Error 404\n <span class="description">Not Found\n \n <div class="content-body">\n <div class="content-section">\n Not Found\n \n \n\n</body>\n</html>\n\n"

Can someone help me to find the cause of the issue which I’m facing here?

It looks like you are using a reverse proxy to forward the request from a port to a path. Seems like maybe your forwarding rules may be incorrect.

There are some reverse proxy examples on this page that may be of use if you haven’t already seen them.

Port to Path? I’m using HAProxy to get the RevProxying done. But I don’t get what exactly might be wrong. I’m doing a SSL offloading to get the SSL verification done on the frontend haproxy system and the backend it connected without.
Any idea what exactly might have to be modified?

Seems I’ve gotten the general issue done as long as I use the bearer realm on my client and an anonymous access. But as soon as I try to do the access via User/PW I get a: “Error response from daemon: Get “http://nexus.far-galaxy.net/v2/”: context deadline exceeded”.
I’ve created a new use and assigned the roles according to the proxy repo I’ve configured. Still it does not work. Can someone help me figuring out what might be the cause for that?

Have you followed the instructions for Docker Authentication on the help site?

Sure I did, the thing is, my goal is to concatenate another repo and use the Nexus as proxy. Yet the anonymous auth works as long as I use it with a bearer token realm entry in .docker/config.yml but as soon as I try to do a user based auth it tells me my auth it incorrect. Without auth I don’t get the second repo service to authenticate properly and with it fails “authentication failed”
So something I do, must definitely be wrong, even though it’s partly working with a docker pull on a linux system without authentication.

docker login nexus.domain.sample
Authenticating with existing credentials…
Login did not succeed, error: Error response from daemon: login attempt to https://nexus.domain.sample/v2/ failed with status: 401 Unauthorized
Username (demo): dockernexus
Password:
Error response from daemon: login attempt to https://nexus.domain.sample/v2/ failed with status: 401 Unauthorized

Can someone tell me if I can figure out if my user actually works and has the correct permission?
Cause the WebUI login doesn’t work with the specified docker registry role.
Any other way I can verify if the user and the pw are correct as well as the permission settings?