I have enabled events in pusher and pusher is working with another app, live chat not updating
nomadtechiemike opened this issue · comments
This is the error I get in console view
Pusher : : ["State changed","initialized -> connecting"] logger.ts:19:21
Pusher : : ["Connecting",{"transport":"ws","url":"wss://ws-ap4.pusher.com:443/app/d0d61132b59f951f7b11?protocol=7&client=js&version=7.2.0&flash=false"}] logger.ts:19:21
Pusher : : ["State changed","connecting -> connected with new socket ID 9248.3770520"] logger.ts:19:21
Pusher : : ["Error: JSON returned from channel-authorization endpoint was invalid, yet status code was 200. Data was: {\"auth\":\"d0d61132b59f951f7b11:f678c92c505e44c10d155eafc382d7788907403d871437e1aeb969fd4ecde5ad\",\"channel_data\":\"{\\\"user_id\\\":2,\\\"user_info\\\":{\\\"name\\\":\\\"Admin\\\"}}\"}<link rel='stylesheet' type='text/css' property='stylesheet' href='//chatifydashapp.test/_debugbar/assets/stylesheets?v=1676989262&theme=auto' data-turbolinks-eval='false' data-turbo-eval='false'><script src='//chatifydashapp.test/_debugbar/assets/javascript?v=1676989262' data-turbolinks-eval='false' data-turbo-eval='false'></script><script data-turbo-eval=\"false\">jQuery.noConflict(true);</script>\n<script> Sfdump = window.Sfdump || (function (doc) { doc.documentElement.classList.add('sf-js-enabled'); var rxEsc = /([.*+?^${}()|\\[\\]\\/\\\\])/g, idRx = /\\bsf-dump-\\d+-ref[012]\\w+\\b/, keyHint = 0 <= navigator.platform.toUpperCase().indexOf('MAC') ? 'Cmd' : 'Ctrl', addEventListener…
logger.ts:33:21
Pusher : : ["No callbacks on presence-activeStatus for pusher:subscription_error"] logger.ts:19:21
Pusher : : ["Error: JSON returned from channel-authorization endpoint was invalid, yet status code was 200. Data was: {\"auth\":\"d0d61132b59f951f7b11:178bc876fe821eb56e0d310e1b61483007c3359180f7e2f3a458f5679171916b\",\"channel_data\":\"{\\\"user_id\\\":2,\\\"user_info\\\":{\\\"name\\\":\\\"Admin\\\"}}\"}<link rel='stylesheet' type='text/css' property='stylesheet' href='//chatifydashapp.test/_debugbar/assets/stylesheets?v=1676989262&theme=auto' data-turbolinks-eval='false' data-turbo-eval='false'><script src='//chatifydashapp.test/_debugbar/assets/javascript?v=1676989262' data-turbolinks-eval='false' data-turbo-eval='false'></script><script data-turbo-eval=\"false\">jQuery.noConflict(true);</script>\n<script> Sfdump = window.Sfdump || (function (doc) { doc.documentElement.classList.add('sf-js-enabled'); var rxEsc = /([.*+?^${}()|\\[\\]\\/\\\\])/g, idRx = /\\bsf-dump-\\d+-ref[012]\\w+\\b/, keyHint = 0 <= navigator.platform.toUpperCase().indexOf('MAC') ? 'Cmd' : 'Ctrl', addEventListener…
logger.ts:33:21
Pusher : : ["No callbacks on private-chatify.2 for pusher:subscription_error"] logger.ts:19:21
Pusher : : ["Error: JSON returned from channel-authorization endpoint was invalid, yet status code was 200. Data was: {\"auth\":\"d0d61132b59f951f7b11:178bc876fe821eb56e0d310e1b61483007c3359180f7e2f3a458f5679171916b\",\"channel_data\":\"{\\\"user_id\\\":2,\\\"user_info\\\":{\\\"name\\\":\\\"Admin\\\"}}\"}<link rel='stylesheet' type='text/css' property='stylesheet' href='//chatifydashapp.test/_debugbar/assets/stylesheets?v=1676989262&theme=auto' data-turbolinks-eval='false' data-turbo-eval='false'><script src='//chatifydashapp.test/_debugbar/assets/javascript?v=1676989262' data-turbolinks-eval='false' data-turbo-eval='false'></script><script data-turbo-eval=\"false\">jQuery.noConflict(true);</script>\n<script> Sfdump = window.Sfdump || (function (doc) { doc.documentElement.classList.add('sf-js-enabled'); var rxEsc = /([.*+?^${}()|\\[\\]\\/\\\\])/g, idRx = /\\bsf-dump-\\d+-ref[012]\\w+\\b/, keyHint = 0 <= navigator.platform.toUpperCase().indexOf('MAC') ? 'Cmd' : 'Ctrl', addEventListener…
logger.ts:33:21
Pusher : : ["No callbacks on private-chatify.2 for pusher:subscription_error"] logger.ts:19:21
Pusher : : ["Error: JSON returned from channel-authorization endpoint was invalid, yet status code was 200. Data was: {\"auth\":\"d0d61132b59f951f7b11:acd7a10303fceff67ec3bf731e71d18cd4ae0432f67ac889ef6b71021b66400d\",\"channel_data\":\"{\\\"user_id\\\":2,\\\"user_info\\\":{\\\"name\\\":\\\"Admin\\\"}}\"}<link rel='stylesheet' type='text/css' property='stylesheet' href='//chatifydashapp.test/_debugbar/assets/stylesheets?v=1676989262&theme=auto' data-turbolinks-eval='false' data-turbo-eval='false'><script src='//chatifydashapp.test/_debugbar/assets/javascript?v=1676989262' data-turbolinks-eval='false' data-turbo-eval='false'></script><script data-turbo-eval=\"false\">jQuery.noConflict(true);</script>\n<script> Sfdump = window.Sfdump || (function (doc) { doc.documentElement.classList.add('sf-js-enabled'); var rxEsc = /([.*+?^${}()|\\[\\]\\/\\\\])/g, idRx = /\\bsf-dump-\\d+-ref[012]\\w+\\b/, keyHint = 0 <= navigator.platform.toUpperCase().indexOf('MAC') ? 'Cmd' : 'Ctrl', addEventListener…
logger.ts:33:21
Pusher : : ["No callbacks on private-chatify.1 for pusher:subscription_error"] logger.ts:19:21
Loading mixed (insecure) display content “http://chatifydashapp.test/storage/attachments/71335d47-965d-4d63-a37e-93545c058ec2.jpg” on a secure page 1
Pusher : : ["Client event triggered before channel 'subscription_succeeded' event . See: https://pusher.com/docs/client_api_guide/client_events#trigger-events"] logger.ts:25:21
Pusher : : ["Event sent",{"event":"client-seen","data":{"from_id":"2","to_id":"1","seen":true},"channel":"private-chatify.1"}] logger.ts:19:21
Pusher : : ["Event recd",{"event":"pusher:error","data":{"code":null,"message":"Cannot broadcast client event (connection not subscribed to channel private-chatify.1)"}}] logger.ts:19:21
Pusher : : [{"type":"PusherError","data":{"code":null,"message":"Cannot broadcast client event (connection not subscribed to channel private-chatify.1)"}}] logger.ts:25:21
Pusher : : ["Event sent",{"event":"pusher:ping","data":{}}] logger.ts:19:21
Pusher : : ["Event recd",{"event":"pusher:pong","data":{}}] logger.ts:19:21
If I click on users avatar I can see the message I have checked my pushed settings and enabled events? any idea why it not working
Debugbar enabled was the problem