{"action":"created","issue":{"url":"https://api.github.com/repos/tidwall/tile38/issues/84","repository_url":"https://api.github.com/repos/tidwall/tile38","labels_url":"https://api.github.com/repos/tidwall/tile38/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/tidwall/tile38/issues/84/comments","events_url":"https://api.github.com/repos/tidwall/tile38/issues/84/events","html_url":"https://github.com/tidwall/tile38/issues/84","id":189996006,"number":84,"title":"bogus hook endpoint causes server to hang on roaming geofence","user":{"login":"tomquas","id":564311,"avatar_url":"https://avatars.githubusercontent.com/u/564311?v=3","gravatar_id":"","url":"https://api.github.com/users/tomquas","html_url":"https://github.com/tomquas","followers_url":"https://api.github.com/users/tomquas/followers","following_url":"https://api.github.com/users/tomquas/following{/other_user}","gists_url":"https://api.github.com/users/tomquas/gists{/gist_id}","starred_url":"https://api.github.com/users/tomquas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomquas/subscriptions","organizations_url":"https://api.github.com/users/tomquas/orgs","repos_url":"https://api.github.com/users/tomquas/repos","events_url":"https://api.github.com/users/tomquas/events{/privacy}","received_events_url":"https://api.github.com/users/tomquas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-17T09:54:49Z","updated_at":"2016-11-17T10:06:35Z","closed_at":null,"body":"hi, i think i came across an issue which causes the server to hang for good.\r\n\r\nTile38 version 1.5.2, git a38228c on Ubuntu 14.04.5 LTS, Trusty Tahr\r\n\r\ni tried to replay the roaming geofences example from http://tile38.com/topics/roaming-geofences/, and this is what happened, from the logs of tile38-cli:\r\n\r\n127.0.0.1:9851> sethook myhook https://127.0.0.1/hook nearby people fence roam people * 5000\r\n{\"ok\":true,\"elapsed\":\"61.198µs\"}\r\n127.0.0.1:9851> hooks *\r\n{\"ok\":true,\"hooks\":[{\"name\":\"myhook\",\"key\":\"people\",\"endpoints\":[\"https://127.0.0.1/hook\"],\"command\":[\"nearby\",\"people\",\"fence\",\"roam\",\"people\",\"*\",\"5000\"]},{\"name\":\"sp\",\"key\":\"fleet\",\"endpoints\":[\"https://127.0.0.1/api/sp/callback\"],\"command\":[\"NEARBY\",\"fleet\",\"FENCE\",\"detect\",\"inside\",\"POINT\",\"33.5123\",\"-112.2693\",\"5000\"]}],\"elapsed\":\"45.109µs\"}\r\n127.0.0.1:9851> SET people bob POINT 33.01 -115.01\r\n<<<CLI hangs>>>\r\n^C\r\ntrustyvm> tile38-cli\r\n127.0.0.1:9851> delhook myhook\r\n<<<CLI hangs>>>\r\n^C\r\n\r\ni had to restart the server before the cli became responsive again.\r\n\r\nnote: i tried another https endpoint with valid ssl certificate, but same result.\r\n"},"comment":{"url":"https://api.github.com/repos/tidwall/tile38/issues/comments/261205923","html_url":"https://github.com/tidwall/tile38/issues/84#issuecomment-261205923","issue_url":"https://api.github.com/repos/tidwall/tile38/issues/84","id":261205923,"user":{"login":"tomquas","id":564311,"avatar_url":"https://avatars.githubusercontent.com/u/564311?v=3","gravatar_id":"","url":"https://api.github.com/users/tomquas","html_url":"https://github.com/tomquas","followers_url":"https://api.github.com/users/tomquas/followers","following_url":"https://api.github.com/users/tomquas/following{/other_user}","gists_url":"https://api.github.com/users/tomquas/gists{/gist_id}","starred_url":"https://api.github.com/users/tomquas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomquas/subscriptions","organizations_url":"https://api.github.com/users/tomquas/orgs","repos_url":"https://api.github.com/users/tomquas/repos","events_url":"https://api.github.com/users/tomquas/events{/privacy}","received_events_url":"https://api.github.com/users/tomquas/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T10:06:35Z","updated_at":"2016-11-17T10:06:35Z","body":"just checked with freshly release 1.5.3, same issue"}}
{"actor":{"display_login":"tomquas"}}