Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeout: Socket closed #292

Open
xiaolixi opened this issue Nov 19, 2021 · 0 comments
Open

timeout: Socket closed #292

xiaolixi opened this issue Nov 19, 2021 · 0 comments

Comments

@xiaolixi
Copy link

xiaolixi commented Nov 19, 2021

我用下面的两个命令处理一个java项目,
但是sonar:sonar显示timeout: Socket closed -> [Help 1]
想知道这个问题的原因,以及如何解决。sonarqube的版本7.0, sonar-gitlab-plugin版本: 4.0.0

mvn --batch-mode clean org.jacoco:jacoco-maven-plugin:0.8.3:prepare-agent verify org.jacoco:jacoco-maven-plugin:0.8.3:report -Dmaven.test.failure.ignore=true
mvn --batch-mode org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar -Dsonar.host.url=http://sonar.intra.***.com -Dsonar.login=admin -Dsonar.password=admin -Dsonar.preview.excludePlugins=gitlab
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar (default-cli) on project ***: 
Fail to request http://sonar.intra.***.com/api/ce/submit?projectKey=com.***.api:***&projectName=***: 
timeout: Socket closed -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant