{"action":"closed","issue":{"url":"https://api.github.com/repos/robotics-in-concert/rocon_app_platform/issues/238","labels_url":"https://api.github.com/repos/robotics-in-concert/rocon_app_platform/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/robotics-in-concert/rocon_app_platform/issues/238/comments","events_url":"https://api.github.com/repos/robotics-in-concert/rocon_app_platform/issues/238/events","html_url":"https://github.com/robotics-in-concert/rocon_app_platform/issues/238","id":33545907,"number":238,"title":"Smarter concert checking when getting invited","user":{"login":"stonier","id":687378,"avatar_url":"https://avatars.githubusercontent.com/u/687378?v=3","gravatar_id":"","url":"https://api.github.com/users/stonier","html_url":"https://github.com/stonier","followers_url":"https://api.github.com/users/stonier/followers","following_url":"https://api.github.com/users/stonier/following{/other_user}","gists_url":"https://api.github.com/users/stonier/gists{/gist_id}","starred_url":"https://api.github.com/users/stonier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stonier/subscriptions","organizations_url":"https://api.github.com/users/stonier/orgs","repos_url":"https://api.github.com/users/stonier/repos","events_url":"https://api.github.com/users/stonier/events{/privacy}","received_events_url":"https://api.github.com/users/stonier/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/robotics-in-concert/rocon_app_platform/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/robotics-in-concert/rocon_app_platform/labels/rapp_manager","name":"rapp_manager","color":"666666"},{"url":"https://api.github.com/repos/robotics-in-concert/rocon_app_platform/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/robotics-in-concert/rocon_app_platform/milestones/19","html_url":"https://github.com/robotics-in-concert/rocon_app_platform/milestones/Indigo%20-%20Legacy","labels_url":"https://api.github.com/repos/robotics-in-concert/rocon_app_platform/milestones/19/labels","id":1254572,"number":19,"title":"Indigo - Legacy","description":null,"creator":{"login":"stonier","id":687378,"avatar_url":"https://avatars.githubusercontent.com/u/687378?v=3","gravatar_id":"","url":"https://api.github.com/users/stonier","html_url":"https://github.com/stonier","followers_url":"https://api.github.com/users/stonier/followers","following_url":"https://api.github.com/users/stonier/following{/other_user}","gists_url":"https://api.github.com/users/stonier/gists{/gist_id}","starred_url":"https://api.github.com/users/stonier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stonier/subscriptions","organizations_url":"https://api.github.com/users/stonier/orgs","repos_url":"https://api.github.com/users/stonier/repos","events_url":"https://api.github.com/users/stonier/events{/privacy}","received_events_url":"https://api.github.com/users/stonier/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":15,"state":"open","created_at":"2015-08-14T01:53:27Z","updated_at":"2015-08-25T08:56:07Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2014-05-15T00:25:02Z","updated_at":"2015-08-25T08:56:07Z","closed_at":"2015-08-25T08:56:07Z","body":"Currently it checks the concert name against its current remote controller when getting an invite. If these are different, then it rejects the invite.\r\n\r\n**Problem**: if the concert went down and for some reason the client was out of range (e.g. out of wireless), then it will reject the invite from a newly started concert because the postfixed uuid's will be different.\r\n\r\n**Solution**: before immediately rejecting, make a quick check to see if the port connection is the same. If it is, be aware that it is a new concert, stop any rapps, delete the current remote controller and accept the invitation.\r\n\r\nNote : no idea how we check the ip/port from the app manager. This would be the hub's port/ip and the gateway doesn't expose this information right now."}}