首页 新闻 会员 周边 捐助

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()

程序员编程日记的主页 程序员编程日记 | 初学一级 | 园豆:6
提问于:2019-08-30 09:44

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

不如隐茶去 5年前

解决了吗

是耶非耶 5年前

你好,这个问题你解决了吗?遇到了一样的问题

沧海巫山 4年前
< >
分享
所有回答(3)
0

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

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

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

kisshexuxia | 园豆:208 (菜鸟二级) | 2019-09-17 19:45

你好,这个问题解决了吗?

支持(0) 反对(0) 沧海巫山 | 园豆:200 (初学一级) | 2020-04-08 18:24
0

.NetCore 项目中使用 SkyWalking 需要安装7.0或更低的版本。

https://www.cnblogs.com/fallTakeMan/p/13437215.html

原来是李 | 园豆:204 (菜鸟二级) | 2020-08-07 15:30
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册