node-tensorflow-serving-demo
node-tensorflow-serving-demo copied to clipboard
Failed to run the test.
Hi,
I have the same questions with connecting-to-tensorflow-service-via-nodejs-grpc-issue.
run command:
GRPC_TRACE=api GRPC_VERBOSITY=DEBUG node app.js
show log:
I0915 20:48:01.648944461 6744 channel.c:201] grpc_channel_create_call(channel=0x3a24590, parent_call=(nil), propagation_mask=ffff, cq=0x3a22b40, metho
d=/tensorflow.serving.MnistService/Classify, host=(null), deadline=gpr_timespec { tv_sec: 9223372036854775807, tv_nsec: 0, clock_type: 1 }, reserved=(nil))
I0915 20:48:01.651636545 6744 metadata_array.c:42] grpc_metadata_array_init(array=0x7ffccfe0d210)
I0915 20:48:01.651734600 6744 metadata_array.c:42] grpc_metadata_array_init(array=0x39df118)
I0915 20:48:01.651741984 6744 metadata_array.c:42] grpc_metadata_array_init(array=0x3a1e5a8)
I0915 20:48:01.651752696 6744 call.c:1478] grpc_call_start_batch(call=0x3a3e060, ops=0x39bda10, nops=6, tag=0x3978810, reserved=(nil))
I0915 20:48:01.651765447 6744 call.c:1190] ops[0]: SEND_INITIAL_METADATA
I0915 20:48:01.651770625 6744 call.c:1190] ops[1]: SEND_MESSAGE ptr=0x3978a00
I0915 20:48:01.651774783 6744 call.c:1190] ops[2]: SEND_CLOSE_FROM_CLIENT
I0915 20:48:01.651780541 6744 call.c:1190] ops[3]: RECV_INITIAL_METADATA ptr=0x39df118
I0915 20:48:01.651784330 6744 call.c:1190] ops[4]: RECV_MESSAGE ptr=0x3978b28
I0915 20:48:01.651790158 6744 call.c:1190] ops[5]: RECV_STATUS_ON_CLIENT metadata=0x3a1e5a8 status=0x3a1e5c0 details=0x3a1e5c8
I0915 20:48:01.652884343 6754 completion_queue.c:299] grpc_completion_queue_next(cc=0x3a22b40, deadline=gpr_timespec { tv_sec: 9223372036854775807, tv_nsec: 0,
clock_type: 1 }, reserved=(nil))
I0915 20:48:01.652986683 6754 completion_queue.c:233] grpc_cq_end_op(exec_ctx=0x7ff8f77fde60, cc=0x3a22b40, tag=0x3978810, success=1, done=0x7ff9049dc3e0, done
_arg=0x3a3e0b8, storage=0x3a3e0c0)
I0915 20:48:01.652998501 6754 completion_queue.c:350] RETURN_EVENT[0x3a22b40]: OP_COMPLETE: tag:0x3978810 OK
{ [Error] code: 12, metadata: Metadata { _internal_repr: {} } }
I0915 20:48:01.653248504 6744 metadata_array.c:47] grpc_metadata_array_destroy(array=0x39df118)
I0915 20:48:01.653257064 6744 metadata_array.c:47] grpc_metadata_array_destroy(array=0x3a1e5a8)
Thanks.