Uploaded image for project: 'Talend Unified Platform'
  1. Talend Unified Platform
  2. TUP-20998

Can not download jars from custom nexus after use component manager

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • Bug
    • Status: closed
    • Major
    • Resolution: Fixed
    • None
    • 7.1.1
    • Studio
    • None
    • All
    • 7.1.1-Sprint_9 UP
    • Small

    Description

      Reproduce steps:
      1.Setup a nexus 3 with user/password: admin/admin123.
      2.Change the configuration in TAC to setup correct password(admin123) for "User Libraries".
      3.Keep the default setting for "Artifact Repository" with wrong password(Talend123).
      4.Open studio and connect a project in the TAC .
      5.Download one component from component manager .
      6.Download any missing jar will get error with clear user/password.

      java.lang.Exception: Download mysql-connector-java-5.1.30-bin.jar failed!
      	at org.talend.librariesmanager.utils.DownloadModuleRunnable.downLoad(DownloadModuleRunnable.java:125)
      	at org.talend.librariesmanager.utils.DownloadModuleRunnable.run(DownloadModuleRunnable.java:74)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
      Caused by: java.lang.Exception: Error resolving artifact org.talend.libraries:mysql-connector-java-5.1.30-bin:jar:6.0.0: Could not transfer artifact org.talend.libraries:mysql-connector-java-5.1.30-bin:jar:6.0.0 from/to component-updates (http://admin:Talend123@localhost:8081/nexus/content/repositories/component-updates/): Connect to localhost:8081 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
      	at org.talend.librariesmanager.utils.nexus.NexusDownloadHelperWithProgress.resolveJar(NexusDownloadHelperWithProgress.java:115)
      	at org.talend.librariesmanager.utils.nexus.NexusDownloadHelperWithProgress.download(NexusDownloadHelperWithProgress.java:89)
      	at org.talend.librariesmanager.utils.DownloadModuleRunnable.downLoad(DownloadModuleRunnable.java:110)
      	... 2 more
      
      

      Attachments

        Activity

          People

            nrousseau Nicolas Rousseau
            wchen wchen
            wchen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d