企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
### **打开客服提示链接失败,可以从以下几方面排查、检查入手:** >[info] v4.3.0 之后版本 **1.检查服务代理知否配置。** ![](https://img.kancloud.cn/2c/f5/2cf531ebe41bc853b75beff0fd5b499d_1570x1454.png) ``` location /notice { proxy_pass http://127.0.0.1:20002/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header X-real-ip $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; } #提示:v4.3.0 以后开源版本取消了内置客服,可不用配置一下代码 location /msg { proxy_pass http://127.0.0.1:20003/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header X-real-ip $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; } ``` **2.检查是否本服务器已经安装过一套程序。** 如果安装多套需要修改端口,详情[修改端口](https://www.kancloud.cn/crmeb/crmeb-v4/2391199) 最后重启workerman ~~~ php think workerman restart --d ~~~ >[info] v4.3.0 之前版本 **1.检查服务端口是否放行。** 系统默认客服端口为:【20002】、【20003】、【20012】三个端口,请在您的服务器安全组和宝塔面板放行上述端口。(如修改过端口,请放行您修改后的端口) 服务器放行端口教程:[1.配置服务器](%E9%85%8D%E7%BD%AE%E6%9C%8D%E5%8A%A1%E5%99%A8.md) 宝塔放行端口:进入宝塔面板-安全,放行端口。 ![](https://img.kancloud.cn/a2/9c/a29c369ae4c2b291686d352e37920de0_1500x346.png) **2.http域名还是https域名** 如使用小程序或使用https域名,请以后都使用https登录,宝塔里开启强制https。 同时后台需配置wss,具体位置请查看:设置-系统设置-wss配置。选择开启wss,然后上传SSL证书。 ![](https://img.kancloud.cn/66/16/66160d3696fe4a9393905cd3ca7d6df1_1234x972.png) **3.开启长连接** 再次声明,请确保一下删除以下禁用函数: `pcntl_signal` `pcntl_signal_dispatch` `pcntl_fork` `pcntl_wait` `pcntl_alarm` 开启长连接教程:[1.定时任务、长连接](%E5%AE%9A%E6%97%B6%E4%BB%BB%E5%8A%A1.md) 如已经开启,可重启长连接。