Pusher\Exception\HttpException Bad request

萝らか妹 提交于 2019-12-11 15:09:15

问题


laravel- 5.6 Php - 7.2 pusher - 3.0

when try to connect with pusher:


回答1:


You should provide more details to your question so others have a better picture of what might cause the problem.

But I ran into the exact same problem recently and might be able to help. In my instance, this problem is caused by composer pulling in pusher dev-lib instead of published version when I run composer require pusher/pusher-php-server "~3.0". It happens because I don't have php-curl installed in my setup. After installing it, I remove the current dev-lib, rerun composer require pusher/pusher-php-server "~3.0" and it works like a charm.



来源:https://stackoverflow.com/questions/49003306/pusher-exception-httpexception-bad-request

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!