{"action":"created","issue":{"url":"https://api.github.com/repos/pusher/pusher-websocket-java/issues/121","repository_url":"https://api.github.com/repos/pusher/pusher-websocket-java","labels_url":"https://api.github.com/repos/pusher/pusher-websocket-java/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/pusher/pusher-websocket-java/issues/121/comments","events_url":"https://api.github.com/repos/pusher/pusher-websocket-java/issues/121/events","html_url":"https://github.com/pusher/pusher-websocket-java/issues/121","id":180325411,"number":121,"title":"Not able to subscribe channel.","user":{"login":"YasirAmeen","id":9055099,"avatar_url":"https://avatars0.githubusercontent.com/u/9055099?v=4","gravatar_id":"","url":"https://api.github.com/users/YasirAmeen","html_url":"https://github.com/YasirAmeen","followers_url":"https://api.github.com/users/YasirAmeen/followers","following_url":"https://api.github.com/users/YasirAmeen/following{/other_user}","gists_url":"https://api.github.com/users/YasirAmeen/gists{/gist_id}","starred_url":"https://api.github.com/users/YasirAmeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YasirAmeen/subscriptions","organizations_url":"https://api.github.com/users/YasirAmeen/orgs","repos_url":"https://api.github.com/users/YasirAmeen/repos","events_url":"https://api.github.com/users/YasirAmeen/events{/privacy}","received_events_url":"https://api.github.com/users/YasirAmeen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-30T14:59:03Z","updated_at":"2018-05-23T16:19:33Z","closed_at":"2018-05-23T16:19:33Z","author_association":"NONE","body":"I am able to send post request and messages are showing in dashboard but i am not able to receive it. This is my code and following snippet always return not susbcribed, channel and event name are same on dashboard.\n\n`  Pusher pusher = new Pusher(\"myAppID\");\n        Channel channel = pusher.subscribe(\"test_channel\");\n\n```\n    if(channel.isSubscribed()) {\n\n        Toast.makeText(GroupChatActivity.this, \"Subscribed\", Toast.LENGTH_SHORT).show();\n    } else {\n\n        Toast.makeText(GroupChatActivity.this, \"Not Subscribed\", Toast.LENGTH_SHORT).show();\n    }\n\n    channel.bind(\"my_event\", new SubscriptionEventListener() {\n        @Override\n        public void onEvent(String channelName, String eventName, final String data) {\n\n            Log.d(\"pusher\",data);\n        }\n    });\n\n    pusher.connect();`\n```\n"},"comment":{"url":"https://api.github.com/repos/pusher/pusher-websocket-java/issues/comments/391408566","html_url":"https://github.com/pusher/pusher-websocket-java/issues/121#issuecomment-391408566","issue_url":"https://api.github.com/repos/pusher/pusher-websocket-java/issues/121","id":391408566,"user":{"login":"kn100","id":6201296,"avatar_url":"https://avatars2.githubusercontent.com/u/6201296?v=4","gravatar_id":"","url":"https://api.github.com/users/kn100","html_url":"https://github.com/kn100","followers_url":"https://api.github.com/users/kn100/followers","following_url":"https://api.github.com/users/kn100/following{/other_user}","gists_url":"https://api.github.com/users/kn100/gists{/gist_id}","starred_url":"https://api.github.com/users/kn100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kn100/subscriptions","organizations_url":"https://api.github.com/users/kn100/orgs","repos_url":"https://api.github.com/users/kn100/repos","events_url":"https://api.github.com/users/kn100/events{/privacy}","received_events_url":"https://api.github.com/users/kn100/received_events","type":"User","site_admin":false},"created_at":"2018-05-23T16:19:33Z","updated_at":"2018-05-23T16:19:33Z","author_association":"NONE","body":"Closing due to age"}}
{"actor":{"display_login":"kn100"}}