Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/loops/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs Pusher js获取错误网络::错误被客户端阻止_Reactjs_Pusher Js - Fatal编程技术网

Reactjs Pusher js获取错误网络::错误被客户端阻止

Reactjs Pusher js获取错误网络::错误被客户端阻止,reactjs,pusher-js,Reactjs,Pusher Js,我正在尝试连接到react应用程序中的pusher,我不断收到错误net::ERR\u被客户端阻止。我已经查找了错误及其通常与附加组件相关的内容,但我尝试删除所有google chrome附加组件,但仍然无法正常工作 我像这样连接到pusher: const pusher = new Pusher(PUSHER_APP_KEY, { appId: PUSHER_APP_ID, cluster: PUSHER_APP_CLUSTER, secret: PUSHER_APP_SECRET

我正在尝试连接到react应用程序中的pusher,我不断收到错误net::ERR\u被客户端阻止。我已经查找了错误及其通常与附加组件相关的内容,但我尝试删除所有google chrome附加组件,但仍然无法正常工作

我像这样连接到pusher:

const pusher = new Pusher(PUSHER_APP_KEY, {
  appId: PUSHER_APP_ID,
  cluster: PUSHER_APP_CLUSTER,
  secret: PUSHER_APP_SECRET,
  forceTLS: true
});

我已经在Mozilla和Chrome上进行了测试,但是Mozilla浏览器上没有错误

对我来说,uBlock是个问题,但它也可能是内置的Chrome tracker阻塞,你检查过你的Chrome隐私设置吗?