Details
-
Bug
-
Status: closed
-
Major
-
Resolution: Fixed
-
None
-
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