Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows 运行docker Sonascanner开始命令时出错_Windows_Docker_Sonarqube_Asp.net Core 3.1_Sonarscanner - Fatal编程技术网

Windows 运行docker Sonascanner开始命令时出错

Windows 运行docker Sonascanner开始命令时出错,windows,docker,sonarqube,asp.net-core-3.1,sonarscanner,Windows,Docker,Sonarqube,Asp.net Core 3.1,Sonarscanner,我为sonarqube提取了最新的docker图像,图像运行良好。sonarqube服务器正在本地主机上侦听:9000。当我运行dotnet扫描程序开始分析asp.net Core 3.1项目时,经过一段时间后,出现超时错误。下面是该命令的日志 Using the .NET Core version of the Scanner for MSBuild Pre-processing started. Preparing working directories... 18:47:29.653 U

我为sonarqube提取了最新的docker图像,图像运行良好。sonarqube服务器正在本地主机上侦听:9000。当我运行
dotnet扫描程序开始分析asp.net Core 3.1项目时,经过一段时间后,出现超时错误。下面是该命令的日志

Using the .NET Core version of the Scanner for MSBuild
Pre-processing started.
Preparing working directories...
18:47:29.653  Updating build integration targets...
18:49:09.803  Failed to request and parse 'http://localhost:9000/api/server/version': The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
18:49:09.811  The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
18:49:09.814  Pre-processing failed. Exit code: 1

通过Postman,API请求可以正常工作。什么可能导致失败?

您是否也从容器中运行此dotnet Sonascanner?@raspy:不,我是从Windows控制台运行的