question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proxy for private repository with basic auth

See original GitHub issue

Thanks 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:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
MLukmancommented, Dec 10, 2020

I have the same issue.

0reactions
bhamailcommented, Nov 7, 2022

Fixed in: 68b294614a4900be5a6b4fb77eb8b63f2b821f23

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found