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(Nullable
1 deadline) in T:\src\github\grpc\src\csharp\Grpc.Core\Channel.cs:line 220
at SkyApm.Transport.Grpc.ConnectionManager.ConnectAsync()
你的skyapm.json文件属性中的复制到输出目录勾选的是始终复制吗?不是的话把他√上
我也是这样的错误skyapm.json已经选择始终复制了
你好,这个问题解决了吗?
建议整理一下问题内容的排版
– 不如隐茶去 5年前解决了吗
– 是耶非耶 5年前你好,这个问题你解决了吗?遇到了一样的问题
– 沧海巫山 4年前