Hey there @zedalaye! Just to confirm, I think you might be running to a bug. I had an issue locally as well trying to test this out.
If you run the same command, but with some extra levels of verbosity, do you get the same output as me here? I tried the go example and the ruby example, but my output here is just from my attempt with the go example:
brian@localghost:go % waypoint exec -vvv /bin/bash ±[main]
2020-11-19T08:12:52.202-0800 [INFO] waypoint: waypoint version: full_string="Waypoint v0.1.4-177-g531c3467 (531c3467)" version=v0.1.4-177-g531c3467 prerelease= metadata= revision=531c3467
2020-11-19T08:12:52.202-0800 [TRACE] waypoint: starting interrupt listener for context cancellation
2020-11-19T08:12:52.202-0800 [DEBUG] waypoint: home configuration directory: path=/home/brian/.config/waypoint
2020-11-19T08:12:52.202-0800 [TRACE] waypoint: interrupt listener goroutine started
2020-11-19T08:12:52.203-0800 [TRACE] waypoint: no API client provided, initializing connection if possible
2020-11-19T08:12:52.203-0800 [TRACE] waypoint.server: WithLocal set, server credentials optional
2020-11-19T08:12:52.203-0800 [INFO] waypoint.server: attempting to source credentials and connect
2020-11-19T08:12:52.221-0800 [DEBUG] waypoint.server: connection established with sourced credentials
2020-11-19T08:12:52.221-0800 [TRACE] waypoint: requesting version info from server
2020-11-19T08:12:52.223-0800 [INFO] waypoint: server version info: version=v0.1.5 api_min=1 api_current=1 entrypoint_min=1 entrypoint_current=1
2020-11-19T08:12:52.223-0800 [INFO] waypoint: negotiated api version: version=1
2020-11-19T08:12:52.223-0800 [DEBUG] waypoint: will operate on app: name=example-go
Connected to deployment v1
2020-11-19T08:12:52.248-0800 [ERROR] waypoint: receive error: err=EOF
2020-11-19T08:12:52.249-0800 [TRACE] waypoint: stopping signal listeners and cancelling the context
You’ll notice that after waypoint connects, it ends up exiting with an error. I imagine you are likely running into the same issue, but if you could confirm and share your logs, that would be great!
And if you have the same issue, please feel free to open an issue on GitHub so we can investigate. I’m currently looking into this, but tracking it on GitHub will be a good way to make sure we don’t lose it! Thank you.