Open Arco1ris opened 3 years ago
When trying to connect to the collector, The agent needs to add a certificate, so I made the following changes
RemoteClient.prototype.connectRemote = function(directServer) { const filePath = path.join(__dirname, "../ca.crt"); const caFile = fs.readFileSync(filePath); const channelCreds = grpc.credentials.createSsl(caFile); this._managemenet = new ManagementService.ManagementServiceClient(directServer, channelCreds); this._tracerSender = new TraceSendService.TraceSegmentReportServiceClient(directServer, grpc.credentials.createInsecure()); };
After starting the project, I found that Endpoint information is Empty。
I want to confirm two questions:
When trying to connect to the collector, The agent needs to add a certificate, so I made the following changes
After starting the project, I found that Endpoint information is Empty。
I want to confirm two questions: