Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
reinierD
Contributor
Contributor

Maven timeout when deploying to Talend Cloud

Hi,

While deploying an artifact to Talend Cloud, the maven plugin throws a timeout exception. Jenkins is behind a proxy, and I have tried passing the proxy settings on the command prompt ( -Dhttp.proxyHost=ourproxy etc.) and also added a <proxies> section to the settings.xml. Both ways dont seem to work.

The command I use is:

mvn clean deploy \

                       --batch-mode \

                       --debug \

                       --errors \

                       --no-transfer-progress \

                       --settings ${settingsFile} \

                       -am \

                       -f poms/pom.xml \

                       -U \

                       -pl ${job.pomPathRelative} \

                       -Dgeneration.type=local \

                       -Dstudio.talendDebug=true \

                       -Dlicense.path=${licenseFile} \

                       -Pcloud-publisher \

                       -Dservice.url=https://tmc.eu.cloud.talend.com/inventory \

                       -Dcloud.publisher.screenshot=true \

                       -Dcloud.publisher.environment=default \

                       -Dcloud.publisher.workspace=Personal \

                       -Dcomponents.artifactory.url=http://artifactory/artifactory/

                       -Dcomponents.artifactory.repository=central \

                       -Dcomponents.artifactory.repository=talend-custom-libs-release \

                       -Dcomponents.artifactory.repository.snapshot=talend-custom-libs-snapshot \

                       -Dupdatesite.path=https://talend-dev/P2/

Errors summary:

[ERROR] Failed to execute goal org.talend.ci:cloudpublisher-maven-plugin:7.3.1:publish (default) on project Main_SimpleJobWithOracle: Execution default of goal org.talend.ci:cloudpublisher-maven-plugin:7.3.1:publish failed: java.net.ConnectException: ConnectException invoking https://tmc.eu.cloud.talend.com/inventory/action/Main_SimpleJobWithOracle?groupId: Connection timed out: connect -> [Help 1]

Is there anyone that has a clue as to why

Labels (3)
1 Reply
reinierD
Contributor
Contributor
Author

Some windows move in mysterious ways.

 

A restart of the Windows server solved this.