Skip to content

Problems simulating gRPC data #107

@joseantoniodiazsolorzano

Description

I'm using the test-telemetry-generator and I have no issues with the HTTP, but when I try to simulate the gRPC data i get this error:

===========
13:10:52.470 [pool-10-thread-1] ERROR i.o.c.g.t.t.i.g.GRPCPayloadHandler - gRPC exception occurred while exporting message
io.grpc.StatusRuntimeException: UNKNOWN
at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:271)
at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:252)
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:165)
at io.opentelemetry.proto.collector.trace.v1.TraceServiceGrpc$TraceServiceBlockingStub.export(TraceServiceGrpc.java:189)
at io.opentelemetry.contrib.generator.telemetry.transport.implementations.grpc.GRPCPayloadHandler.postPayload(GRPCPayloadHandler.java:73)
at io.opentelemetry.contrib.generator.telemetry.traces.TraceGeneratorThread.run(TraceGeneratorThread.java:54)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:358)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1575)
Caused by: java.nio.channels.UnsupportedAddressTypeException: null

it seems a problem with the collector, but I have opened the port:

netstat -an | grep 4318
tcp 0 0 10.10.59.38:4318 0.0.0.0:* LISTEN
[root@oss-installer my-test-telemetry]# netstat -an | grep 4317
tcp 0 0 10.10.59.38:4317 0.0.0.0:* LISTEN

and this is the config yaml file:

authMode: "none"

Set authmode to 'basic' and uncomment username & password if you need authentication

username: "username"

password: "password"

grpchost: "10.10.59.38"
grpcport: "4317"

Any idea??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions