{"action":"closed","number":137,"pull_request":{"url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/pulls/137","id":51884671,"html_url":"https://github.com/Cal-CS-61A-Staff/ok-client/pull/137","diff_url":"https://github.com/Cal-CS-61A-Staff/ok-client/pull/137.diff","patch_url":"https://github.com/Cal-CS-61A-Staff/ok-client/pull/137.patch","issue_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/issues/137","number":137,"state":"closed","locked":false,"title":"Resolve authentication issues*","user":{"login":"brianhou","id":2406919,"avatar_url":"https://avatars.githubusercontent.com/u/2406919?v=3","gravatar_id":"","url":"https://api.github.com/users/brianhou","html_url":"https://github.com/brianhou","followers_url":"https://api.github.com/users/brianhou/followers","following_url":"https://api.github.com/users/brianhou/following{/other_user}","gists_url":"https://api.github.com/users/brianhou/gists{/gist_id}","starred_url":"https://api.github.com/users/brianhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianhou/subscriptions","organizations_url":"https://api.github.com/users/brianhou/orgs","repos_url":"https://api.github.com/users/brianhou/repos","events_url":"https://api.github.com/users/brianhou/events{/privacy}","received_events_url":"https://api.github.com/users/brianhou/received_events","type":"User","site_admin":false},"body":"A small but significant number of students have issues with finding a free port when authenticating.\r\n\r\n![](https://d1b10bmlvqabco.cloudfront.net/attach/id52tzq2i7yfx/idrikt7hrs43v/ihftk65ai8ho/Screen_Shot_20151125_at_9.47.12_PM.png)\r\n\r\nI don't know how to reproduce this issue, so I'm not 100% sure if this PR will help, although the student that provided the above screenshot was able to find an open port with `s.bind(('localhost', 0))`.\r\n\r\nI'm also not sure if looking for an open port is always necessary -- it seems that this should only be happening when authentication actually happens.","created_at":"2015-11-26T08:39:51Z","updated_at":"2015-11-27T01:22:49Z","closed_at":"2015-11-27T01:22:49Z","merged_at":"2015-11-27T01:22:49Z","merge_commit_sha":"642fbc6073d7b857fdaef96f62becd9a1212aeb4","assignee":{"login":"soumyabasu","id":1359998,"avatar_url":"https://avatars.githubusercontent.com/u/1359998?v=3","gravatar_id":"","url":"https://api.github.com/users/soumyabasu","html_url":"https://github.com/soumyabasu","followers_url":"https://api.github.com/users/soumyabasu/followers","following_url":"https://api.github.com/users/soumyabasu/following{/other_user}","gists_url":"https://api.github.com/users/soumyabasu/gists{/gist_id}","starred_url":"https://api.github.com/users/soumyabasu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soumyabasu/subscriptions","organizations_url":"https://api.github.com/users/soumyabasu/orgs","repos_url":"https://api.github.com/users/soumyabasu/repos","events_url":"https://api.github.com/users/soumyabasu/events{/privacy}","received_events_url":"https://api.github.com/users/soumyabasu/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/pulls/137/commits","review_comments_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/pulls/137/comments","review_comment_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/issues/137/comments","statuses_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/statuses/7ce74baa587dfa19363c5de17f17b4854a97a05a","head":{"label":"Cal-CS-61A-Staff:enhancement/brian/port-finding","ref":"enhancement/brian/port-finding","sha":"7ce74baa587dfa19363c5de17f17b4854a97a05a","user":{"login":"Cal-CS-61A-Staff","id":7565272,"avatar_url":"https://avatars.githubusercontent.com/u/7565272?v=3","gravatar_id":"","url":"https://api.github.com/users/Cal-CS-61A-Staff","html_url":"https://github.com/Cal-CS-61A-Staff","followers_url":"https://api.github.com/users/Cal-CS-61A-Staff/followers","following_url":"https://api.github.com/users/Cal-CS-61A-Staff/following{/other_user}","gists_url":"https://api.github.com/users/Cal-CS-61A-Staff/gists{/gist_id}","starred_url":"https://api.github.com/users/Cal-CS-61A-Staff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cal-CS-61A-Staff/subscriptions","organizations_url":"https://api.github.com/users/Cal-CS-61A-Staff/orgs","repos_url":"https://api.github.com/users/Cal-CS-61A-Staff/repos","events_url":"https://api.github.com/users/Cal-CS-61A-Staff/events{/privacy}","received_events_url":"https://api.github.com/users/Cal-CS-61A-Staff/received_events","type":"Organization","site_admin":false},"repo":{"id":29032660,"name":"ok-client","full_name":"Cal-CS-61A-Staff/ok-client","owner":{"login":"Cal-CS-61A-Staff","id":7565272,"avatar_url":"https://avatars.githubusercontent.com/u/7565272?v=3","gravatar_id":"","url":"https://api.github.com/users/Cal-CS-61A-Staff","html_url":"https://github.com/Cal-CS-61A-Staff","followers_url":"https://api.github.com/users/Cal-CS-61A-Staff/followers","following_url":"https://api.github.com/users/Cal-CS-61A-Staff/following{/other_user}","gists_url":"https://api.github.com/users/Cal-CS-61A-Staff/gists{/gist_id}","starred_url":"https://api.github.com/users/Cal-CS-61A-Staff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cal-CS-61A-Staff/subscriptions","organizations_url":"https://api.github.com/users/Cal-CS-61A-Staff/orgs","repos_url":"https://api.github.com/users/Cal-CS-61A-Staff/repos","events_url":"https://api.github.com/users/Cal-CS-61A-Staff/events{/privacy}","received_events_url":"https://api.github.com/users/Cal-CS-61A-Staff/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cal-CS-61A-Staff/ok-client","description":"A Python client for the OK autograding system","fork":false,"url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client","forks_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/forks","keys_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/teams","hooks_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/hooks","issue_events_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/issues/events{/number}","events_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/events","assignees_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/assignees{/user}","branches_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/branches{/branch}","tags_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/tags","blobs_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/statuses/{sha}","languages_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/languages","stargazers_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/stargazers","contributors_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/contributors","subscribers_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/subscribers","subscription_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/subscription","commits_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/contents/{+path}","compare_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/merges","archive_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/downloads","issues_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/issues{/number}","pulls_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/pulls{/number}","milestones_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/milestones{/number}","notifications_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/labels{/name}","releases_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/releases{/id}","created_at":"2015-01-09T19:53:07Z","updated_at":"2015-10-15T07:54:19Z","pushed_at":"2015-11-27T01:22:49Z","git_url":"git://github.com/Cal-CS-61A-Staff/ok-client.git","ssh_url":"git@github.com:Cal-CS-61A-Staff/ok-client.git","clone_url":"https://github.com/Cal-CS-61A-Staff/ok-client.git","svn_url":"https://github.com/Cal-CS-61A-Staff/ok-client","homepage":"https://okpy.org/","size":447,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":24,"forks":4,"open_issues":24,"watchers":7,"default_branch":"master"}},"base":{"label":"Cal-CS-61A-Staff:master","ref":"master","sha":"2d043ba4cdc35cac457462847a83a4be401883cf","user":{"login":"Cal-CS-61A-Staff","id":7565272,"avatar_url":"https://avatars.githubusercontent.com/u/7565272?v=3","gravatar_id":"","url":"https://api.github.com/users/Cal-CS-61A-Staff","html_url":"https://github.com/Cal-CS-61A-Staff","followers_url":"https://api.github.com/users/Cal-CS-61A-Staff/followers","following_url":"https://api.github.com/users/Cal-CS-61A-Staff/following{/other_user}","gists_url":"https://api.github.com/users/Cal-CS-61A-Staff/gists{/gist_id}","starred_url":"https://api.github.com/users/Cal-CS-61A-Staff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cal-CS-61A-Staff/subscriptions","organizations_url":"https://api.github.com/users/Cal-CS-61A-Staff/orgs","repos_url":"https://api.github.com/users/Cal-CS-61A-Staff/repos","events_url":"https://api.github.com/users/Cal-CS-61A-Staff/events{/privacy}","received_events_url":"https://api.github.com/users/Cal-CS-61A-Staff/received_events","type":"Organization","site_admin":false},"repo":{"id":29032660,"name":"ok-client","full_name":"Cal-CS-61A-Staff/ok-client","owner":{"login":"Cal-CS-61A-Staff","id":7565272,"avatar_url":"https://avatars.githubusercontent.com/u/7565272?v=3","gravatar_id":"","url":"https://api.github.com/users/Cal-CS-61A-Staff","html_url":"https://github.com/Cal-CS-61A-Staff","followers_url":"https://api.github.com/users/Cal-CS-61A-Staff/followers","following_url":"https://api.github.com/users/Cal-CS-61A-Staff/following{/other_user}","gists_url":"https://api.github.com/users/Cal-CS-61A-Staff/gists{/gist_id}","starred_url":"https://api.github.com/users/Cal-CS-61A-Staff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cal-CS-61A-Staff/subscriptions","organizations_url":"https://api.github.com/users/Cal-CS-61A-Staff/orgs","repos_url":"https://api.github.com/users/Cal-CS-61A-Staff/repos","events_url":"https://api.github.com/users/Cal-CS-61A-Staff/events{/privacy}","received_events_url":"https://api.github.com/users/Cal-CS-61A-Staff/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cal-CS-61A-Staff/ok-client","description":"A Python client for the OK autograding system","fork":false,"url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client","forks_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/forks","keys_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/teams","hooks_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/hooks","issue_events_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/issues/events{/number}","events_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/events","assignees_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/assignees{/user}","branches_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/branches{/branch}","tags_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/tags","blobs_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/statuses/{sha}","languages_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/languages","stargazers_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/stargazers","contributors_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/contributors","subscribers_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/subscribers","subscription_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/subscription","commits_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/contents/{+path}","compare_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/merges","archive_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/downloads","issues_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/issues{/number}","pulls_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/pulls{/number}","milestones_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/milestones{/number}","notifications_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/labels{/name}","releases_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/releases{/id}","created_at":"2015-01-09T19:53:07Z","updated_at":"2015-10-15T07:54:19Z","pushed_at":"2015-11-27T01:22:49Z","git_url":"git://github.com/Cal-CS-61A-Staff/ok-client.git","ssh_url":"git@github.com:Cal-CS-61A-Staff/ok-client.git","clone_url":"https://github.com/Cal-CS-61A-Staff/ok-client.git","svn_url":"https://github.com/Cal-CS-61A-Staff/ok-client","homepage":"https://okpy.org/","size":447,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":24,"forks":4,"open_issues":24,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/pulls/137"},"html":{"href":"https://github.com/Cal-CS-61A-Staff/ok-client/pull/137"},"issue":{"href":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/issues/137"},"comments":{"href":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/issues/137/comments"},"review_comments":{"href":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/pulls/137/comments"},"review_comment":{"href":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/pulls/137/commits"},"statuses":{"href":"https://api.github.com/repos/Cal-CS-61A-Staff/ok-client/statuses/7ce74baa587dfa19363c5de17f17b4854a97a05a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"brianhou","id":2406919,"avatar_url":"https://avatars.githubusercontent.com/u/2406919?v=3","gravatar_id":"","url":"https://api.github.com/users/brianhou","html_url":"https://github.com/brianhou","followers_url":"https://api.github.com/users/brianhou/followers","following_url":"https://api.github.com/users/brianhou/following{/other_user}","gists_url":"https://api.github.com/users/brianhou/gists{/gist_id}","starred_url":"https://api.github.com/users/brianhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianhou/subscriptions","organizations_url":"https://api.github.com/users/brianhou/orgs","repos_url":"https://api.github.com/users/brianhou/repos","events_url":"https://api.github.com/users/brianhou/events{/privacy}","received_events_url":"https://api.github.com/users/brianhou/received_events","type":"User","site_admin":false},"comments":6,"review_comments":0,"commits":1,"additions":15,"deletions":12,"changed_files":2}}