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.
https://chatify.munafio.com
MIT License
2.23k stars 475 forks source link

Facing issue with sending message in real time. have to reload chat to send message. please help me fix this on urgent basis. #369

Open Nishant2101 opened 2 weeks ago

Nishant2101 commented 2 weeks ago

This is my response in network section

"message": "cURL error 6: Could not resolve host: ap2 (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://ap2/apps/1845816/events?auth_key=e8deafa47c8253372450&auth_timestamp=1727434327&auth_version=1.0&body_md5=f340223aa287b8f8782d29e34bf17646&auth_signature=041d85c3c7ebeafa19f404dc89ff3ea372d827a46bb3570a5be95a2a0ef3ef5e", "exception": "Pusher\ApiErrorException",

this is the console message POST chatify/sendMessage 500 (Internal Server Error) Failed sending the message! Please, check your server response.

TiagoMurtinho commented 1 week ago

did you solve it ?

Nishant2101 commented 1 week ago

No, still getting the error. can you help?

ReganLyden commented 1 week ago

That is not a valid url, you have not TLD (top-level domain) on your URL.

https://ap2/...

Should be something like:

https://ap2.com or https://ap2.co.uk

Your search should start around this.

Edit:

It seems pusher URL should be along these lines: https://api-ap2.pusher.com or similar.