Skywalking接收otel collector监控数据连接失败的问题
2024-08-05T15:43:15.935+0800 warn zapgrpc/zapgrpc.go:193 [core] [Channel #1 SubChannel #2]grpc: addrConn.createTransport failed to connect to {Addr: "[::1]:11800", ServerName: "localhost:11800", }. Err: connection error: desc = "transport: Error while dialing: dial tcp [::1]:11800: connectex: No connection could be made because the target machine actively refused it." {"grpc_log": true}
2024-08-05T15:43:15.936+0800 warn zapgrpc/zapgrpc.go:193 [core] [Channel #1 SubChannel #2]grpc: addrConn.createTransport failed to connect to {Addr: "127.0.0.1:11800", ServerName: "localhost:11800", }. Err: connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:11800: connectex: No connection could be made because the target machine actively refused it." {"grpc_log": true}
2024-08-05T15:43:18.148+0800 info exporterhelper/retry_sender.go:118 Exporting failed. Will retry the request after interval. {"kind": "exporter", "data_type": "metrics", "name": "otlp", "error": "rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp [::1]:11800: connectex: No connection could be made because the target machine actively refused it.\"", "interval": "13.117546978s"}
2024-08-05T15:43:19.460+0800 info exporterhelper/retry_sender.go:118 Exporting failed. Will retry the request after interval. {"kind": "exporter", "data_type": "metrics", "name": "otlp", "error": "rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp [::1]:11800: connectex: No connection could be made because the target machine actively refused it.\"", "interval": "4.343289865s"}
2024-08-05T15:43:23.028+0800 info exporterhelper/retry_sender.go:118 Exporting failed. Will retry the request after interval. {"kind": "exporter", "data_type": "metrics", "name": "otlp", "error": "rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp [::1]:11800: connectex: No connection could be made because the target machine actively refused it.\"", "interval": "17.645745744s"}
2024-08-05T15:43:23.810+0800 info exporterhelper/retry_sender.go:118 Exporting failed. Will retry the request after interval. {"kind": "exporter", "data_type": "metrics", "name": "otlp", "error": "rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp [::1]:11800: connectex: No connection could be made because the target machine actively refused it.\"", "interval": "9.737238814s"}
但是Skywalking是已经监听11800端口的
curl http://localhost:11800
curl: (1) Received HTTP/0.9 when not allowed