swoole / swoole-src

🚀 Coroutine-based concurrency library for PHP
https://www.swoole.com
Apache License 2.0
18.25k stars 3.16k forks source link

Websocket connection failed. SSL related Issue? #5307

Open kwanweijeat opened 3 weeks ago

kwanweijeat commented 3 weeks ago

Please answer these questions before submitting your issue.

  1. What did you do? If possible, provide a simple script for reproducing the error. A customer service chatbox app with thinkphp framework that deployed on aapanel. Free SSL from Cloudflare (doesn't work) Free SSL from Aapanel( Let's Encrypt) doesn't work

  2. What did you expect to see? The server and websocket is connected

  3. What did you see instead? websocket connection failed. socket connect error. server connection failed.

  4. What version of Swoole are you using (show your php --ri swoole)? Php 8.0, swoole4 and swoole5

  5. What is your machine environment used (show your uname -a & php -v & gcc -v) ? Centos

NathanFreeman commented 3 weeks ago

Please provide a simple script for reproducing the error.