Proxy for private repository with basic auth
See original GitHub issueThanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.
- What are you trying to do?
Add Magento composer repository to nexus.
I get an error from composer :
[Composer\Downloader\TransportException]
The "https://<my_domain>/repository/composer-magento/packages.json" file could not be downloaded (HTTP/1.1 503 Service Unavailable)
From nexus side :
2019-11-15 09:47:01,450+0000 INFO [qtp1645437026-137287] org.sonatype.nexus.repository.httpclient.internal.HttpClientFacetImpl - Repository status for composer-magento changed from READY to AUTO_BLOCKED_UNAVAILABLE until 2019-11-15T09:47:41.449Z - reason Unauthorized for https://repo.magento.com
2019-11-15 09:47:01,452+0000 WARN [qtp1645437026-137287] org.sonatype.nexus.repository.composer.internal.ComposerProxyFacetImpl - Exception org.sonatype.nexus.repository.proxy.ProxyServiceException: HTTP/1.1 401 Unauthorized checking remote for update, proxy repo composer-magento failed to fetch packages.json with status line HTTP/1.1 401 Unauthorized, content not in cache.
- What feature or behavior is this required for?
Mutualize repository and access to modules.
- How could we solve this issue? (Not knowing is okay!)
Don’t know
- Anything else?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Use http proxy for git repository authentication - Stack Overflow
We have a Github repository account, the repo, protected both by a password and an ssh key. We have an http proxy which...
Read more >Authentication to private repositories - Athens
Once we've properly authenticated we want to share the .subversion directory with the Athens proxy server in order to reuse those credentials. Below...
Read more >Authenticate proxy with nginx - Docker Documentation
While this model gives you the ability to use whatever authentication backend you want through the secondary authentication mechanism implemented inside your ...
Read more >APT Proxy HTTP authentication seems not working
The HTTP sections says: “The HTTP configuration section allows you to configure the necessary details to access the remote repository, even if ...
Read more >Private Repository Authentication :: Antora Docs
In order for Antora to access private repositories, you need to supply it with authentication credentials for any private repository URL you want...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I have the same issue.
Fixed in: 68b294614a4900be5a6b4fb77eb8b63f2b821f23