confluentinc / confluent-cli

Confluent Platform CLI
Other
60 stars 38 forks source link

Confluent CLI returns no output for Connect REST 500 server error #83

Open rmoff opened 6 years ago

rmoff commented 6 years ago

No output from this command:

Robin@asgard02 ~/c/confluent-4.1.0> confluent status connectors
Robin@asgard02 ~/c/confluent-4.1.0>

But the Connect log shows that it errored:

[2018-05-01 15:35:52,088] INFO 0:0:0:0:0:0:0:1 - - [01/May/2018:14:34:22 +0000] "GET /connectors HTTP/1.1" 500 48  90008 (org.apache.kafka.connect.runtime.rest.RestServer:60)

A straight curl call shows the error:

Robin@asgard02 ~/c/confluent-4.1.0> curl -s "http://localhost:8083/connectors"
{"error_code":500,"message":"Request timed out"}⏎

==> confluent status connectors should echo to the console any errors, otherwise it appears to the end-user that there are simply no connectors defined.