首页新闻找找看学习计划

Skywalking Connect server timeout.

1
悬赏园豆:5 [待解决问题]

windows 安装 Skywalking 也正常启动了

客户端 配置
skyapm.json

{
"SkyWalking": {
"ServiceName": "WebApplication4",
"Namespace": "",
"HeaderVersions": [
"sw6"
],
"Sampling": {
"SamplePer3Secs": -1,
"Percentage": -1.0
},
"Logging": {
"Level": "Debug",
"FilePath": "logs/skyapm-{Date}.log"
},
"Transport": {
"Interval": 3000,
"ProtocolVersion": "v6",
"QueueSize": 30000,
"BatchSize": 3000,
"gRPC": {
"Servers": "127.0.0.1:11800",
"Timeout": 10000,
"ConnectTimeout": 10000,
"ReportTimeout": 600000
}
}
}
}

launchSettings.json
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:20467",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "api/values",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"SKYWALKING__SERVICENAME": "WebApplication4",
"ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "SkyAPM.Agent.AspNetCore"

  }
},
"WebApplication4": {
  "commandName": "Project",
  "launchBrowser": true,
  "launchUrl": "api/values",
  "applicationUrl": "http://localhost:5000",
  "environmentVariables": {
    "ASPNETCORE_ENVIRONMENT": "Development",
    "SKYWALKING__SERVICENAME": "WebApplication4",
    "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "SkyAPM.Agent.AspNetCore"

  }
}

}
}

但是却报错 连不上

2019-08-30 09:24:05.933 +08:00 [asp-net-core-frontend] [Error] SkyApm.Transport.Grpc.ConnectionManager : Connect server timeout.
System.Threading.Tasks.TaskCanceledException: Reached deadline.
at Grpc.Core.Channel.WaitForStateChangedAsync(ChannelState lastObservedState, Nullable1 deadline) in T:\src\github\grpc\src\csharp\Grpc.Core\Channel.cs:line 139 at Grpc.Core.Channel.ConnectAsync(Nullable1 deadline) in T:\src\github\grpc\src\csharp\Grpc.Core\Channel.cs:line 220
at SkyApm.Transport.Grpc.ConnectionManager.ConnectAsync()

conan_lin的主页 conan_lin | 初学一级 | 园豆:4
提问于:2019-08-30 09:44

建议整理一下问题内容的排版

不如隐茶去 3个月前

解决了吗

是耶非耶 1个月前
< >
分享
所有回答(2)
0

你的skyapm.json文件属性中的复制到输出目录勾选的是始终复制吗?不是的话把他√上

wwww~ | 园豆:202 (菜鸟二级) | 2019-09-04 12:24
0

我也是这样的错误skyapm.json已经选择始终复制了

kisshexuxia | 园豆:208 (菜鸟二级) | 2019-09-17 19:45
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册