{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/4145","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/4145/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/4145/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/4145/events","html_url":"https://github.com/rancher/rancher/issues/4145","id":143627980,"number":4145,"title":"Not able to connect to swarm using generated config.","user":{"login":"sangeethah","id":4266958,"avatar_url":"https://avatars.githubusercontent.com/u/4266958?v=3","gravatar_id":"","url":"https://api.github.com/users/sangeethah","html_url":"https://github.com/sangeethah","followers_url":"https://api.github.com/users/sangeethah/followers","following_url":"https://api.github.com/users/sangeethah/following{/other_user}","gists_url":"https://api.github.com/users/sangeethah/gists{/gist_id}","starred_url":"https://api.github.com/users/sangeethah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangeethah/subscriptions","organizations_url":"https://api.github.com/users/sangeethah/orgs","repos_url":"https://api.github.com/users/sangeethah/repos","events_url":"https://api.github.com/users/sangeethah/events{/privacy}","received_events_url":"https://api.github.com/users/sangeethah/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rancher/rancher/labels/kind/bug","name":"kind/bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"ibuildthecloud","id":1754002,"avatar_url":"https://avatars.githubusercontent.com/u/1754002?v=3","gravatar_id":"","url":"https://api.github.com/users/ibuildthecloud","html_url":"https://github.com/ibuildthecloud","followers_url":"https://api.github.com/users/ibuildthecloud/followers","following_url":"https://api.github.com/users/ibuildthecloud/following{/other_user}","gists_url":"https://api.github.com/users/ibuildthecloud/gists{/gist_id}","starred_url":"https://api.github.com/users/ibuildthecloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibuildthecloud/subscriptions","organizations_url":"https://api.github.com/users/ibuildthecloud/orgs","repos_url":"https://api.github.com/users/ibuildthecloud/repos","events_url":"https://api.github.com/users/ibuildthecloud/events{/privacy}","received_events_url":"https://api.github.com/users/ibuildthecloud/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rancher/rancher/milestones/61","html_url":"https://github.com/rancher/rancher/milestones/Release%201.1","labels_url":"https://api.github.com/repos/rancher/rancher/milestones/61/labels","id":1651837,"number":61,"title":"Release 1.1","description":"","creator":{"login":"will-chan","id":10134676,"avatar_url":"https://avatars.githubusercontent.com/u/10134676?v=3","gravatar_id":"","url":"https://api.github.com/users/will-chan","html_url":"https://github.com/will-chan","followers_url":"https://api.github.com/users/will-chan/followers","following_url":"https://api.github.com/users/will-chan/following{/other_user}","gists_url":"https://api.github.com/users/will-chan/gists{/gist_id}","starred_url":"https://api.github.com/users/will-chan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-chan/subscriptions","organizations_url":"https://api.github.com/users/will-chan/orgs","repos_url":"https://api.github.com/users/will-chan/repos","events_url":"https://api.github.com/users/will-chan/events{/privacy}","received_events_url":"https://api.github.com/users/will-chan/received_events","type":"User","site_admin":false},"open_issues":141,"closed_issues":3,"state":"open","created_at":"2016-03-17T17:24:50Z","updated_at":"2016-04-01T23:46:45Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2016-03-25T23:37:32Z","updated_at":"2016-04-03T21:54:48Z","closed_at":null,"body":"Rancher Version:v1.0.0-rc3\r\n\r\nCreated a swam environment with 2 hosts.\r\nGo to Swarm->cli and do \"Generate Config\".\r\nFollow the instruction provided for getting connected to swarm from local machine.\r\n\r\nNot able to execute docker commands . Getting the following errors:\r\n\r\n```\r\nSangeethas-MBP:.docker sangeethahariharan1$ export DOCKER_HOST=tcp://<ipaddress>:8080 DOCKER_TLS_VERIFY=1\r\nSangeethas-MBP:.docker sangeethahariharan1$ docker ps\r\nAn error occurred trying to connect: Get https://<ipaddress>:8080/v1.21/containers/json: x509: certificate is valid for 127.0.0.1, not <ipaddress>\r\n```\r\n\r\nNote - When rancher-server is ssl enabled , we are able to connect to swam client as expected."},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/205061529","html_url":"https://github.com/rancher/rancher/issues/4145#issuecomment-205061529","issue_url":"https://api.github.com/repos/rancher/rancher/issues/4145","id":205061529,"user":{"login":"dadicool","id":170869,"avatar_url":"https://avatars.githubusercontent.com/u/170869?v=3","gravatar_id":"","url":"https://api.github.com/users/dadicool","html_url":"https://github.com/dadicool","followers_url":"https://api.github.com/users/dadicool/followers","following_url":"https://api.github.com/users/dadicool/following{/other_user}","gists_url":"https://api.github.com/users/dadicool/gists{/gist_id}","starred_url":"https://api.github.com/users/dadicool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadicool/subscriptions","organizations_url":"https://api.github.com/users/dadicool/orgs","repos_url":"https://api.github.com/users/dadicool/repos","events_url":"https://api.github.com/users/dadicool/events{/privacy}","received_events_url":"https://api.github.com/users/dadicool/received_events","type":"User","site_admin":false},"created_at":"2016-04-03T21:54:48Z","updated_at":"2016-04-03T21:54:48Z","body":"stuck with that same reported error :\r\n```export DOCKER_HOST=tcp://11.22.33.44:8080 DOCKER_TLS_VERIFY=1```\r\n```Mohameds-MacBook-Pro:~ dali$ docker ps\r\nAn error occurred trying to connect: Get https://11.22.33.44:8080/v1.22/containers/json: x509: certificate is valid for 127.0.0.1, not 11.22.33.44```\r\n\r\nI also restarted rancher to no effect ..."}}