{"action":"created","issue":{"url":"https://api.github.com/repos/tananaev/traccar/issues/2693","repository_url":"https://api.github.com/repos/tananaev/traccar","labels_url":"https://api.github.com/repos/tananaev/traccar/issues/2693/labels{/name}","comments_url":"https://api.github.com/repos/tananaev/traccar/issues/2693/comments","events_url":"https://api.github.com/repos/tananaev/traccar/issues/2693/events","html_url":"https://github.com/tananaev/traccar/issues/2693","id":195986409,"number":2693,"title":"Websockets","user":{"login":"d33pak-s1ngh","id":23626544,"avatar_url":"https://avatars.githubusercontent.com/u/23626544?v=3","gravatar_id":"","url":"https://api.github.com/users/d33pak-s1ngh","html_url":"https://github.com/d33pak-s1ngh","followers_url":"https://api.github.com/users/d33pak-s1ngh/followers","following_url":"https://api.github.com/users/d33pak-s1ngh/following{/other_user}","gists_url":"https://api.github.com/users/d33pak-s1ngh/gists{/gist_id}","starred_url":"https://api.github.com/users/d33pak-s1ngh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d33pak-s1ngh/subscriptions","organizations_url":"https://api.github.com/users/d33pak-s1ngh/orgs","repos_url":"https://api.github.com/users/d33pak-s1ngh/repos","events_url":"https://api.github.com/users/d33pak-s1ngh/events{/privacy}","received_events_url":"https://api.github.com/users/d33pak-s1ngh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-16T05:54:30Z","updated_at":"2016-12-16T08:09:33Z","closed_at":null,"body":"@tananaev sorry for any kind of inconvenience i am closing the existing ticket and starting a new one specially for websocket access from diffrent web interface.\r\nAs you are aware of the my situation that  i want to consume websocket from traccar server which is hosted on my server 104.131.22.103:8082 on same server i have hosted another web interface from which i want to consume websocket which is working fine if i logged in into traccar web app.\r\nBut as soon as i got logged out from traccar app websocket connection fails. \r\ni dont have any domain name yet so i am not using https.\r\nis there any other way to authenticate webscoket?\r\n\r\nsuggest me any solution  for this because it's very important to me to use websockets because right now i am using ajax call every second to check for position updates which is not efficient for me.\r\nthak you.\r\n"},"comment":{"url":"https://api.github.com/repos/tananaev/traccar/issues/comments/267539801","html_url":"https://github.com/tananaev/traccar/issues/2693#issuecomment-267539801","issue_url":"https://api.github.com/repos/tananaev/traccar/issues/2693","id":267539801,"user":{"login":"d33pak-s1ngh","id":23626544,"avatar_url":"https://avatars.githubusercontent.com/u/23626544?v=3","gravatar_id":"","url":"https://api.github.com/users/d33pak-s1ngh","html_url":"https://github.com/d33pak-s1ngh","followers_url":"https://api.github.com/users/d33pak-s1ngh/followers","following_url":"https://api.github.com/users/d33pak-s1ngh/following{/other_user}","gists_url":"https://api.github.com/users/d33pak-s1ngh/gists{/gist_id}","starred_url":"https://api.github.com/users/d33pak-s1ngh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d33pak-s1ngh/subscriptions","organizations_url":"https://api.github.com/users/d33pak-s1ngh/orgs","repos_url":"https://api.github.com/users/d33pak-s1ngh/repos","events_url":"https://api.github.com/users/d33pak-s1ngh/events{/privacy}","received_events_url":"https://api.github.com/users/d33pak-s1ngh/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T08:09:33Z","updated_at":"2016-12-16T08:09:33Z","body":"@tananaev  thank u so much it is working man. i dont know what was wrong with my ajax call but with your code it is working fine thanx again for support."}}
{"actor":{"display_login":"d33pak-s1ngh"}}