Replies: 2 comments
-
@tipmisle I have converted your issue to a discussion since it is not an issue related to the project. |
Beta Was this translation helpful? Give feedback.
0 replies
-
where i can found socket id ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
first of all, thank you for such a great module. I've been able to implement it in my existing Laravel project so effortlessly that I can't even believe it. Hats off! :)
Locally I have no issues with the module and it works really great. I've followed all the steps in your documentation.
Unfortunately, I am experiencing some issues when I tried to deploy the module to my production site which is hosted on Platform.sh.
I'm sure this is not a problem with your work, because I found somebody running into the exact same problem with their implementation, but I was wondering if you could help me out, nonetheless.
The exact error I'm getting is
TypeError: Pusher\Pusher::socket_auth(): Argument #1 ($channel) must be of type string, null given, called in /app/vendor/munafio/chatify/src/ChatifyMessenger.php on line 91 in file /app/vendor/pusher/pusher-php-server/src/Pusher.php on line 818
Full trace:
I have found that I'm getting the same error when Pusher tries to authenticate both
private-chatify
andpresence-activeStatus
and even though payload of these two auth requests containsocket_id
andchannel_name
parameters, they are missing when looking at the$request
variable onsrc/Http/Controllers/MessagesController.php
on line 43 and 44.I have checked my Pusher env credentials, and chatify configuration directly on the production server using tinker and all seems correct.
I was just wondering if you had experienced anything like this or if you have any idea of what else could I try I would be really grateful.
Thanks again for everything and I'm looking forward to your help :)
Beta Was this translation helpful? Give feedback.
All reactions