Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'hab bldr job status' is returning an error on Mac workstation #5597

Closed
2 tasks
raskchanky opened this issue Sep 10, 2018 · 3 comments
Closed
2 tasks

'hab bldr job status' is returning an error on Mac workstation #5597

raskchanky opened this issue Sep 10, 2018 · 3 comments
Labels
Focus: CLI Related to the Habitat CLI (core/hab) component Stale Type: Bug Issues that describe broken functionality

Comments

@raskchanky
Copy link
Contributor

@nellshamrell commented on Thu Sep 06 2018

Running

$ hab bldr job status <job_id>

On a Mac workstation (though not Linux) returns this error:

✗✗✗ Failed to retrieve job group status: HyperError(Ssl(Failure(MidHandshakeSslStream { stream: SslStream { stream: HttpStream(_), ssl: Ssl { state: "error", verify_result: X509VerifyError { code: 20, error: "unable to get local issuer certificate" } } }, error: Ssl(ErrorStack([Error { code: 336134278, library: "SSL routines", function: "ssl3_get_server_certificate", reason: "certificate verify failed", file: "s3_clnt.c", line: 1269 }])) })))
✗✗✗
  • The OS (including version) where you are running any of the Habitat commands.

macOS High Sierra 10.13.6

  • Debug/backtrace of the command you are trying to run. You can set the following environment variables before running the hab command to generate a trace:
13:31:40-nell~/Projects/habitat/www (master)$ RUST_LOG=debug RUST_BACKTRACE=1 hab bldr job status 1065345528297873408
DEBUG 2018-09-06T20:32:01Z: habitat_common::ui: UI { shell: Shell { input: InputStream { isatty: true }, out: OutputStream { coloring: Auto, isatty: true, is_colored(): true, supports_color(): true }, err: OutputStream { coloring: Auto, isatty: true, is_colored(): true, supports_color(): true } } }
DEBUG 2018-09-06T20:32:01Z: hab: clap cli args: ["hab", "bldr", "job", "status", "1065345528297873408"]
DEBUG 2018-09-06T20:32:01Z: hab: remaining cli args: []
DEBUG 2018-09-06T20:32:01Z: habitat_http_client::api_client: Client socket timeout: 120 secs
DEBUG 2018-09-06T20:32:01Z: habitat_http_client::api_client: User-Agent: hab/0.62.1/20180905002018 (x86_64-darwin; 17.7.0)
☁ Determining status of job group 1065345528297873408
DEBUG 2018-09-06T20:32:01Z: habitat_api_client: Retrieving schedule for job group 1065345528297873408
DEBUG 2018-09-06T20:32:01Z: habitat_http_client::api_client: GET https://bldr.habitat.sh/v1/depot/pkgs/schedule/1065345528297873408?include_projects=false with ApiClient { endpoint: "https://bldr.habitat.sh/v1", inner: Client { redirect_policy: FollowAll, read_timeout: Some(120s), write_timeout: Some(120s), proxy: None }, proxy: None, target_scheme: "https", user_agent_header: UserAgent("hab/0.62.1/20180905002018 (x86_64-darwin; 17.7.0)") }
DEBUG 2018-09-06T20:32:01Z: hyper::net: http scheme
DEBUG 2018-09-06T20:32:01Z: hyper::net: https scheme
✗✗✗
✗✗✗ Failed to retrieve job group status: HyperError(Ssl(Failure(MidHandshakeSslStream { stream: SslStream { stream: HttpStream(_), ssl: Ssl { state: "error", verify_result: X509VerifyError { code: 20, error: "unable to get local issuer certificate" } } }, error: Ssl(ErrorStack([Error { code: 336134278, library: "SSL routines", function: "ssl3_get_server_certificate", reason: "certificate verify failed", file: "s3_clnt.c", line: 1269 }])) })))
✗✗✗

@nellshamrell commented on Thu Sep 06 2018

I was able to do this as a workaround:

export SSL_CERT_FILE=/usr/local/etc/openssl/cert.pem
@stale
Copy link

stale bot commented Apr 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

@stale stale bot added the Stale label Apr 2, 2020
@christophermaier christophermaier added Focus: CLI Related to the Habitat CLI (core/hab) component and removed A-cli labels Jul 24, 2020
@stale stale bot removed the Stale label Jul 24, 2020
@christophermaier christophermaier added Type: Bug Issues that describe broken functionality and removed C-bug labels Jul 24, 2020
@rahulgoel1 rahulgoel1 removed the V-devx label Jul 23, 2021
@stale
Copy link

stale bot commented Oct 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

@stale stale bot added the Stale label Oct 16, 2022
@stale
Copy link

stale bot commented Dec 23, 2022

This issue has been automatically closed after being stale for 400 days. We still value your input and contribution. Please re-open the issue if desired and leave a comment with details.

@stale stale bot closed this as completed Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Focus: CLI Related to the Habitat CLI (core/hab) component Stale Type: Bug Issues that describe broken functionality
Projects
None yet
Development

No branches or pull requests

5 participants