dazzz1er / confer

Easy real-time chat for laravel 5 based websites and applications
133 stars 47 forks source link

401 error when opening this chat window. #27

Open sadh opened 8 years ago

sadh commented 8 years ago

Hi,

I am getting "NetworkError: 401 Unauthorized - http://localhost:8000/confer/conversation/1" when trying to open the chat box. And Auth:user() is null. Any ideas why the ConversationController is not authenticating? I am using Laravel 5.2 .

huyle2607 commented 8 years ago

I think this original package is unstable for Laravel 5.1 and 5.2. You can check Hall Michael fork for the update of Confer package for laravel 5.1. I think that my project ,which is on Laravel 5.1, worked your laravel 5.2 can too :). His fork is here: https://github.com/hallandcodigital/confer

sadh commented 8 years ago

Thanks for the tip. But I am still getting the same error.

robertfpz commented 7 years ago

what error ? can you post it... i was able to make it work on 5.2

robertfpz commented 7 years ago

@sadh you have to include the routes in web middleware...