{"action":"closed","issue":{"url":"https://api.github.com/repos/shell909090/influx-proxy/issues/27","repository_url":"https://api.github.com/repos/shell909090/influx-proxy","labels_url":"https://api.github.com/repos/shell909090/influx-proxy/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/shell909090/influx-proxy/issues/27/comments","events_url":"https://api.github.com/repos/shell909090/influx-proxy/issues/27/events","html_url":"https://github.com/shell909090/influx-proxy/issues/27","id":254561734,"node_id":"MDU6SXNzdWUyNTQ1NjE3MzQ=","number":27,"title":"通过influx-proxy使用query时报错：query forbidden","user":{"login":"isser","id":20657421,"node_id":"MDQ6VXNlcjIwNjU3NDIx","avatar_url":"https://avatars2.githubusercontent.com/u/20657421?v=4","gravatar_id":"","url":"https://api.github.com/users/isser","html_url":"https://github.com/isser","followers_url":"https://api.github.com/users/isser/followers","following_url":"https://api.github.com/users/isser/following{/other_user}","gists_url":"https://api.github.com/users/isser/gists{/gist_id}","starred_url":"https://api.github.com/users/isser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isser/subscriptions","organizations_url":"https://api.github.com/users/isser/orgs","repos_url":"https://api.github.com/users/isser/repos","events_url":"https://api.github.com/users/isser/events{/privacy}","received_events_url":"https://api.github.com/users/isser/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2017-09-01T07:44:20Z","updated_at":"2018-10-24T14:15:38Z","closed_at":"2018-10-24T14:15:38Z","author_association":"NONE","body":"安装配置好influx-proxy之后，write方法已经没有问题了，可以同时写入两台influxdb，但是query方法一直不行，报错query forbidden，没有更多的信息，麻烦帮忙看一下是什么问题，谢谢！\r\n\r\nquery方法：\r\n```\r\ncurl -G 'http://172.16.6.104:6666/query' --data-urlencode \"db=telegraf\" --data-urlencode \"epoch=s\" --data-urlencode \"q=SELECT value FROM cpu_load_short WHERE region='us-west'\"\r\n```\r\n\r\n核心配置如下：\r\n```\r\nBACKENDS = {\r\n    'local': {\r\n        'url': 'http://172.16.6.103:8086', \r\n        'db': 'telegraf', \r\n        'zone':'l1', \r\n        'interval': 1000,\r\n        'timeout': 10000, \r\n        'timeoutquery':600000, \r\n        'maxrowlimit':10000,  \r\n        'checkinterval':1000, \r\n        'rewriteinterval':10000\r\n    },\r\n    'local2': {\r\n        'url': 'http://172.16.6.104:8086',\r\n        'db': 'telegraf',\r\n        'zone':'l1',\r\n        'interval': 1000\r\n    },\r\n}\r\n\r\nKEYMAPS = {\r\n    'cpu': ['local','local2']\r\n}\r\n\r\nNODES = {\r\n    'l1': { \r\n        'listenaddr': ':6666',\r\n        'db': 'telegraf',\r\n        'zone': 'l1',\r\n        'interval':10,\r\n        'idletimeout':10,\r\n        'writetracing':1,\r\n        'querytracing':1,\r\n    }\r\n}\r\n```"}}
{"actor":{"display_login":"shell909090"}}