turbot / flowpipe

Flowpipe is a cloud scripting engine. Automation and workflow to connect your clouds to the people, systems and data that matters.
https://flowpipe.io
GNU Affero General Public License v3.0
361 stars 13 forks source link

graceful error message that Service is not running #124

Closed vkumbha closed 10 months ago

vkumbha commented 11 months ago

When the service is not running and I execute the command flowpipe pipeline list I get the following error. Though the error message tells me what is wrong and what I need to do, I think we can improve this. Something like, Service is not running or `Service is not running, start the service using flowpipe service start command' etc?

$ flowpipe pipeline list Error: Get "http://localhost:7103/api/v0/pipeline?limit=25&next_token=": dial tcp [::1]:7103: connect: connection refused

bigdatasourav commented 11 months ago

Addressed in this commit

graza-io commented 10 months ago

Tested & obtain below:

Error: flowpipe service is unreachable.
You can start a local flowpipe server with "cd <mod-directory> && flowpipe service start"