{"action":"created","issue":{"url":"https://api.github.com/repos/gocql/gocql/issues/519","labels_url":"https://api.github.com/repos/gocql/gocql/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/gocql/gocql/issues/519/comments","events_url":"https://api.github.com/repos/gocql/gocql/issues/519/events","html_url":"https://github.com/gocql/gocql/issues/519","id":114681530,"number":519,"title":"Panic Index out of range in Connect","user":{"login":"nemothekid","id":940094,"avatar_url":"https://avatars.githubusercontent.com/u/940094?v=3","gravatar_id":"","url":"https://api.github.com/users/nemothekid","html_url":"https://github.com/nemothekid","followers_url":"https://api.github.com/users/nemothekid/followers","following_url":"https://api.github.com/users/nemothekid/following{/other_user}","gists_url":"https://api.github.com/users/nemothekid/gists{/gist_id}","starred_url":"https://api.github.com/users/nemothekid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemothekid/subscriptions","organizations_url":"https://api.github.com/users/nemothekid/orgs","repos_url":"https://api.github.com/users/nemothekid/repos","events_url":"https://api.github.com/users/nemothekid/events{/privacy}","received_events_url":"https://api.github.com/users/nemothekid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-02T20:53:10Z","updated_at":"2015-11-02T22:13:56Z","closed_at":null,"body":"Index out of range.\r\n\r\n```\r\npanic: runtime error: index out of range\r\n\r\ngoroutine 32659 [running]:\r\ngithub.com/channelmeter/gocql.Connect(0xc2082192c0, 0x11, 0xc2085de360, 0x7fd266046d20, 0xc208194120, 0x8, 0x0, 0x0)\r\n\t/go/src/github.com/channelmeter/gocql/conn.go:190 +0x735\r\ngithub.com/channelmeter/gocql.(*hostConnPool).connect(0xc208194120, 0x0, 0x0)\r\n\t/go/src/github.com/channelmeter/gocql/connectionpool.go:398 +0xa2\r\ngithub.com/channelmeter/gocql.(*hostConnPool).fill(0xc208194120)\r\n\t/go/src/github.com/channelmeter/gocql/connectionpool.go:333 +0x1cf\r\ncreated by github.com/channelmeter/gocql.(*hostConnPool).Pick\r\n\t/go/src/github.com/channelmeter/gocql/connectionpool.go:260 +0xbc\r\n```"},"comment":{"url":"https://api.github.com/repos/gocql/gocql/issues/comments/153174341","html_url":"https://github.com/gocql/gocql/issues/519#issuecomment-153174341","issue_url":"https://api.github.com/repos/gocql/gocql/issues/519","id":153174341,"user":{"login":"nemothekid","id":940094,"avatar_url":"https://avatars.githubusercontent.com/u/940094?v=3","gravatar_id":"","url":"https://api.github.com/users/nemothekid","html_url":"https://github.com/nemothekid","followers_url":"https://api.github.com/users/nemothekid/followers","following_url":"https://api.github.com/users/nemothekid/following{/other_user}","gists_url":"https://api.github.com/users/nemothekid/gists{/gist_id}","starred_url":"https://api.github.com/users/nemothekid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemothekid/subscriptions","organizations_url":"https://api.github.com/users/nemothekid/orgs","repos_url":"https://api.github.com/users/nemothekid/repos","events_url":"https://api.github.com/users/nemothekid/events{/privacy}","received_events_url":"https://api.github.com/users/nemothekid/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T22:13:56Z","updated_at":"2015-11-02T22:13:56Z","body":"Sorry for the terrible issue, I was trying to get things back up and just wanted to quickly document this error.\r\n\r\nIn this application, the cluster configuration's NumStreams is likely 0 meaning its probably going to the maximum for ProtoVersion 3.\r\n\r\nI'm looking over the code now actually and not even sure how this could have come up. Also note that this happened after a network failure (been having a lot of these lately :()"}}