jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2 & 3
  • MNG-3477

Authentication failures on dependency download aren't reported

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0.8
  • Fix Version/s: 3.0-beta-1
  • Component/s: Dependencies
  • Labels:
    None

Description

We have a Maven proxy server (using Proximity) that requires authentication. Users store their username and passwords in settings.xml. If the login information is incorrect, they are not informed the the problem is due to bad credentials, just that the dependencies are missing. -e and -X don't add anything useful.

This is true for both dependencies and plugins.

Issue Links

is related to

Improvement - An improvement or enhancement to an existing feature or task. MNG-2741 [regression] Meaningless error message: "Error transferring file"

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Improvement - An improvement or enhancement to an existing feature or task. MNG-3794 Improve error logging when downloading depedencies

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
ricoh added a comment - 07/Jul/09 6:12 AM

Hi, is there any update or a schedule? We have the same problem with Nexus, but i think its a Maven problem and its a major lack for us.
If you sniff the stream, you will see the correct error message

GET /nexus/content/groups/public/junit/junit/3.8.1/junit-3.8.1.jar HTTP/1.1
Accept-Encoding: gzip
Pragma: no-cache
User-Agent: Java/1.6.0_13
Host: ****:8081
Accept: text/html, image/gif, image/jpeg, ; q=.2, */; q=.2
Connection: keep-alive

HTTP/1.1 401 Unauthorized
WWW-Authenticate: BASIC realm="Sonatype Nexus Repository Manager"
Content-Length: 0
Server: Jetty(6.1.11)

Thanks for your help

Show
ricoh added a comment - 07/Jul/09 6:12 AM Hi, is there any update or a schedule? We have the same problem with Nexus, but i think its a Maven problem and its a major lack for us. If you sniff the stream, you will see the correct error message GET /nexus/content/groups/public/junit/junit/3.8.1/junit-3.8.1.jar HTTP/1.1 Accept-Encoding: gzip Pragma: no-cache User-Agent: Java/1.6.0_13 Host: ****:8081 Accept: text/html, image/gif, image/jpeg, ; q=.2, */; q=.2 Connection: keep-alive HTTP/1.1 401 Unauthorized WWW-Authenticate: BASIC realm="Sonatype Nexus Repository Manager" Content-Length: 0 Server: Jetty(6.1.11) Thanks for your help
Hide
Permalink
Benjamin Bentmann added a comment - 30/Mar/10 4:28 PM

For Maven 2.x, this was already fixed as per MNG-3794. Fixed in r929299 for 3.x now.

Show
Benjamin Bentmann added a comment - 30/Mar/10 4:28 PM For Maven 2.x, this was already fixed as per MNG-3794. Fixed in r929299 for 3.x now.

People

  • Assignee:
    Benjamin Bentmann
    Reporter:
    Justin Edelson
Vote (3)
Watch (1)

Dates

  • Created:
    21/Mar/08 3:16 PM
    Updated:
    30/Mar/10 4:28 PM
    Resolved:
    30/Mar/10 4:28 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.