{"action":"opened","issue":{"url":"https://api.github.com/repos/luin/ioredis/issues/696","repository_url":"https://api.github.com/repos/luin/ioredis","labels_url":"https://api.github.com/repos/luin/ioredis/issues/696/labels{/name}","comments_url":"https://api.github.com/repos/luin/ioredis/issues/696/comments","events_url":"https://api.github.com/repos/luin/ioredis/issues/696/events","html_url":"https://github.com/luin/ioredis/issues/696","id":360266818,"node_id":"MDU6SXNzdWUzNjAyNjY4MTg=","number":696,"title":"Refreshing nodes on interval timer breaks socket.io pubsub adapter","user":{"login":"jeremytm","id":6539834,"node_id":"MDQ6VXNlcjY1Mzk4MzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6539834?v=4","gravatar_id":"","url":"https://api.github.com/users/jeremytm","html_url":"https://github.com/jeremytm","followers_url":"https://api.github.com/users/jeremytm/followers","following_url":"https://api.github.com/users/jeremytm/following{/other_user}","gists_url":"https://api.github.com/users/jeremytm/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremytm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremytm/subscriptions","organizations_url":"https://api.github.com/users/jeremytm/orgs","repos_url":"https://api.github.com/users/jeremytm/repos","events_url":"https://api.github.com/users/jeremytm/events{/privacy}","received_events_url":"https://api.github.com/users/jeremytm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-14T11:28:45Z","updated_at":"2018-09-14T11:28:45Z","closed_at":null,"author_association":"NONE","body":"Using socket.io-adapter causes the redis connection to enter subscriber only mode, any other command causes an error, and a reconnect.\r\n\r\n> Error: Connection in subscriber mode, only subscriber commands may be used\r\n\r\nTherefore the ioredis interval timer which refreshes cluster nodes every 5 seconds causes an error, and continual reconnections due to the fact that is runs `CLUSTER NODES` which is not allowed.\r\n\r\nNot sure how to resolve this, given the purpose of the interval – but I thought you should be aware."}}
{"actor":{"display_login":"jeremytm"}}