{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/8874","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/8874/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/8874/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/8874/events","html_url":"https://github.com/rancher/rancher/issues/8874","id":231214370,"number":8874,"title":"Plenty of \"Error looking up token\" logs","user":{"login":"hiscal2015","id":15604715,"avatar_url":"https://avatars3.githubusercontent.com/u/15604715?v=4","gravatar_id":"","url":"https://api.github.com/users/hiscal2015","html_url":"https://github.com/hiscal2015","followers_url":"https://api.github.com/users/hiscal2015/followers","following_url":"https://api.github.com/users/hiscal2015/following{/other_user}","gists_url":"https://api.github.com/users/hiscal2015/gists{/gist_id}","starred_url":"https://api.github.com/users/hiscal2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiscal2015/subscriptions","organizations_url":"https://api.github.com/users/hiscal2015/orgs","repos_url":"https://api.github.com/users/hiscal2015/repos","events_url":"https://api.github.com/users/hiscal2015/events{/privacy}","received_events_url":"https://api.github.com/users/hiscal2015/received_events","type":"User","site_admin":false},"labels":[{"id":203011147,"url":"https://api.github.com/repos/rancher/rancher/labels/area/api","name":"area/api","color":"FBCA04","default":false},{"id":145695749,"url":"https://api.github.com/repos/rancher/rancher/labels/kind/question","name":"kind/question","color":"dddddd","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-25T01:18:06Z","updated_at":"2017-11-27T14:43:37Z","closed_at":"2017-07-31T01:02:08Z","author_association":"NONE","body":"**Rancher versions:** 1.5.10\r\n\r\n**Docker version: (`docker version`,`docker info` preferred)** 1.12.6\r\n\r\n**Operating system and kernel: (`cat /etc/os-release`, `uname -r` preferred)** Ubuntu16.04\r\n\r\n**Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)** Bare-metal\r\n\r\n**Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)** Single\r\n\r\n**Environment Template: (Cattle/Kubernetes/Swarm/Mesos)** Kubernetes\r\n\r\n**Steps to Reproduce:**\r\n\r\nSetup a CLEAN rancher server, check docker logs and found below, any ideas what they are?\r\n\r\n```\r\n time=\"2017-05-25T01:14:43Z\" level=error msg=\"Error looking up token.\" error=\"HTTP error: 403 Forbidden, 403\" \r\n time=\"2017-05-25T01:14:44Z\" level=error msg=\"Error looking up token.\" error=\"HTTP error: 403 Forbidden, 403\" \r\n time=\"2017-05-25T01:14:45Z\" level=error msg=\"Error looking up token.\" error=\"HTTP error: 403 Forbidden, 403\" \r\n time=\"2017-05-25T01:14:46Z\" level=error msg=\"Error looking up token.\" error=\"HTTP error: 403 Forbidden, 403\" \r\n time=\"2017-05-25T01:14:47Z\" level=error msg=\"Error looking up token.\" error=\"HTTP error: 403 Forbidden, 403\" \r\n time=\"2017-05-25T01:14:48Z\" level=error msg=\"Error looking up token.\" error=\"HTTP error: 403 Forbidden, 403\" \r\n time=\"2017-05-25T01:14:49Z\" level=error msg=\"Error looking up token.\" error=\"HTTP error: 403 Forbidden, 403\" \r\n time=\"2017-05-25T01:14:50Z\" level=error msg=\"Error looking up token.\" error=\"HTTP error: 403 Forbidden, 403\" \r\n time=\"2017-05-25T01:14:51Z\" level=error msg=\"Error looking up token.\" error=\"HTTP error: 403 Forbidden, 403\" \r\n time=\"2017-05-25T01:14:52Z\" level=error msg=\"Error looking up token.\" error=\"HTTP error: 403 Forbidden, 403\" \r\n time=\"2017-05-25T01:14:53Z\" level=error msg=\"Error looking up token.\" error=\"HTTP error: 403 Forbidden, 403\" \r\n\r\n```\r\n\r\nBefore this, there are key errors as below:\r\n```\r\ntime=\"2017-05-25T01:13:43Z\" level=info msg=\"Downloading key from http://localhost:8081/v1/scripts/api.crt\" \r\n time=\"2017-05-25T01:13:43Z\" level=fatal msg=\"Error getting config.\" error=\"Invalid key content\" \r\n 2017-05-25 01:13:43,795 ERROR [:] [] [] [] [ecutorService-1] [o.a.c.m.context.NoExceptionRunnable ] Uncaught exception org.jooq.exception.DataAccessException: SQL [insert into `data` (`name`, `visible`, `value`) values (?, ?, ?)]; (conn:11) Duplicate entry 'host.api.key' for key 'idx_data_name'\r\n Query is: insert into `data` (`name`, `visible`, `value`) values (?, ?, ?), parameters ['host.api.key',0,'-----BEGIN RSA PRIVATE KEY-----\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/347202535","html_url":"https://github.com/rancher/rancher/issues/8874#issuecomment-347202535","issue_url":"https://api.github.com/repos/rancher/rancher/issues/8874","id":347202535,"user":{"login":"manwanth","id":28679064,"avatar_url":"https://avatars2.githubusercontent.com/u/28679064?v=4","gravatar_id":"","url":"https://api.github.com/users/manwanth","html_url":"https://github.com/manwanth","followers_url":"https://api.github.com/users/manwanth/followers","following_url":"https://api.github.com/users/manwanth/following{/other_user}","gists_url":"https://api.github.com/users/manwanth/gists{/gist_id}","starred_url":"https://api.github.com/users/manwanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manwanth/subscriptions","organizations_url":"https://api.github.com/users/manwanth/orgs","repos_url":"https://api.github.com/users/manwanth/repos","events_url":"https://api.github.com/users/manwanth/events{/privacy}","received_events_url":"https://api.github.com/users/manwanth/received_events","type":"User","site_admin":false},"created_at":"2017-11-27T14:43:37Z","updated_at":"2017-11-27T14:43:37Z","author_association":"NONE","body":"Getting \"Host not registered yet. Sleeping 1 second and trying\" message while adding host into Rancher and host not connecting to Rancher. Any one noticed such behavior?\r\n\r\nRancher : V.1.6.11\r\nDocker : 1.12.6\r\nKubernetes : V1.8.3\r\n\r\ntime=\"2017-11-27T14:36:54Z\" level=info msg=\"Host not registered yet. Sleeping 1 second and trying again.\" Attempt=8 reportedUuid=3db62505-2baa-4622-4b8c-789b8afa0e74\r\ntime=\"2017-11-27T14:36:55Z\" level=info msg=\"Host not registered yet. Sleeping 1 second and trying again.\" Attempt=9 reportedUuid=3db62505-2baa-4622-4b8c-789b8afa0e74\r\ntime=\"2017-11-27T14:36:56Z\" level=info msg=\"Host not registered yet. Sleeping 1 second and trying again.\" Attempt=10 reportedUuid=3db62505-2baa-4622-4b8c-789b8afa0e74\r\ntime=\"2017-11-27T14:36:57Z\" level=info msg=\"Host not registered yet. Sleeping 1 second and trying again.\" Attempt=11 reportedUuid=3db62505-2baa-4622-4b8c-789b8afa0e74\r\ntime=\"2017-11-27T14:36:58Z\" level=info msg=\"Host not registered yet. Sleeping 1 second and trying again.\" Attempt=12 reportedUuid=3db62505-2baa-4622-4b8c-789b8afa0e74\r\ntime=\"2017-11-27T14:36:59Z\" level=info msg=\"Host not registered yet. Sleeping 1 second and trying again.\" Attempt=13 reportedUuid=3db62505-2baa-4622-4b8c-789b8afa0e74\r\ntime=\"2017-11-27T14:37:00Z\" level=info msg=\"Host not registered yet. Sleeping 1 second and trying again.\" Attempt=14 reportedUuid=3db62505-2baa-4622-4b8c-789b8afa0e74\r\ntime=\"2017-11-27T14:37:01Z\" level=info msg=\"Host not registered yet. Sleeping 1 second and trying again.\" Attempt=15 reportedUuid=3db62505-2baa-4622-4b8c-789b8afa0e74\r\ntime=\"2017-11-27T14:37:02Z\" level=info msg=\"Host not registered yet. Sleeping 1 second and trying again.\" Attempt=16 reportedUuid=3db62505-2baa-4622-4b8c-789b8afa0e74\r\n"}}
{"actor":{"display_login":"manwanth"}}