{"action":"closed","issue":{"url":"https://api.github.com/repos/cloudfoundry-incubator/cfdev/issues/59","repository_url":"https://api.github.com/repos/cloudfoundry-incubator/cfdev","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/cfdev/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/cfdev/issues/59/comments","events_url":"https://api.github.com/repos/cloudfoundry-incubator/cfdev/issues/59/events","html_url":"https://github.com/cloudfoundry-incubator/cfdev/issues/59","id":382778057,"node_id":"MDU6SXNzdWUzODI3NzgwNTc=","number":59,"title":"Access to Credhub using the CLI","user":{"login":"rhuiser","id":1036676,"node_id":"MDQ6VXNlcjEwMzY2NzY=","avatar_url":"https://avatars3.githubusercontent.com/u/1036676?v=4","gravatar_id":"","url":"https://api.github.com/users/rhuiser","html_url":"https://github.com/rhuiser","followers_url":"https://api.github.com/users/rhuiser/followers","following_url":"https://api.github.com/users/rhuiser/following{/other_user}","gists_url":"https://api.github.com/users/rhuiser/gists{/gist_id}","starred_url":"https://api.github.com/users/rhuiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhuiser/subscriptions","organizations_url":"https://api.github.com/users/rhuiser/orgs","repos_url":"https://api.github.com/users/rhuiser/repos","events_url":"https://api.github.com/users/rhuiser/events{/privacy}","received_events_url":"https://api.github.com/users/rhuiser/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"aemengo","id":4236888,"node_id":"MDQ6VXNlcjQyMzY4ODg=","avatar_url":"https://avatars1.githubusercontent.com/u/4236888?v=4","gravatar_id":"","url":"https://api.github.com/users/aemengo","html_url":"https://github.com/aemengo","followers_url":"https://api.github.com/users/aemengo/followers","following_url":"https://api.github.com/users/aemengo/following{/other_user}","gists_url":"https://api.github.com/users/aemengo/gists{/gist_id}","starred_url":"https://api.github.com/users/aemengo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aemengo/subscriptions","organizations_url":"https://api.github.com/users/aemengo/orgs","repos_url":"https://api.github.com/users/aemengo/repos","events_url":"https://api.github.com/users/aemengo/events{/privacy}","received_events_url":"https://api.github.com/users/aemengo/received_events","type":"User","site_admin":false},"assignees":[{"login":"aemengo","id":4236888,"node_id":"MDQ6VXNlcjQyMzY4ODg=","avatar_url":"https://avatars1.githubusercontent.com/u/4236888?v=4","gravatar_id":"","url":"https://api.github.com/users/aemengo","html_url":"https://github.com/aemengo","followers_url":"https://api.github.com/users/aemengo/followers","following_url":"https://api.github.com/users/aemengo/following{/other_user}","gists_url":"https://api.github.com/users/aemengo/gists{/gist_id}","starred_url":"https://api.github.com/users/aemengo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aemengo/subscriptions","organizations_url":"https://api.github.com/users/aemengo/orgs","repos_url":"https://api.github.com/users/aemengo/repos","events_url":"https://api.github.com/users/aemengo/events{/privacy}","received_events_url":"https://api.github.com/users/aemengo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-11-20T17:42:51Z","updated_at":"2018-12-02T23:39:50Z","closed_at":"2018-12-02T23:39:50Z","author_association":"NONE","body":"When I run `credhub api -s http://$BOSH_ENVIRONMENT:8844 --skip-tls-validation`, the command returns with the error: \r\n\r\n```\r\nSetting the target url: http://10.245.0.2:8844\r\nError connecting to the targeted API: \"Get http://10.245.0.2:8844/info: EOF\". Please validate your target and retry your request.\r\n```\r\nIt looks like there is some forwarding issue between the director and the credhub instance?\r\n\r\n- I verified all services are running on credhub using `bosh -e cfdev -d cf ssh credhub -c 'ps -ef | grep java'`  :\r\n\r\n```\r\nUsing environment '10.245.0.2' as client 'admin'\r\n\r\nUsing deployment 'cf'\r\n\r\nTask 626. Done\r\ncredhub/b25cfe85-c229-4b61-bc87-c91537107fe7: stderr | Warning: Permanently added '10.245.0.2' (RSA) to the list of known hosts.\r\ncredhub/b25cfe85-c229-4b61-bc87-c91537107fe7: stderr | Unauthorized use is strictly prohibited. All access and activity\r\ncredhub/b25cfe85-c229-4b61-bc87-c91537107fe7: stderr | is subject to logging and monitoring.\r\ncredhub/b25cfe85-c229-4b61-bc87-c91537107fe7: stderr | Unauthorized use is strictly prohibited. All access and activity\r\ncredhub/b25cfe85-c229-4b61-bc87-c91537107fe7: stderr | is subject to logging and monitoring.\r\ncredhub/b25cfe85-c229-4b61-bc87-c91537107fe7: stdout | vcap        5598       0  0 12:22 ?        00:01:24 java -Xmx1024m -Dspring.profiles.active=prod -Dspring.config.location=/var/vcap/jobs/credhub/config/application.yml -Dlog4j.configurationFile=/var/vcap/jobs/credhub/config/log4j2.properties -Djava.security.egd=file:/dev/urandom -Djna.boot.library.path=/var/vcap/packages/credhub/ -Djava.io.tmpdir=/var/vcap/jobs/credhub/tmp -Djdk.tls.ephemeralDHKeySize=4096 -Djdk.tls.namedGroups=secp384r1 -Djavax.net.ssl.trustStore=/var/vcap/jobs/credhub/config/trust_store.jks -Djavax.net.ssl.trustStorePassword=75Fp5mZJCwcZD0N9I4DWwvQXtAyNSzBg -ea -jar credhub.jar\r\ncredhub/b25cfe85-c229-4b61-bc87-c91537107fe7: stdout | bosh_45+    6350    6349  0 17:40 pts/1    00:00:00 bash -c ps -ef | grep java\r\ncredhub/b25cfe85-c229-4b61-bc87-c91537107fe7: stdout | bosh_45+    6352    6350  0 17:40 pts/1    00:00:00 grep java\r\ncredhub/b25cfe85-c229-4b61-bc87-c91537107fe7: stderr | Connection to 10.144.0.140 closed.\r\n```\r\nNo messages are written to the logfiles under `/var/vcap/sys/log/credhub` upon connection attempts on this node.\r\n\r\nAny idea?\r\n"}}
{"actor":{"display_login":"aemengo"}}