markosole / laravel-chat

Larave chat app based on Chatify, Jetstream and locally hosted Pusher service
1 stars 1 forks source link

Limited Functionality of Chatify Without Pusher Keys #1

Open viking240285 opened 9 months ago

viking240285 commented 9 months ago

Hello Marko, I hope this message finds you well.

I've been delving into the workings of Chatify without using Pusher (I'm hitting the limit connection). I must say, I'm highly intrigued by your project setup. I've managed to get it up and running, but I'm still struggling to grasp why the functionality seems incomplete without specifying Pusher keys. It keeps indicating a lack of internet connection and refuses to send messages, even though I can see them and they are being saved in the database. Perhaps I'm missing something crucial here. I would greatly appreciate your insights and clarification on this matter.

Best regards, Evgenii Zhykov.

markosole commented 9 months ago

Hi @viking240285 thanks for throwing a question, at least it's gaining some interest :). There could be multiple reasons why it shows as "offline". Can you send across your browser console log please. It's related to sockets and very possible if you are running it locally that you haven't specified the path.

Pusher is just NodeJS based socket server that needs to run i paralel. Pusher plugin requires configuration for it. I guess you have NodeJS installed, Laravel will will run "broadcast" server with it under the hood.

I'll be able to tell you more when I see console output.

viking240285 commented 9 months ago

Hi Marko,

I hope you're doing well. I wanted to express my gratitude for your response.

To be honest, I'm not quite satisfied with how the WebSocket is functioning. Previously, I could easily be included in the statistics, but now it's failing to connect to the channel. It seems like I might be overlooking something. I've attached some screenshots for your reference.

If it's not too much trouble for you, could you please take a look and advise on what needs to be fixed and where I should be focusing my attention?

Thank you for your time and assistance.

image image image image image image image image image

Best regards, Evgenii

viking240285 commented 8 months ago

Hello Marko, Are you here? I still need your help.

Best regards, Evgenii

viking240285 commented 8 months ago

I just found what my problem is. Screenshot at Feb 22 18-29-52

I don't know why there was such a code when I received it. Maybe this is in older versions of Chatify. Maybe someone deleted it. Well, I figured out what was what and eliminated the small jambs. Everything is working now. Thanks!!!

markosole commented 8 months ago

Hi Evgenii, bit late reply and just catching up. I am glad you've sort it out. I did not have time to look at it properly. Look you have newer or different version of Chattify plugin then the one in this repo. I hoe that everything worked out as you've expected. I a super strached at the moment but let me know if you make any progress or new findings. Cheers!