Expand my Community achievements bar.

SOLVED

Connection refused error while doing mvn clean install or using vlt up

Avatar

Level 1

Hi All,

I am using CQ 5.6 and Java 1.7 and mvn version 3.2.3. I am facing an issue while doing mvn clean install and using vlt up command. Error message is as follows:

Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:0.0.20:install (create-package) on project qbinproduct: The host did not accept the connection within timeout of 5000 ms: connect timed out -> [Help 1]

Sometimes, connection refused. I have checked my firewall setting and it is not blocking the port 4502.

one more observation is that, This issue is intermittent but most of the time it is giving above mentioned error, sometimes after restart or shutdown the mac, It starts working.

Can you please help me to debug this issue, because it is really giving me issue

1 Accepted Solution

Avatar

Correct answer by
Level 10

This cannot be a firewall issue as its happening intermittently !

So do you see this error intermittently ONLY to this project or for other project/bundles aswell ?

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

This cannot be a firewall issue as its happening intermittently !

So do you see this error intermittently ONLY to this project or for other project/bundles aswell ?

Avatar

Employee

Not sure about the issue. Please upgrade to the latest plugin version and let me know if the issue is persists. Can you attach the error.log  portion related to this issue when it occurs?