munafio / chatify

Laravel's #1 one-to-one chatting system package, helps you add a complete real-time chatting system to your new/existing Laravel application with only one command.

Home Page:https://chatify.munafio.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Unable to retrieve auth string from channel-authorization endpoint - received status: 500

lopatin96 opened this issue · comments

Hi,

To begin with I would like to say that the Chatify is cool and I really love it.

Chytify works well out of the box but I encountered a problem, after I created the Custom Chatify Class (https://chatify.munafio.com/customizations), I see the following error in the console:

Screenshot 2023-10-10 at 23 43 20

Please help me to resolve this issue.
Thanks.

When I click on the link (from the error console):
http://127.0.0.1:8000/messenger/getContacts?_token=jLQAErGMMjWj0b6lESl9oKFec4azp3aVlBl7wDgf&page=1

I see this error:
Screenshot 2023-10-10 at 23 53 08

So it seems like my Custom Chatify Class cannot call statically?

I have solved the problem with Real-Time Facades

So, in my case, the CusstomChatify class that I called Messenger and created in app\Http folder "import" in MessagesController as seen below:

use Facades\App\Http\Messenger as Chatify;